Add advss namespace

Fixes name conflict with "Duration" class and typedef of the same name
on MacOS
This commit is contained in:
WarmUpTill
2023-04-12 16:16:03 +02:00
committed by WarmUpTill
parent b7479e8342
commit 2c5caabab0
266 changed files with 1142 additions and 92 deletions

View File

@@ -4,6 +4,8 @@
#include <fstream>
#include <regex>
namespace advss {
std::vector<std::weak_ptr<Hotkey>> Hotkey::_registeredHotkeys = {};
uint32_t Hotkey::_hotkeyCounter = 1;
@@ -249,3 +251,5 @@ void SwitcherData::loadHotkeys(obs_data_t *obj)
loadHotkey(obj, downMacroSegment, "downMacroSegmentHotkey");
loadHotkey(obj, removeMacroSegment, "removeMacroSegmentHotkey");
}
} // namespace advss