Play-/Source/app_shared/AppConfig.h

18 lines
340 B
C
Raw Permalink Normal View History

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