Restructure includes

The intention of this change is to reduce the interdependency of the
various components to reduce compile time when applying changes.
This commit is contained in:
WarmUpTill
2023-04-29 22:19:16 +02:00
committed by WarmUpTill
parent 20eb56db2d
commit 9ec772f723
132 changed files with 461 additions and 488 deletions

View File

@@ -9,6 +9,16 @@ SwitcherData *GetSwitcher()
return switcher;
}
std::mutex *GetSwitcherMutex()
{
return switcher ? &switcher->m : nullptr;
}
bool VerboseLoggingEnabled()
{
return switcher ? switcher->verbose : false;
}
SwitcherData::SwitcherData(obs_module_t *m, translateFunc t)
{
_modulePtr = m;