diff --git a/NetworkProtocol.h b/NetworkProtocol.h index 802d75f31..5ff19dfea 100644 --- a/NetworkProtocol.h +++ b/NetworkProtocol.h @@ -1,3 +1,5 @@ +#pragma once + typedef struct NetPacketHeader { char pkt_magic[4]; /* Magic value "ORGB" identifies beginning of packet */ diff --git a/main.cpp b/main.cpp index 09530ba2a..eeac5617d 100644 --- a/main.cpp +++ b/main.cpp @@ -6,6 +6,7 @@ * * \******************************************************************************************/ +#include "NetworkClient.h" #include "NetworkServer.h" #include "OpenRGB.h" #include "ProfileManager.h" @@ -46,6 +47,7 @@ int main(int argc, char* argv[]) } NetworkServer server(rgb_controllers); + NetworkClient client(rgb_controllers); QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication a(argc, argv);