@@ -45,6 +45,31 @@ struct EXTERNAL IRDKWindowManager : virtual public Core::IUnknown {
45
45
// @text onReady
46
46
// @param client: notify first frame event received for client or application instance ID
47
47
virtual void OnReady (const string &client){};
48
+
49
+ // @brief Notifies when an application is connected
50
+ // @text onConnected
51
+ // @param appInstanceId: the identifier of the connected application
52
+ virtual void OnConnected (const std::string& appInstanceId){};
53
+
54
+ // @brief Notifies when an application is visible
55
+ // @text onVisible
56
+ // @param appInstanceId: the identifier of the visible application
57
+ virtual void OnVisible (const std::string& appInstanceId){};
58
+
59
+ // @brief Notifies when an application is hidden
60
+ // @text OnHidden
61
+ // @param appInstanceId: the identifier of the hidden application
62
+ virtual void OnHidden (const std::string& appInstanceId){};
63
+
64
+ // @brief Notifies when an application is in focus
65
+ // @text OnFocus
66
+ // @param appInstanceId: the identifier of the focussed application
67
+ virtual void OnFocus (const std::string& appInstanceId){};
68
+
69
+ // @brief Notifies when an application is blurred
70
+ // @text OnBlur
71
+ // @param appInstanceId: the identifier of the blurred application
72
+ virtual void OnBlur (const std::string& appInstanceId){};
48
73
};
49
74
50
75
/* * Register notification interface */
@@ -66,11 +91,11 @@ struct EXTERNAL IRDKWindowManager : virtual public Core::IUnknown {
66
91
// @param displayParams: JSON String format with client,displayName,displayWidth,displayHeight,virtualDisplay,virtualWidth,virtualHeight,topmost,focus
67
92
virtual Core::hresult CreateDisplay (const string& displayParams) = 0;
68
93
69
- /* * Get the list of active Clients */
70
- // @text getClients
71
- // @brief get the list of Clients which are available
72
- // @param clients: get the number of clients as a JSON string format
73
- virtual Core::hresult GetClients (string &clients /* @out */ ) const = 0;
94
+ /* * Get the list of active Apps */
95
+ // @text getApps
96
+ // @brief Get the list of Apps which are currently active and available
97
+ // @param appsIds: Returns the list of app IDs as a JSON string.
98
+ virtual Core::hresult GetApps (string &appsIds /* @out */ ) const = 0;
74
99
75
100
/* * Registers a key intercept for a specific key code and client */
76
101
// @text addKeyIntercept
0 commit comments