VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
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
>
11
#include <
vrvUtil/DtVirtualBaseClass.h
>
12
13
#include <string>
14
15
namespace
makVrv
16
{
17
class
DtDe;
18
21
class
DT_DLL_VRVCORE
DtDeMainWindow
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
64
DtDe
&
myDe
;
65
66
protected
:
67
static
bool
theStartUpMaximizedFlag
;
68
69
};
70
73
class
DT_DLL_VRVCORE
DtDeMainWindowProvider
:
public
DtVirtualBaseClass
74
{
75
76
public
:
77
79
DtDeMainWindowProvider
(
DtDe
& de);
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
102
DtDe
&
myDe
;
103
DtDeMainWindow
*
myMainWindow
;
104
bool
myDestroyMainWindowFlag
;
105
106
};
107
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)