2017-11-30 14:10:22 -05:00
|
|
|
#pragma once
|
2009-09-07 19:23:46 +00:00
|
|
|
|
|
|
|
#include "Config.h"
|
|
|
|
#include "Singleton.h"
|
|
|
|
|
2025-03-11 08:53:57 -04:00
|
|
|
class CAppConfig : public Framework::CConfig, public CSingleton<CAppConfig>
|
2009-09-07 19:23:46 +00:00
|
|
|
{
|
|
|
|
public:
|
2018-04-30 21:01:23 +01:00
|
|
|
CAppConfig();
|
|
|
|
virtual ~CAppConfig() = default;
|
2009-09-07 19:23:46 +00:00
|
|
|
|
2025-03-11 08:53:57 -04:00
|
|
|
//This needs to be implemented by every application/executable
|
|
|
|
fs::path GetBasePath() const;
|
|
|
|
|
2009-09-07 19:23:46 +00:00
|
|
|
private:
|
2023-08-30 17:35:10 -04:00
|
|
|
CConfig::PathType BuildConfigPath();
|
2009-09-07 19:23:46 +00:00
|
|
|
};
|