mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-20 00:05:41 -05:00
Add support to snapshot vars before queue insertion
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
Some checks failed
debian-build / build (push) Has been cancelled
Check locale / ubuntu64 (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include <obs-data.h>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <QStringList>
|
||||
|
||||
namespace advss {
|
||||
@@ -116,6 +117,10 @@ signals:
|
||||
void Remove(const QString &);
|
||||
};
|
||||
|
||||
using VariableContext = std::unordered_map<std::string, std::string>;
|
||||
VariableContext CreateVariableContext();
|
||||
void SetActiveVariableContext(VariableContext *context);
|
||||
|
||||
std::deque<std::shared_ptr<Item>> &GetVariables();
|
||||
EXPORT Variable *GetVariableByName(const std::string &name);
|
||||
EXPORT Variable *GetVariableByQString(const QString &name);
|
||||
|
||||
Reference in New Issue
Block a user