mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
24 lines
366 B
C++
24 lines
366 B
C++
#ifndef SETTINGS_H
|
|
#define SETTINGS_H
|
|
|
|
#include <string>
|
|
|
|
#include "rapidjson/document.h"
|
|
|
|
class Settings {
|
|
public:
|
|
rapidjson::Document settings;
|
|
|
|
void parse_file(const std::string &path);
|
|
|
|
static Settings *get_singleton();
|
|
|
|
Settings(const bool singleton = false);
|
|
virtual ~Settings();
|
|
|
|
protected:
|
|
static Settings *_singleton;
|
|
};
|
|
|
|
|
|
#endif |