mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-16 18:44:53 -04:00
Client now requests list of all controllers from server and adds them to the master list
This commit is contained in:
@@ -12,12 +12,18 @@ public:
|
||||
void ConnectionThread();
|
||||
void ListenThread();
|
||||
|
||||
void ProcessReply_ControllerCount(unsigned int data_size, char * data);
|
||||
void ProcessReply_ControllerData(unsigned int data_size, char * data);
|
||||
|
||||
void SendRequest_ControllerCount();
|
||||
void SendRequest_ControllerData(unsigned int idx);
|
||||
|
||||
|
||||
protected:
|
||||
std::vector<RGBController *>& controllers;
|
||||
std::vector<RGBController *> server_controllers;
|
||||
|
||||
private:
|
||||
net_port port;
|
||||
net_port port;
|
||||
bool server_connected;
|
||||
unsigned int server_controller_count;
|
||||
};
|
||||
Reference in New Issue
Block a user