PSMoveService
src
psmoveservice
Server
PSMoveService.h
1
#ifndef PSMOVE_SERVICE_H
2
#define PSMOVE_SERVICE_H
3
4
//-- includes -----
5
#include <string>
6
7
//-- definitions -----
8
class
PSMoveService
9
{
10
public
:
11
struct
ProgramSettings
12
{
13
std::string log_level;
14
std::string admin_password;
15
};
16
17
PSMoveService
();
18
virtual
~
PSMoveService
();
19
20
static
PSMoveService
*getInstance()
21
{
return
m_instance; }
22
const
ProgramSettings
*getProgramSettings()
const
23
{
return
&m_settings; }
24
25
int
exec(
int
argc,
char
** argv);
26
27
private
:
28
// Global program settings
29
ProgramSettings
m_settings;
30
31
// Singleton instance of the class
32
static
PSMoveService
*m_instance;
33
};
34
35
#endif // PSMOVE_SERVICE_H
PSMoveService
Definition:
PSMoveService.h:8
PSMoveService::ProgramSettings
Definition:
PSMoveService.h:11
Generated by
1.8.12