Make the rescan action in ResourceManager send a rescan request to the client if the client is the primary target (local connection or only connected client when local detection disabled)
This commit is contained in:
parent
80dee91ab9
commit
c750158286
3 changed files with 76 additions and 20 deletions
|
|
@ -185,6 +185,8 @@ public:
|
|||
|
||||
void DisableDetection();
|
||||
|
||||
void RescanDevices();
|
||||
|
||||
void StopDeviceDetection();
|
||||
|
||||
void WaitForInitialization();
|
||||
|
|
@ -223,6 +225,16 @@ private:
|
|||
\*-------------------------------------------------------------------------------------*/
|
||||
bool detection_enabled;
|
||||
|
||||
/*-------------------------------------------------------------------------------------*\
|
||||
| Auto connection active flag |
|
||||
\*-------------------------------------------------------------------------------------*/
|
||||
bool auto_connection_active;
|
||||
|
||||
/*-------------------------------------------------------------------------------------*\
|
||||
| Auto connection client pointer |
|
||||
\*-------------------------------------------------------------------------------------*/
|
||||
NetworkClient * auto_connection_client;
|
||||
|
||||
/*-------------------------------------------------------------------------------------*\
|
||||
| Auto connection permitting flag |
|
||||
\*-------------------------------------------------------------------------------------*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue