mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-29 13:25:29 -05:00
19 lines
320 B
C++
19 lines
320 B
C++
#include "obs-module-helper.hpp"
|
|
#include "switcher-data.hpp"
|
|
|
|
const char *obs_module_text(const char *text)
|
|
{
|
|
if (!advss::switcher) {
|
|
return "";
|
|
}
|
|
return advss::switcher->Translate(text);
|
|
}
|
|
|
|
obs_module_t *obs_current_module()
|
|
{
|
|
if (!advss::switcher) {
|
|
return nullptr;
|
|
}
|
|
return advss::switcher->GetModule();
|
|
}
|