Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
IVT
src
gui
GTK
GTKApplicationHandler.h
Go to the documentation of this file.
1
// ****************************************************************************
2
// Filename: GTKApplicationHandler.h
3
// Author: Florian Hecht
4
// Date: 2009
5
// ****************************************************************************
6
7
8
#ifndef _GTK_APPLICATION_HANDLER_H_
9
#define _GTK_APPLICATION_HANDLER_H_
10
11
12
// ****************************************************************************
13
// Necessary includes
14
// ****************************************************************************
15
16
#include "
Interfaces/ApplicationHandlerInterface.h
"
17
18
19
20
// ****************************************************************************
21
// CGTKApplicationHandler
22
// ****************************************************************************
23
24
class
CGTKApplicationHandler
:
public
CApplicationHandlerInterface
25
{
26
public
:
27
CGTKApplicationHandler
(
int
argc = 0,
char
**argv = 0);
28
~CGTKApplicationHandler
();
29
30
bool
ProcessEventsAndGetExit
();
31
void
Reset
();
32
33
void
SetExit
(
bool
exit) {
m_bExit
= exit; }
34
35
static
CGTKApplicationHandler
*
GetApplicationHandler
() {
return
m_pGTKApplicationHandler
; }
36
private
:
37
38
bool
m_bExit
;
39
static
CGTKApplicationHandler
*
m_pGTKApplicationHandler
;
40
};
41
42
43
44
#endif
/* _GTK_APPLICATION_HANDLER_H_ */
CGTKApplicationHandler
Definition:
GTKApplicationHandler.h:24
CGTKApplicationHandler::GetApplicationHandler
static CGTKApplicationHandler * GetApplicationHandler()
Definition:
GTKApplicationHandler.h:35
CGTKApplicationHandler::m_pGTKApplicationHandler
static CGTKApplicationHandler * m_pGTKApplicationHandler
Definition:
GTKApplicationHandler.h:39
CApplicationHandlerInterface
Definition:
ApplicationHandlerInterface.h:51
CGTKApplicationHandler::Reset
void Reset()
Definition:
GTKApplicationHandler.cpp:57
CGTKApplicationHandler::m_bExit
bool m_bExit
Definition:
GTKApplicationHandler.h:38
CGTKApplicationHandler::SetExit
void SetExit(bool exit)
Definition:
GTKApplicationHandler.h:33
CGTKApplicationHandler::~CGTKApplicationHandler
~CGTKApplicationHandler()
Definition:
GTKApplicationHandler.cpp:44
ApplicationHandlerInterface.h
CGTKApplicationHandler::ProcessEventsAndGetExit
bool ProcessEventsAndGetExit()
Definition:
GTKApplicationHandler.cpp:49
CGTKApplicationHandler::CGTKApplicationHandler
CGTKApplicationHandler(int argc=0, char **argv=0)
Definition:
GTKApplicationHandler.cpp:21
asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Mon Dec 2 2019 03:47:28