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

@@ -3,6 +3,8 @@
#include "advanced-scene-switcher.hpp"
#include "utility.hpp"
namespace advss {
bool IdleData::pause = false;
IdleWidget *idleWidget = nullptr;
@@ -285,3 +287,5 @@ void IdleWidget::DurationChanged(int dur)
std::lock_guard<std::mutex> lock(switcher->m);
switcher->idleData.time = dur;
}
} // namespace advss