mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-02 18:25:30 +02:00
Setting code formatting standard to allman.
This commit is contained in:
@@ -10,35 +10,35 @@
|
||||
class Configuration
|
||||
{
|
||||
public:
|
||||
Configuration();
|
||||
virtual ~Configuration();
|
||||
static void Initialize();
|
||||
static void SetAbsolutePath(std::string absolutePath);
|
||||
static std::string GetAbsolutePath();
|
||||
static std::string ConvertToAbsolutePath(std::string prefix, std::string path);
|
||||
Configuration();
|
||||
virtual ~Configuration();
|
||||
static void Initialize();
|
||||
static void SetAbsolutePath(std::string absolutePath);
|
||||
static std::string GetAbsolutePath();
|
||||
static std::string ConvertToAbsolutePath(std::string prefix, std::string path);
|
||||
|
||||
// gets the global configuration
|
||||
bool Import(std::string keyPrefix, std::string file);
|
||||
// gets the global configuration
|
||||
bool Import(std::string keyPrefix, std::string file);
|
||||
|
||||
bool GetProperty(std::string key, std::string &value);
|
||||
bool GetProperty(std::string key, int &value);
|
||||
bool GetProperty(std::string key, bool &value);
|
||||
void GetChildKeyCrumbs(std::string parent, std::vector<std::string> &children);
|
||||
void SetProperty(std::string key, std::string value);
|
||||
bool PropertyExists(std::string key);
|
||||
bool PropertyPrefixExists(std::string key);
|
||||
bool GetPropertyAbsolutePath(std::string key, std::string &value);
|
||||
bool IsVerbose() const;
|
||||
void SetVerbose(bool verbose);
|
||||
bool IsRequiredPropertiesSet();
|
||||
bool GetProperty(std::string key, std::string &value);
|
||||
bool GetProperty(std::string key, int &value);
|
||||
bool GetProperty(std::string key, bool &value);
|
||||
void GetChildKeyCrumbs(std::string parent, std::vector<std::string> &children);
|
||||
void SetProperty(std::string key, std::string value);
|
||||
bool PropertyExists(std::string key);
|
||||
bool PropertyPrefixExists(std::string key);
|
||||
bool GetPropertyAbsolutePath(std::string key, std::string &value);
|
||||
bool IsVerbose() const;
|
||||
void SetVerbose(bool verbose);
|
||||
bool IsRequiredPropertiesSet();
|
||||
|
||||
private:
|
||||
bool ParseLine(std::string keyPrefix, std::string line, int lineCount);
|
||||
std::string TrimEnds(std::string str);
|
||||
typedef std::map<std::string, std::string> PropertiesType;
|
||||
typedef std::pair<std::string, std::string> PropertiesPair;
|
||||
bool Verbose;
|
||||
bool ParseLine(std::string keyPrefix, std::string line, int lineCount);
|
||||
std::string TrimEnds(std::string str);
|
||||
typedef std::map<std::string, std::string> PropertiesType;
|
||||
typedef std::pair<std::string, std::string> PropertiesPair;
|
||||
bool Verbose;
|
||||
|
||||
static std::string AbsolutePath;
|
||||
PropertiesType Properties;
|
||||
static std::string AbsolutePath;
|
||||
PropertiesType Properties;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user