summaryrefslogtreecommitdiffstats
path: root/examples/activeqt/dotnet/wrapper/lib/networker.h
blob: 0c5babb32ecfea75b33c2b9d68b06e29aecc2738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (C) 2015 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

// lib.h

#pragma once

#using <mscorlib.dll>
using namespace System;

//! [0]
class Worker;

// .NET class
public __gc class netWorker
{
public:
    netWorker();
    ~netWorker();

    __property String *get_StatusString();
    __property void set_StatusString(String *string);

    __event void statusStringChanged(String *args);

private:
    Worker *workerObject;
};
//! [0]