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:
parent
a6bc30a31c
commit
02ba8a799e
3 changed files with 29 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue