2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-20 06:25:24 +00:00

Add imgui settings back using FileStoreManager to get the path

This commit is contained in:
2022-02-27 17:55:47 -08:00
parent b305454199
commit fcda2eb261
6 changed files with 31 additions and 3 deletions

View File

@@ -12,6 +12,10 @@ class FileStoreManager {
std::string m_storeRoot;
public:
FileStoreManager(FileStoreManager&) = delete;
FileStoreManager(FileStoreManager&&) = delete;
void operator=(FileStoreManager&) = delete;
void operator=(FileStoreManager&&) = delete;
FileStoreManager(std::string_view org, std::string_view domain);
std::string_view getOrg() const { return m_org; }
std::string_view getDomain() const { return m_domain; }
@@ -20,5 +24,6 @@ public:
* @return Full path to store e.g /home/foo/.hecl/bar
*/
std::string_view getStoreRoot() const { return m_storeRoot; }
static FileStoreManager* instance();
};
}