* Minor style changes
* Move function definitions
* Split utility.hpp
* Enable include of export-symbol-helper.hpp in tests
This commit is contained in:
Przemek Pawlas
2024-02-22 23:38:49 +01:00
committed by WarmUpTill
parent dcba7c535d
commit 01cf000cbe
22 changed files with 125 additions and 81 deletions

View File

@@ -1,8 +1,9 @@
#include "macro-condition-obs-stats.hpp"
#include "layout-helpers.hpp"
#include "utility.hpp"
#include "math-helpers.hpp"
#include <obs-frontend-api.h>
#include <QListView>
namespace advss {

View File

@@ -3,6 +3,7 @@
#include <layout-helpers.hpp>
#include <log-helper.hpp>
#include <obs-module-helper.hpp>
#include <path-helpers.hpp>
#include <plugin-state-helpers.hpp>
#include <selection-helpers.hpp>
#include <sync-helpers.hpp>
@@ -564,7 +565,8 @@ static inline QStringList getOutputDeviceNames()
}
MidiDeviceSelection::MidiDeviceSelection(QWidget *parent, MidiDeviceType t)
: QComboBox(parent), _type(t)
: QComboBox(parent),
_type(t)
{
AddSelectionEntry(this, obs_module_text("AdvSceneSwitcher.selectItem"));

View File

@@ -5,6 +5,7 @@
#include <name-dialog.hpp>
#include <obs-module-helper.hpp>
#include <obs.hpp>
#include <path-helpers.hpp>
#include <QVBoxLayout>
#include <ui-helpers.hpp>
#include <utility.hpp>
@@ -189,8 +190,9 @@ void CategoryGrabber::Search(const std::string &)
int startCount = _categoryMap.size();
std::string cursor;
httplib::Params params = {
{"first", "100"}, {"after", cursor}, {"query", _searchString}};
httplib::Params params = {{"first", "100"},
{"after", cursor},
{"query", _searchString}};
auto response = SendGetRequest(*_token, uri, path, params);
while (response.status == 200 && !_stop) {