Realistic 3D camera system
3D camera system components
configuration.h
Go to the documentation of this file.
1 /*
2  * Whatever the licensing for the 3D camera project stipulates
3  */
4 
13 #include <glibmm/ustring.h>
14 #include <glibmm/keyfile.h>
15 #include <vector>
16 
17 #ifndef CONFIGURATION_H
18 #define CONFIGURATION_H
19 
21 public:
22  configuration(Glib::ustring filename);
24  std::vector<Glib::ustring> get_client_ips();
25  int get_listen_port();
26 
27  static const char* HOST_GROUP_NAME;
28  static const char* LISTEN_PORT_KEY;
29  static const char* CLIENTS_IP_LIST_KEY;
30  static const char* CLIENTS_GROUP_NAME;
31 private:
32  int listenPort;
33  std::vector<Glib::ustring> client_ips;
34  Glib::KeyFile keyfile;
35  Glib::ustring filename;
36 };
37 
38 #endif /* CONFIGURATION_H */
39 
configuration(Glib::ustring filename)
static const char * HOST_GROUP_NAME
Definition: configuration.h:27
static const char * LISTEN_PORT_KEY
Definition: configuration.h:28
static const char * CLIENTS_IP_LIST_KEY
Definition: configuration.h:29
static const char * CLIENTS_GROUP_NAME
Definition: configuration.h:30
std::vector< Glib::ustring > get_client_ips()