VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtDeMainWindow.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 #include <vrvCore/vrvCore.h>
12 
13 #include <string>
14 
15 namespace makVrv
16 {
17  class DtDe;
18 
22  {
23 
24  protected:
25 
27  DtDeMainWindow(DtDe& de);
28 
29  public:
31  virtual ~DtDeMainWindow();
32 
34  virtual void setApplicationTitle(const std::string& appName) = 0;
35 
37  virtual std::string applicationTitle() const = 0;
38 
40  virtual void setApplicationIcon(const std::string& iconName) = 0;
41 
44  virtual void setShowQuitDialogOnClose(bool) = 0;
45 
47  virtual void destroyWindow() = 0;
48 
50  virtual void quit() = 0;
51 
52  inline DtDe& de()
53  {
54  return myDe;
55  }
56 
57  public:
58 
60  static void setStartUpMaximized( bool maxed );
61 
62  protected:
63 
65 
66  protected:
68 
69  };
70 
74  {
75 
76  public:
77 
80 
82  virtual ~DtDeMainWindowProvider();
83 
86  static DtDeMainWindowProvider& instance(DtDe& de);
87 
89  static void registerInstance(DtDe& de, DtDeMainWindowProvider* instance);
90 
93  DtDeMainWindow& igMainWindow();
94 
95  protected:
96 
98  virtual DtDeMainWindow* createMainWindow(DtDe& de) = 0;
99 
100  protected:
101 
105 
106  };
107 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)