Server freed from ResourceManager

Commit amended to revert OpenRGBInterfaces.h header (may reconsider in the future) by Adam Honse
<calcprogrammer1@gmail.com>
This commit is contained in:
k1-801 2021-04-25 02:34:56 +04:00 committed by Adam Honse
parent a6bc30a31c
commit 02ba8a799e
3 changed files with 29 additions and 6 deletions

View file

@ -9,6 +9,7 @@
#include "RGBController.h"
#include "NetworkProtocol.h"
#include "net_port.h"
#include "ProfileManager.h"
#include <mutex>
#include <thread>
@ -68,6 +69,8 @@ public:
void SendRequest_DeviceListChanged(SOCKET client_sock);
void SendReply_ProfileList(SOCKET client_sock);
void SetProfileManager(ProfileManagerInterface* profile_manager_pointer);
protected:
unsigned short port_num;
bool server_online;
@ -87,6 +90,8 @@ protected:
std::vector<NetServerCallback> ServerListeningChangeCallbacks;
std::vector<void *> ServerListeningChangeCallbackArgs;
ProfileManagerInterface* profile_manager;
private:
#ifdef WIN32
WSADATA wsa;