mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
24 lines
396 B
C++
24 lines
396 B
C++
#pragma once
|
|
|
|
#include "Config.h"
|
|
#include "Singleton.h"
|
|
|
|
class CAppConfigBasePath
|
|
{
|
|
public:
|
|
CAppConfigBasePath();
|
|
fs::path GetBasePath() const;
|
|
|
|
private:
|
|
fs::path m_basePath;
|
|
};
|
|
|
|
class CAppConfig : public CAppConfigBasePath, public Framework::CConfig, public CSingleton<CAppConfig>
|
|
{
|
|
public:
|
|
CAppConfig();
|
|
virtual ~CAppConfig() = default;
|
|
|
|
private:
|
|
CConfig::PathType BuildConfigPath();
|
|
};
|