</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"/>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>NMSampleApp</name>
+ <name>RHSampleApp</name>
<comment></comment>
<projects>
</projects>
*
******************************************************************/
-#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);
void *updateGroupLog(void *data);
-#endif // __NMSAMPLEAPP_H__
+#endif // RHSAMPLEAPP_H__
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__)
extern std::string getOCStackResultStringFromInt(int result);
-#endif // TMUTIL_H_
+#endif // RHUTIL_H_
*
******************************************************************/
-#include "nmsampleapp.h"
-#include "nmutil.h"
+#include "rhsampleapp.h"
+#include "rhutil.h"
#include <algorithm>
#include <signal.h>
#include "Hosting.h"
*
******************************************************************/
-#include "nmsampleapp.h"
-#include "nmutil.h"
+#include "rhsampleapp.h"
+#include "rhutil.h"
#include <tizen.h>
using namespace std;
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);
}
*
******************************************************************/
-#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)
<?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>