VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvOsgEarthQt
DtOsgEarthStartupDialogInterface.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtOsgEarthStartupDialogInterface.h,v $ $Revision: 1.2 $ $State: Exp $
7
******************************************************************************/
8
11
12
#pragma once
13
14
#include <
vrvUtil/signalslib.h
>
15
#include <
vrvOsgEarthQt/vrvOsgEarthQt.h
>
16
17
namespace
makVrv
18
{
23
class
DT_DLL_VRVOSGEARTHQT
DtOsgEarthStartupDialogInterface
24
{
25
public
:
26
enum
ServerStatus
27
{
28
Available = 0,
29
Requesting
,
30
Unavailable
31
};
32
33
enum
StartupPreference
34
{
35
LoadEarthFile = 0,
36
LoadLocalTerrain
,
37
LoadNoTerrain
38
};
39
40
public
:
42
virtual
~
DtOsgEarthStartupDialogInterface
();
43
45
virtual
void
setServerAvailability(
const
std::string&, ServerStatus,
const
std::string& reason) = 0;
46
48
virtual
void
setCurrentServer(
const
std::string&) = 0;
49
51
virtual
void
addServer(
const
std::string& desc) = 0;
52
54
virtual
void
addTerrain(
const
std::string& desc) = 0;
55
57
virtual
void
setStartupPreference(StartupPreference) = 0;
58
60
virtual
void
setNeverShowAgain(
bool
neverShow) = 0;
61
63
virtual
void
showDialog() = 0;
64
66
virtual
void
clear() = 0;
67
68
boost::signal<void (const std::string&)>
signal_requestServerAvailability
;
69
boost::signal<void (bool)>
signal_neverShowAgain
;
70
boost::signal<void (const std::string&)>
signal_connectToServer
;
71
boost::signal<void (const std::string&)>
signal_loadTerrain
;
72
};
73
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)