X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Fthings-manager%2Fsampleapp%2Flinux%2Fgroupsyncaction%2Fspeaker.cpp;h=4e90f3fb03d43c4c339fb6235bc2c1e12f0c7972;hb=935fdb9b67b6c10d007e652e9e2e028fd6ccfe09;hp=41abb367a11052a9d567d6c05d8648fe1864b01e;hpb=00b3660e45c56cb3db35dc2596a054f801b5591a;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/things-manager/sampleapp/linux/groupsyncaction/speaker.cpp b/service/things-manager/sampleapp/linux/groupsyncaction/speaker.cpp index 41abb36..4e90f3f 100644 --- a/service/things-manager/sampleapp/linux/groupsyncaction/speaker.cpp +++ b/service/things-manager/sampleapp/linux/groupsyncaction/speaker.cpp @@ -38,13 +38,7 @@ OCEntityHandlerResult speakerEntityHandler(const std::shared_ptr< OCResourceRequ int requestFlag = request->getRequestHandlerFlag(); std::string action; - if (requestFlag == RequestHandlerFlag::InitFlag) - { - cout << "\trequestFlag : Init\n"; - - // entity handler to perform resource initialization operations - } - else if (requestFlag == RequestHandlerFlag::RequestFlag) + if (requestFlag == RequestHandlerFlag::RequestFlag) { cout << "\trequestFlag : Request\n"; @@ -157,7 +151,7 @@ int main(int argc, char* argv[]) } catch (OCException& e) { - //log(e.what()); + std::cout << "Exception: " << e.what() << std::endl; } return 0;