VR-Exchange 2.4 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
widgets
brokerApp.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2015 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#include <
widgets/dllExport.h
>
13
#include <
widgets/brokerDialog.h
>
14
15
class
QApplication;
16
17
namespace
MAKVrExchange
18
{
19
20
class
DtBrokerThread;
21
class
DtGenericUserInterface;
22
25
class
DT_DLL_WIDGETS
DtBrokerApp
26
{
27
public
:
28
31
typedef
DtBroker
* (*DtBrokerCreator)(
DtBrokerInitializer
* );
32
33
public
:
34
37
static
void
setBrokerCreator( DtBrokerCreator func );
38
41
static
void
setBrokerDialogCreator(
DtBrokerDialogCreator
func );
42
44
static
void
setBrokerIcon(
DtString
icon );
45
49
DtBrokerApp
(
DtBrokerInitializer
* init );
50
52
virtual
~
DtBrokerApp
();
53
55
virtual
DtBroker
* broker();
56
61
virtual
int
showInfoDialog();
62
70
virtual
int
run();
71
72
private
:
73
75
DtBrokerApp
(
const
DtBrokerApp
& other );
76
78
DtBrokerApp
& operator = (
const
DtBrokerApp
& other );
79
80
protected
:
81
83
static
DtBrokerCreator
theBrokerCreator
;
84
static
DtBrokerDialogCreator
theBrokerDialogCreator
;
85
static
QString
theBrokerIcon
;
86
88
DtGenericUserInterface
*
myUi
;
89
91
DtBroker
*
myBroker
;
92
94
QApplication*
myQApp
;
95
97
DtBrokerThread
*
myBrokerThread
;
98
99
};
100
101
}
Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)