-
Notifications
You must be signed in to change notification settings - Fork 4
Topic/rdkemw 16330 1 #194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Topic/rdkemw 16330 1 #194
Changes from all commits
a84164f
fcd130f
98ea5f5
d98d86e
d2329ca
4176268
11ea30b
d35e7da
2a3bc2a
3fd1df7
ef652ff
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -105,17 +105,16 @@ class ctrlm_thunder_plugin_t { | |
| std::string callsign_with_api(); | ||
|
|
||
| /** | ||
| * This functions is used to get a Thunder Plugin property. | ||
| * @param method The method in which the user wants to call. | ||
| * @param params The WPEFramework JsonObject containing the parameters for the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||
| * This function is used to get a Thunder Plugin property. | ||
| * @param property The property the user wants to get | ||
| * @param response The WPEFramework JsonObject containing the response from the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||
| * @param retries The number of retries if the call times out. | ||
| * @return True if the call succeeded, otherwise False. | ||
|
jthomp007c marked this conversation as resolved.
|
||
| */ | ||
| bool property_get(std::string property, void *response, unsigned int retries = 0); | ||
|
Comment on lines
108
to
114
|
||
|
|
||
| /** | ||
| * This functions is used to call a Thunder Plugin method. | ||
| * This function is used to call a Thunder Plugin method. | ||
| * @param method The method in which the user wants to call. | ||
| * @param params The WPEFramework JsonObject containing the parameters for the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||
| * @param response The WPEFramework JsonObject containing the response from the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||
|
|
@@ -125,7 +124,25 @@ class ctrlm_thunder_plugin_t { | |
| bool call_plugin(std::string method, void *params, void *response, unsigned int retries = 0); | ||
|
|
||
| /** | ||
| * This functions is used to call a Thunder Controller method. | ||
| * This function is used to call a Thunder Plugin method. | ||
| * @param method The method in which the user wants to call. | ||
| * @param params The WPEFramework JsonObject containing the parameters for the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||
| * @param response A pointer to a boolean which will be assigned true or false | ||
| * @return True if the call succeeded, otherwise False. | ||
| */ | ||
| bool call_plugin_boolean(std::string method, void *params, bool *response); | ||
|
|
||
|
jthomp007c marked this conversation as resolved.
|
||
| /** | ||
| * This function is used to call a Thunder Plugin method. | ||
| * @param method The method in which the user wants to call. | ||
| * @param params The WPEFramework JsonObject containing the parameters for the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||
| * @param response A pointer a string to accept the response | ||
| * @return True if the call succeeded, otherwise False. | ||
| */ | ||
| bool call_plugin_string(std::string method, void *params, std::string *response); | ||
|
jthomp007c marked this conversation as resolved.
|
||
|
|
||
|
Comment on lines
+135
to
+143
|
||
| /** | ||
| * This function is used to call a Thunder Controller method. | ||
| * @param method The method in which the user wants to call. | ||
| * @param params The WPEFramework JsonObject containing the parameters for the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||
| * @param params The WPEFramework JsonObject containing the response from the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||
|
|
@@ -164,4 +181,4 @@ class ctrlm_thunder_plugin_t { | |
| }; | ||
| }; | ||
|
|
||
| #endif | ||
| #endif | ||
Uh oh!
There was an error while loading. Please reload this page.