projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.0.1
[platform/upstream/iotivity.git]
/
service
/
resource-container
/
examples
/
ContainerSampleClient.cpp
diff --git
a/service/resource-container/examples/ContainerSampleClient.cpp
b/service/resource-container/examples/ContainerSampleClient.cpp
index
cc97d1d
..
e7ce3f3
100644
(file)
--- a/
service/resource-container/examples/ContainerSampleClient.cpp
+++ b/
service/resource-container/examples/ContainerSampleClient.cpp
@@
-1,6
+1,6
@@
//******************************************************************
//
//******************************************************************
//
-// Copyright 201
4 Intel Mobile Communications GmbH
All Rights Reserved.
+// Copyright 201
5 Samsung Electronics
All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
@@
-18,8
+18,7
@@
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-// OCClient.cpp : Defines the entry point for the console application.
-//
+
#include <string>
#include <map>
#include <cstdlib>
#include <string>
#include <map>
#include <cstdlib>
@@
-204,7
+203,7
@@
void postLightRepresentation(std::shared_ptr<OCResource> resource)
std::cout << "Posting light representation..." << std::endl;
std::cout << "Posting light representation..." << std::endl;
- mylight.m_on_off =
"false"
;
+ mylight.m_on_off =
false
;
rep.setValue("on-off", mylight.m_on_off);
rep.setValue("on-off", mylight.m_on_off);