mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-30 13:15:43 -05:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user