VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtDeMainWindow.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtDeMainWindow.h,v $ $Revision: 1.15 $ $State: Exp $
7
******************************************************************************/
8
12
#pragma once
13
#include <
vrvCore/vrvCore.h
>
14
#include <
vrvUtil/DtVirtualBaseClass.h
>
15
16
#include <string>
17
18
namespace
makVrv
19
{
20
class
DtDe;
21
24
class
DT_DLL_VRVCORE
DtDeMainWindow
25
{
26
27
protected
:
28
30
DtDeMainWindow
(
DtDe
& de);
31
32
public
:
34
virtual
~
DtDeMainWindow
();
35
37
virtual
void
setApplicationTitle(
const
std::string& appName) = 0;
38
40
virtual
std::string applicationTitle()
const
= 0;
41
43
virtual
void
setApplicationIcon(
const
std::string& iconName) = 0;
44
47
virtual
void
setShowQuitDialogOnClose(
bool
) = 0;
48
50
virtual
bool
startUpMaximized()
const
;
51
53
virtual
void
destroyWindow() = 0;
54
56
virtual
void
quit() = 0;
57
58
inline
DtDe
& de()
59
{
60
return
myDe;
61
}
62
63
protected
:
64
65
DtDe
&
myDe
;
66
67
};
68
71
class
DT_DLL_VRVCORE
DtDeMainWindowProvider
:
public
DtVirtualBaseClass
72
{
73
74
public
:
75
77
DtDeMainWindowProvider
(
DtDe
& de);
78
80
virtual
~
DtDeMainWindowProvider
();
81
84
static
DtDeMainWindowProvider
& instance(
DtDe
& de);
85
87
static
void
registerInstance(
DtDe
& de,
DtDeMainWindowProvider
* instance);
88
91
DtDeMainWindow
& igMainWindow();
92
93
protected
:
94
96
virtual
DtDeMainWindow
* createMainWindow(
DtDe
& de) = 0;
97
98
protected
:
99
100
DtDe
&
myDe
;
101
DtDeMainWindow
*
myMainWindow
;
102
bool
myDestroyMainWindowFlag
;
103
104
};
105
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)