GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Environment.hpp
Go to the documentation of this file.
1 #ifndef RADIX_ENVIRONMENT_HPP
2 #define RADIX_ENVIRONMENT_HPP
3 
4 #include <string>
5 
6 #include <radix/env/Config.hpp>
7 
8 namespace radix {
9 
15 class Environment {
16 private:
17  static Config config;
18  static std::string dataDir;
19 
20 public:
21  static void init();
22  static Config& getConfig();
23  static void initializeConfig();
24  static std::string getDataDir();
25  static void setDataDir(const std::string &string);
26 };
27 
28 } /* namespace radix */
29 
30 #endif /* RADIX_ENVIRONMENT_HPP */
static Config config
Definition: Environment.hpp:17
Definition: GameController.hpp:7
static Config & getConfig()
Definition: Environment.cpp:38
Configuration class.
Definition: Config.hpp:19
Manager for config.
Definition: Environment.hpp:15
static std::string dataDir
Definition: Environment.hpp:18
static void initializeConfig()
Definition: Environment.cpp:42
static void init()
Definition: Environment.cpp:15
static void setDataDir(const std::string &string)
Definition: Environment.cpp:50
static std::string getDataDir()
Definition: Environment.cpp:46