This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
/**
* SimulationManager.h
* Copyright (c) 2013 ROBLOX Corp. All Rights Reserved.
*/
#pragma once
#include <QMap>
class QVariant;
class NameValueStoreManager
{
public:
typedef QMap<QString, QVariant> Properties;
typedef QMap<QString, Properties> Stores;
static NameValueStoreManager& singleton()
{
static NameValueStoreManager manager;
return manager;
}
void setValue(const QString& storeID, const QString& key, const QVariant &value);
QVariant getValue(const QString&storeID, const QString& key, bool *isOK = NULL);
bool clear(const QString& storeID);
void clearAll();
private:
Stores store;
};