X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=service%2Fresource-container%2Fbundle-api%2Finclude%2FSoftSensorResource.h;h=3cabeaaf2569babb02ab6bdc9ae0614390ac510f;hb=94651923bf67705c1b4bd61ab251e8c598d2a807;hp=c48e72a274dabaebac9633da4e569903afa6370e;hpb=1cee1631595cac6a6394ac2e0b365c6dd5a42c68;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/resource-container/bundle-api/include/SoftSensorResource.h b/service/resource-container/bundle-api/include/SoftSensorResource.h index c48e72a..3cabeaa 100644 --- a/service/resource-container/bundle-api/include/SoftSensorResource.h +++ b/service/resource-container/bundle-api/include/SoftSensorResource.h @@ -62,9 +62,12 @@ namespace OIC * The implementor of the function can decide weather to notify OIC clients * about the changed state or not. * + * @param queryParams Request parameters + * * @return Value of all attributes */ - virtual RCSResourceAttributes handleGetAttributesRequest() = 0; + virtual RCSResourceAttributes handleGetAttributesRequest(const + std::map< std::string, std::string > &queryParams) = 0; /** * This function should be implemented by the according bundle resource @@ -79,10 +82,12 @@ namespace OIC * about the changed state or not. * * @param attrs Attributes to set + * @param queryParams Request parameters * * @return void */ - virtual void handleSetAttributesRequest(const RCSResourceAttributes &attrs) = 0; + virtual void handleSetAttributesRequest(const RCSResourceAttributes &attrs, + const std::map< std::string, std::string > &queryParams) = 0; /** * SoftSensor logic. Has to be provided by the soft sensor developer.