SceneSwitcher/tests/stubs/plugin-state-helpers.cpp
WarmUpTill 7a0e08b0d8
Some checks are pending
debian-build / build (push) Waiting to run
Push to master / Check Formatting 🔍 (push) Waiting to run
Push to master / Build Project 🧱 (push) Waiting to run
Push to master / Create Release 🛫 (push) Blocked by required conditions
Adapt to enable testing and add more tests
2026-03-14 13:34:50 +01:00

87 lines
1.7 KiB
C++

#include "plugin-state-helpers.hpp"
namespace advss {
void SavePluginSettings(obs_data_t *) {}
void LoadPluginSettings(obs_data_t *) {}
void AddSaveStep(std::function<void(obs_data_t *)>) {}
void AddLoadStep(std::function<void(obs_data_t *)>) {}
void AddPostLoadStep(std::function<void()>) {}
void AddIntervalResetStep(std::function<void()>) {}
void RunSaveSteps(obs_data_t *) {}
void RunLoadSteps(obs_data_t *) {}
void RunAndClearPostLoadSteps() {}
void ClearPostLoadSteps() {}
void AddPluginInitStep(std::function<void()>) {}
void AddPluginPostLoadStep(std::function<void()>) {}
void AddPluginCleanupStep(std::function<void()>) {}
void RunPluginInitSteps() {}
void RunPluginPostLoadSteps() {}
void RunPluginCleanupSteps() {}
void StopPlugin() {}
void StartPlugin() {}
bool PluginIsRunning()
{
return false;
}
int GetIntervalValue()
{
return 0;
}
void AddStartStep(std::function<void()>) {}
void AddStopStep(std::function<void()>) {}
void RunStartSteps() {}
void RunStopSteps() {}
void RunIntervalResetSteps() {}
void SetPluginNoMatchBehavior(NoMatchBehavior) {}
NoMatchBehavior GetPluginNoMatchBehavior()
{
return NoMatchBehavior::NO_SWITCH;
}
void SetNoMatchScene(const OBSWeakSource &) {}
std::string ForegroundWindowTitle()
{
return "";
}
std::string PreviousForegroundWindowTitle()
{
return "";
}
bool SettingsWindowIsOpened()
{
return false;
}
bool HighlightUIElementsEnabled()
{
return false;
}
bool OBSIsShuttingDown()
{
return false;
}
bool InitialLoadIsComplete()
{
return false;
}
bool IsFirstInterval()
{
return false;
}
bool IsFirstIntervalAfterStop()
{
return false;
}
void SetMacroHighlightingEnabled(bool) {}
bool IsMacroHighlightingEnabled()
{
return false;
}
} // namespace advss