refactor: some Application & style things (#5561)

This commit is contained in:
pajlada
2024-08-25 15:33:07 +02:00
committed by GitHub
parent ac88730563
commit 627c735524
41 changed files with 733 additions and 678 deletions
+3 -4
View File
@@ -2,8 +2,6 @@
#include "singletons/NativeMessaging.hpp"
#include <QApplication>
#include <cassert>
#include <memory>
@@ -133,7 +131,7 @@ public:
void load();
void save();
int run(QApplication &qtApp);
int run();
friend void test();
@@ -219,13 +217,14 @@ public:
IStreamerMode *getStreamerMode() override;
private:
void initPubSub();
void initBttvLiveUpdates();
void initSeventvEventAPI();
void initNm(const Paths &paths);
NativeMessagingServer nmServer;
Updates &updates;
bool initialized{false};
};
IApplication *getApp();