VR-Exchange 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
brokerApp.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 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 
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 
50 
52  virtual ~DtBrokerApp();
53 
55  virtual DtBroker* broker();
56 
63  virtual int run( bool showInfoDialog = false );
64 
65  private:
66 
68  DtBrokerApp( const DtBrokerApp& other );
69 
71  DtBrokerApp& operator = ( const DtBrokerApp& other );
72 
73  protected:
74 
76  static DtBrokerCreator theBrokerCreator;
78  static QString theBrokerIcon;
79 
82 
85 
87  QApplication* myQApp;
88 
91 
92  };
93 
94 }

Document ID: Generated on Wed Jan 30 18:15:18 EST 2019 from SVN revision 195534
Copyright © 2005-2019 VT MÄK. All Rights Reserved (www.mak.com)