X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Finclude%2FOutOfProcServerWrapper.h;h=9f5b21c06379187ad640b8464afb5caac87ff015;hb=c315c87e07c4080ecd0ef488e7a1047bc3c509b2;hp=be51f3d20003e2f85e2bd050fea1fe08b7017851;hpb=de31af5307c65310c4589b392e4abd16f33725d5;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/include/OutOfProcServerWrapper.h b/resource/include/OutOfProcServerWrapper.h index be51f3d..9f5b21c 100644 --- a/resource/include/OutOfProcServerWrapper.h +++ b/resource/include/OutOfProcServerWrapper.h @@ -18,8 +18,8 @@ // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -#ifndef _OUT_OF_PROC_SERVER_WRAPPER_H_ -#define _OUT_OF_PROC_SERVER_WRAPPER_H_ +#ifndef OC_OUT_OF_PROC_SERVER_WRAPPER_H_ +#define OC_OUT_OF_PROC_SERVER_WRAPPER_H_ #include @@ -28,58 +28,82 @@ namespace OC class OutOfProcServerWrapper : public IServerWrapper { public: - OutOfProcServerWrapper(PlatformConfig cfg) + OutOfProcServerWrapper(PlatformConfig /*cfg*/) {} + virtual OCStackResult stop() + { + return OC_STACK_NOTIMPL; + } + + virtual OCStackResult start() + { + return OC_STACK_NOTIMPL; + } + virtual OCStackResult registerResource( - OCResourceHandle& resourceHandle, - std::string& resourceURI, - const std::string& resourceTypeName, - const std::string& resourceInterface, - EntityHandler& entityHandler, - uint8_t resourceProperty) + OCResourceHandle& /*resourceHandle*/, + std::string& /*resourceURI*/, + const std::string& /*resourceTypeName*/, + const std::string& /*resourceInterface*/, + EntityHandler& /*entityHandler*/, + uint8_t /*resourceProperty*/) + { + // Not implemented + return OC_STACK_NOTIMPL; + } + virtual OCStackResult registerDeviceInfo( + const OCDeviceInfo /*deviceInfo*/) { // Not implemented return OC_STACK_NOTIMPL; } + + virtual OCStackResult registerPlatformInfo( + const OCPlatformInfo /*deviceInfo*/) + { + // Not implemented + return OC_STACK_NOTIMPL; + } + virtual OCStackResult registerResourceWithHost( - OCResourceHandle& resourceHandle, - std::string& resourceHOST, - std::string& resourceURI, - const std::string& resourceTypeName, - const std::string& resourceInterface, - EntityHandler& entityHandler, - uint8_t resourceProperty) + OCResourceHandle& /*resourceHandle*/, + std::string& /*resourceHOST*/, + std::string& /*resourceURI*/, + const std::string& /*resourceTypeName*/, + const std::string& /*resourceInterface*/, + EntityHandler& /*entityHandler*/, + uint8_t /*resourceProperty*/) { // Not implemented return OC_STACK_NOTIMPL; } virtual OCStackResult unregisterResource( - const OCResourceHandle& resourceHandle) + const OCResourceHandle& /*resourceHandle*/) { //Not implemented yet return OC_STACK_ERROR; } virtual OCStackResult bindTypeToResource( - const OCResourceHandle& resourceHandle, - const std::string& resourceTypeName) + const OCResourceHandle& /*resourceHandle*/, + const std::string& /*resourceTypeName*/) { //Not implemented yet return OC_STACK_NOTIMPL; } virtual OCStackResult bindInterfaceToResource( - const OCResourceHandle& resourceHandle, - const std::string& resourceInterfaceName) + const OCResourceHandle& /*resourceHandle*/, + const std::string& /*resourceInterfaceName*/) { //Not implemented yet return OC_STACK_NOTIMPL; } - virtual OCStackResult startPresence(const unsigned int seconds) + virtual OCStackResult startPresence(const unsigned int /*seconds*/) { //Not implemented yet return OC_STACK_NOTIMPL; @@ -91,13 +115,15 @@ namespace OC return OC_STACK_NOTIMPL; } - virtual OCStackResult setDefaultDeviceEntityHandler(EntityHandler entityHandler) + virtual OCStackResult setDefaultDeviceEntityHandler( + EntityHandler /*entityHandler*/) { //Not implemented yet return OC_STACK_NOTIMPL; } - virtual OCStackResult sendResponse(const std::shared_ptr pResponse) + virtual OCStackResult sendResponse( + const std::shared_ptr /*pResponse*/) { //Not implemented yet return OC_STACK_NOTIMPL;