[TZIEN] Resource-Hosting Sample Application file name changes.
authorarya.k <arya.kumar@samsung.com>
Tue, 6 Oct 2015 05:02:45 +0000 (10:32 +0530)
committerMadan Lanka <lanka.madan@samsung.com>
Tue, 6 Oct 2015 12:19:52 +0000 (12:19 +0000)
Change-Id: I0a2f197683ede0b49ca5db47bab8cbfe253be9d3
Signed-off-by: arya.k <arya.kumar@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3575
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
13 files changed:
service/resource-hosting/SampleApp/tizen/RHSampleApp/.cproject [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/.cproject with 99% similarity]
service/resource-hosting/SampleApp/tizen/RHSampleApp/.exportMap [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/.exportMap with 100% similarity]
service/resource-hosting/SampleApp/tizen/RHSampleApp/.project [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/.project with 98% similarity]
service/resource-hosting/SampleApp/tizen/RHSampleApp/.tproject [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/.tproject with 100% similarity]
service/resource-hosting/SampleApp/tizen/RHSampleApp/edc_resource/hosting_control.edc [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/edc_resource/hosting_control.edc with 100% similarity]
service/resource-hosting/SampleApp/tizen/RHSampleApp/inc/rhsampleapp.h [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/inc/nmsampleapp.h with 84% similarity]
service/resource-hosting/SampleApp/tizen/RHSampleApp/inc/rhutil.h [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/inc/nmutil.h with 95% similarity]
service/resource-hosting/SampleApp/tizen/RHSampleApp/res/ui_controls.edc [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/res/ui_controls.edc with 100% similarity]
service/resource-hosting/SampleApp/tizen/RHSampleApp/shared/res/rhsampleapp.png [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/shared/res/nmsampleapp.png with 100% similarity]
service/resource-hosting/SampleApp/tizen/RHSampleApp/src/rhmain.cpp [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/src/main.cpp with 98% similarity]
service/resource-hosting/SampleApp/tizen/RHSampleApp/src/rhsampleapp.cpp [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/src/nmsampleapp.cpp with 98% similarity]
service/resource-hosting/SampleApp/tizen/RHSampleApp/src/rhutil.cpp [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/src/nmutil.cpp with 99% similarity]
service/resource-hosting/SampleApp/tizen/RHSampleApp/tizen-manifest.xml [moved from service/resource-hosting/SampleApp/tizen/NMSampleApp/tizen-manifest.xml with 79% similarity]

@@ -15,7 +15,7 @@
                 </extensions>
             </storageModule>
             <storageModule moduleId="cdtBuildSystem" version="4.0.0">
-                <configuration artifactName="nmsampleapp" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.53616310" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.app.debug">
+                <configuration artifactName="rhsampleapp" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.53616310" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.app.debug">
                     <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.debug.53616310." name="/" resourcePath="">
                         <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug.1603903371" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug">
                             <targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.1811247058" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
                 </extensions>
             </storageModule>
             <storageModule moduleId="cdtBuildSystem" version="4.0.0">
-                <configuration artifactName="nmsampleapp" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.release.1937068221" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.app.release">
+                <configuration artifactName="rhsampleapp" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.release.1937068221" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.app.release">
                     <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.release.1937068221." name="/" resourcePath="">
                         <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.release.695203103" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.release">
                             <targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.197043478" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
-    <name>NMSampleApp</name>
+    <name>RHSampleApp</name>
     <comment></comment>
     <projects>
     </projects>
@@ -18,8 +18,8 @@
  *
  ******************************************************************/
 
-#ifndef __NMSAMPLEAPP_H__
-#define __NMSAMPLEAPP_H__
+#ifndef RHSAMPLEAPP_H__
+#define RHSAMPLEAPP_H__
 
 #include <app.h>
 #include <Elementary.h>
 #ifdef  LOG_TAG
 #undef  LOG_TAG
 #endif
-#define LOG_TAG "nmsampleapp"
+#define LOG_TAG "resource-hosting"
 
 #if !defined(PACKAGE)
-#define PACKAGE "org.tizen.nmsampleapp"
+#define PACKAGE "org.tizen.rhsampleapp"
 #endif
 
-#define ELM_DEMO_EDJ "opt/usr/apps/org.tizen.nmsampleapp/res/ui_controls.edj"
+#define ELM_DEMO_EDJ "opt/usr/apps/org.tizen.rhsampleapp/res/ui_controls.edj"
 
 void start_cb(void *data, Evas_Object *obj, void *event_info);
 
@@ -49,4 +49,4 @@ void stop_hosting();
 
 void *updateGroupLog(void *data);
 
-#endif // __NMSAMPLEAPP_H__
+#endif // RHSAMPLEAPP_H__
@@ -22,8 +22,8 @@
 
 using namespace std;
 
-#ifndef NMUTIL_H_
-#define NMUTIL_H_
+#ifndef RHUTIL_H_
+#define RHUTIL_H_
 
 #define LOGI(...) dlog_print(DLOG_INFO, LOG_TAG, __VA_ARGS__)
 #define LOGD(...) dlog_print(DLOG_DEBUG, LOG_TAG, __VA_ARGS__)
@@ -31,6 +31,6 @@ using namespace std;
 
 extern std::string getOCStackResultStringFromInt(int result);
 
-#endif // TMUTIL_H_
+#endif // RHUTIL_H_
 
 
@@ -18,8 +18,8 @@
  *
  ******************************************************************/
 
-#include "nmsampleapp.h"
-#include "nmutil.h"
+#include "rhsampleapp.h"
+#include "rhutil.h"
 #include <algorithm>
 #include <signal.h>
 #include "Hosting.h"
@@ -18,8 +18,8 @@
  *
  ******************************************************************/
 
-#include "nmsampleapp.h"
-#include "nmutil.h"
+#include "rhsampleapp.h"
+#include "rhutil.h"
 #include <tizen.h>
 
 using namespace std;
@@ -124,7 +124,7 @@ create_list_view(appdata_s *ad)
     evas_object_size_hint_align_set(log_entry, EVAS_HINT_FILL, EVAS_HINT_FILL);
     elm_object_part_content_set(layout, "log", log_entry);
 
-    nf_it = elm_naviframe_item_push(nf, "Notification Manager", NULL, NULL, scroller, NULL);
+    nf_it = elm_naviframe_item_push(nf, "Resource Hosting", NULL, NULL, scroller, NULL);
     elm_naviframe_item_pop_cb_set(nf_it, naviframe_pop_cb, NULL);
 }
 
@@ -18,7 +18,7 @@
  *
  ******************************************************************/
 
-#include "nmutil.h"
+#include "rhutil.h"
 
 // Utility function to return the string equivalent of OCStackResult for the given int value
 std::string getOCStackResultStringFromInt(int result)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<manifest xmlns="http://tizen.org/ns/packages" api-version="2.3" package="org.tizen.nmsampleapp" version="1.0.0">
+<manifest xmlns="http://tizen.org/ns/packages" api-version="2.3" package="org.tizen.rhsampleapp" version="1.0.0">
     <profile name="mobile"/>
-    <ui-application appid="org.tizen.nmsampleapp" exec="nmsampleapp" multiple="false" nodisplay="false" taskmanage="true" type="capp">
-        <label>nmsampleapp</label>
-        <icon>nmsampleapp.png</icon>
+    <ui-application appid="org.tizen.rhsampleapp" exec="rhsampleapp" multiple="false" nodisplay="false" taskmanage="true" type="capp">
+        <label>rhsampleapp</label>
+        <icon>rhsampleapp.png</icon>
     </ui-application>
     <privileges>
         <privilege>http://tizen.org/privilege/network.get</privilege>