From e61925e8c86df5e9abfbc11bfa7b4831e4d2c97d Mon Sep 17 00:00:00 2001 From: Jihun Ha Date: Mon, 5 Oct 2015 21:55:30 +0900 Subject: [PATCH] Fix wrong comments in groupmanager.h for doxygen A name of parameter in a function prototype should be matched with a name following *@param* keyword for doxygen. Change-Id: I892de77f163bbf5781735fce897ee11f850718b5 Signed-off-by: Jihun Ha Reviewed-on: https://gerrit.iotivity.org/gerrit/3483 Tested-by: jenkins-iotivity Reviewed-by: Madan Lanka (cherry picked from commit 9f0a4365d7303da64b6ea7cad9851ff0b6fc6475) Reviewed-on: https://gerrit.iotivity.org/gerrit/3537 --- service/things-manager/sdk/inc/GroupManager.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) mode change 100644 => 100755 service/things-manager/sdk/inc/GroupManager.h diff --git a/service/things-manager/sdk/inc/GroupManager.h b/service/things-manager/sdk/inc/GroupManager.h old mode 100644 new mode 100755 index 35b2075..889447f --- a/service/things-manager/sdk/inc/GroupManager.h +++ b/service/things-manager/sdk/inc/GroupManager.h @@ -71,8 +71,9 @@ public: * API for candidate resources discovery. * Callback only call when all resource types found. * - * @param resourceTypes - required resource types(called "candidate") - * @param candidateCallback - callback. OCResource vector. + * @param resourceTypes required resource types(called "candidate") + * @param callback callback with OCResource vector. + * @param waitsec time to wait to finish finding resources * * @return OCStackResult return value of this API. Returns OC_STACK_OK if success. * @@ -137,7 +138,7 @@ public: * * @param resource resource pointer of the group resource * @param newActionSet pointer of ActionSet class instance - * @param callback callback for PUT operation. + * @param cb callback for PUT operation. * * @return Returns ::OC_STACK_OK if success. * @@ -152,7 +153,7 @@ public: * * @param resource resource pointer of the group resource * @param actionsetName the action set name for executing the action set - * @param callback callback for POST operation. + * @param cb callback for POST operation. * * @return Returns ::OC_STACK_OK if success. * @note OCStackResult is defined in ocstack.h. @@ -167,7 +168,7 @@ public: * @param resource resource pointer of the group resource * @param actionsetName the action set name for executing the action set * @param delay waiting time for until the action set run. - * @param callback callback for POST operation. + * @param cb callback for POST operation. * * @return Returns ::OC_STACK_OK if success. * @note OCStackResult is defined in ocstack.h. @@ -181,7 +182,7 @@ public: * * @param resource resource pointer of the group resource * @param actionsetName the action set name for executing the action set - * @param callback callback for POST operation. + * @param cb callback for POST operation. * * @return Returns ::OC_STACK_OK if success. * @note OCStackResult is defined in ocstack.h. @@ -195,7 +196,7 @@ public: * * @param resource resource pointer of the group resource * @param actionsetName the action set name for reading the action set - * @param callback callback for GET operation. + * @param cb callback for GET operation. * * @return Returns ::OC_STACK_OK if success. * @note OCStackResult is defined in ocstack.h. @@ -209,13 +210,13 @@ public: * * @param resource resource pointer of the group resource * @param actionsetName the action set name for removing the action set - * @param callback callback for POST operation. + * @param cb callback for POST operation. * * @return Returns ::OC_STACK_OK if success. * @note OCStackResult is defined in ocstack.h. */ OCStackResult deleteActionSet(std::shared_ptr< OCResource > resource, std::string actionsetName, - PostCallback); + PostCallback cb); }; } #endif /* __OC_GROUPMANAGER__*/ -- 2.7.4