provisioning: Rename some C++ headers to avoid collision with CSDK ones
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Thu, 24 Nov 2016 10:20:23 +0000 (11:20 +0100)
committerPhil Coval <philippe.coval@osg.samsung.com>
Thu, 24 Nov 2016 15:38:49 +0000 (15:38 +0000)
commit7fe6496687aa682b492bbc61595b93a10ea4dfd0
treebae0812f12d314a3e063554b510c83127f4a925b
parent83a63409ebe7e320e835c62aaeb87359bdc29b47
provisioning: Rename some C++ headers to avoid collision with CSDK ones

The name clash only happens
 on case insensitive filesystems (ie HPFS on MacOS),
 there is ambiguity with C header ie:
  ./resource/csdk/security/provisioning/include/ocprovisioningmanager.h
  ./resource/include/OCProvisioningManager.h

Renaming to .hpp suffix prevent the problem.

Note, one other approach would be to use namespaces

Like:
   #include <iotivity/csdk/ocprovisioningmanager.h> vs
   #include <iotivity/oc/ocprovisioningmanager.h> or similar

Change-Id: Ie311344a98fd056e5b54f329819090a36a901589
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14747
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Habib Virji <habib.virji@samsung.com>
22 files changed:
android/android_api/base/jni/JniDisplayPinListener.h
android/android_api/base/jni/JniOcCloudProvisioning.h
android/android_api/base/jni/JniOcProvisioning.h
android/android_api/base/jni/JniOcSecureResource.h
android/android_api/base/jni/JniPinCheckListener.h
android/android_api/base/jni/JniProvisionResultListner.h
android/android_api/base/jni/JniSecureUtils.h
resource/docs/cpp-doc/Doxyfile
resource/include/OCCloudProvisioning.h [deleted file]
resource/include/OCCloudProvisioning.hpp [new file with mode: 0755]
resource/include/OCProvisioningManager.h [deleted file]
resource/include/OCProvisioningManager.hpp [new file with mode: 0644]
resource/provisioning/examples/cloudClient.cpp
resource/provisioning/examples/cloudWrapper.cpp
resource/provisioning/examples/cloudWrapper.h
resource/provisioning/examples/provisioningclient.cpp
resource/provisioning/src/OCCloudProvisioning.cpp
resource/provisioning/src/OCProvisioningManager.cpp
resource/provisioning/unittests/OCCloudProvisioningTest.cpp
resource/provisioning/unittests/OCProvisioningTest.cpp
service/easy-setup/mediator/richsdk/src/EnrolleeSecurity.h
service/easy-setup/sampleapp/mediator/linux/richsdk_sample/mediator_cpp.cpp