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

@@ -9,7 +9,9 @@
#include <QLayout>
#include <obs-module.h>
Q_DECLARE_METATYPE(Connection *);
Q_DECLARE_METATYPE(advss::Connection *);
namespace advss {
void SwitcherData::saveConnections(obs_data_t *obj)
{
@@ -419,3 +421,5 @@ void Connection::Save(obs_data_t *obj) const
obs_data_set_bool(obj, "reconnect", _reconnect);
obs_data_set_int(obj, "reconnectDelay", _reconnectDelay);
}
} // namespace advss