summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadoslaw Czerski <r.czerski@samsung.com>2016-01-30 13:27:54 +0100
committerRadoslaw Czerski <r.czerski@samsung.com>2016-01-30 13:27:54 +0100
commitcf5ac9c0a70f47d60c53123b29c46f918c39ec8d (patch)
treeb0226419935172eb687d59dcfc2ebd65e7673ef9
parentaa09bed689b89f77255822cdc3964b105611fea7 (diff)
downloadshare-panel-cf5ac9c0a70f47d60c53123b29c46f918c39ec8d.tar.gz
share-panel-cf5ac9c0a70f47d60c53123b29c46f918c39ec8d.tar.bz2
share-panel-cf5ac9c0a70f47d60c53123b29c46f918c39ec8d.zip
Migrate to Tizen SDK 3.0
Change-Id: Ib9399fb9eb2025cd6f126aacd527bcf012d41531 Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
-rw-r--r--.cproject555
-rw-r--r--.exportMap4
-rw-r--r--.project46
-rw-r--r--CMakeLists.txt65
-rw-r--r--LICENSE202
-rw-r--r--inc/conf.h (renamed from include/conf.h)5
-rw-r--r--inc/grid.h (renamed from include/grid.h)2
-rw-r--r--inc/index.h (renamed from include/index.h)0
-rw-r--r--inc/list.h (renamed from include/list.h)0
-rw-r--r--inc/log.h (renamed from include/log.h)0
-rw-r--r--inc/page.h (renamed from include/page.h)0
-rw-r--r--inc/scroller.h (renamed from include/scroller.h)0
-rw-r--r--inc/share_panel.h (renamed from include/share_panel.h)0
-rw-r--r--inc/share_panel_internal.h (renamed from include/share_panel_internal.h)0
-rw-r--r--inc/ui_manager.h (renamed from include/ui_manager.h)0
-rw-r--r--org.tizen.share-panel.manifest5
-rw-r--r--org.tizen.share-panel.xml15
-rwxr-xr-xpackaging/share-panel.spec83
l---------res/edje/conf.edc2
-rw-r--r--share-panel.pc.in9
-rw-r--r--shared/res/share-panel.pngbin0 -> 57662 bytes
-rw-r--r--src/grid.c190
-rw-r--r--src/list.c28
-rw-r--r--src/scroller.c19
-rw-r--r--src/share_panel.c23
-rw-r--r--src/ui_manager.c77
-rw-r--r--tizen-manifest.xml20
27 files changed, 798 insertions, 552 deletions
diff --git a/.cproject b/.cproject
new file mode 100644
index 0000000..e1ac467
--- /dev/null
+++ b/.cproject
@@ -0,0 +1,555 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
+ <storageModule moduleId="org.eclipse.cdt.core.settings">
+ <cconfiguration id="org.tizen.nativecore.config.sbi.gcc45.app.debug.447585960">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.447585960" moduleId="org.eclipse.cdt.core.settings" name="Debug">
+ <externalSettings/>
+ <extensions>
+ <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="share-panel" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.447585960" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.app.debug">
+ <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.debug.447585960." name="/" resourcePath="">
+ <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug.1072004618" 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.1394872890" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
+ <builder autoBuildTarget="all" buildPath="${workspace_loc:/share-panel}/Debug" enableAutoBuild="true" id="org.tizen.nativecore.target.sbi.gnu.builder.1277284144" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/>
+ <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.773607341" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.1781542455" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">
+ <option id="gnu.cpp.compiler.option.optimization.level.1448848837" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
+ <option defaultValue="gnu.cpp.compiler.debugging.level.max" id="sbi.gnu.cpp.compiler.option.debugging.level.core.1178798564" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" valueType="enumerated"/>
+ <option id="sbi.gnu.cpp.compiler.option.1882070660" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
+ <listOptionValue builtIn="false" value="mobile-3.0-device.core_llvm36.armel.core.app"/>
+ </option>
+ <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.1484407292" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.core" valueType="includePath">
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/libxml2&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore-agent&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appfw&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/attach-panel&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/badge&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/base&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/cairo&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/calendar-service2&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ckm&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/contacts-svc&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/content&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/context-service&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali-toolkit&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dbus-1.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/device&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dlog&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-buffer-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-con-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-file-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-ipc-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ector-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/e_dbus-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/edje-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eet-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-extension&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efreet-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1/eina&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eio-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eldbus-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/elementary-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/embryo-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/emile-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eo-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eom&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-client-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/feedback&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/fontconfig&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/freetype2&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/geofence&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/gio-unix-2.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/glib-2.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/harfbuzz&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/iotcon&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/json-glib-1.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/location&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/maps&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media-content&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/messaging&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/metadata-editor&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/minicontrol&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/minizip&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/network&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/notification&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/phonenumber-utils&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/sensor&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/service-adaptor&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/shortcut&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/storage&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/system&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/telephony&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ui&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/web&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_service&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_viewer_evas&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/wifi-direct&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/dbus-1.0/include&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/glib-2.0/include&quot;"/>
+ </option>
+ <option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.core.517004105" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.core" valueType="stringList">
+ <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value=" -fPIE"/>
+ <listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>
+ <listOptionValue builtIn="false" value="-mthumb"/>
+ </option>
+ <option id="gnu.cpp.compiler.option.include.paths.904542930" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/inc}&quot;"/>
+ </option>
+ <option id="sbi.gnu.cpp.compiler.option.frameworks.core.512103696" superClass="sbi.gnu.cpp.compiler.option.frameworks.core" valueType="userObjs">
+ <listOptionValue builtIn="false" value="Native_API"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.192875054" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+ </tool>
+ <tool command="clang" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.1068646682" name="C Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.c.compiler">
+ <option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.1731426123" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
+ <option defaultValue="gnu.c.debugging.level.max" id="sbi.gnu.c.compiler.option.debugging.level.core.2092970488" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" valueType="enumerated"/>
+ <option id="sbi.gnu.c.compiler.option.1742654726" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
+ <listOptionValue builtIn="false" value="mobile-3.0-device.core_llvm36.armel.core.app"/>
+ </option>
+ <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.1602510237" superClass="sbi.gnu.c.compiler.option.frameworks_inc.core" valueType="includePath">
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/libxml2&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore-agent&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appfw&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/attach-panel&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/badge&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/base&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/cairo&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/calendar-service2&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ckm&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/contacts-svc&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/content&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/context-service&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali-toolkit&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dbus-1.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/device&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dlog&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-buffer-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-con-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-file-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-ipc-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ector-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/e_dbus-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/edje-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eet-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-extension&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efreet-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1/eina&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eio-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eldbus-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/elementary-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/embryo-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/emile-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eo-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eom&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-client-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/feedback&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/fontconfig&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/freetype2&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/geofence&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/gio-unix-2.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/glib-2.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/harfbuzz&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/iotcon&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/json-glib-1.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/location&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/maps&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media-content&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/messaging&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/metadata-editor&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/minicontrol&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/minizip&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/network&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/notification&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/phonenumber-utils&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/sensor&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/service-adaptor&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/shortcut&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/storage&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/system&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/telephony&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ui&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/web&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_service&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_viewer_evas&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/wifi-direct&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/dbus-1.0/include&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/glib-2.0/include&quot;"/>
+ </option>
+ <option id="sbi.gnu.c.compiler.option.frameworks_cflags.core.2073615515" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.core" valueType="stringList">
+ <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value=" -fPIE"/>
+ <listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>
+ <listOptionValue builtIn="false" value="-mthumb"/>
+ </option>
+ <option id="gnu.c.compiler.option.include.paths.1467121923" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/inc}&quot;"/>
+ </option>
+ <option id="sbi.gnu.c.compiler.option.frameworks.core.1706835966" superClass="sbi.gnu.c.compiler.option.frameworks.core" valueType="userObjs">
+ <listOptionValue builtIn="false" value="Native_API"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1752333300" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ </tool>
+ <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.1084456218" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.1599555548" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker">
+ <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.1515501918" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.core" valueType="stringList">
+ <listOptionValue builtIn="false" value="${TC_LINKER_MISC}"/>
+ <listOptionValue builtIn="false" value="${RS_LINKER_MISC}"/>
+ <listOptionValue builtIn="false" value="-pie -lpthread "/>
+ <listOptionValue builtIn="false" value="-Xlinker -rpath=&quot;/home/developer/sdk_tools/lib&quot;"/>
+ <listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>
+ <listOptionValue builtIn="false" value="-Xlinker --version-script=&quot;${PROJ_PATH}/.exportMap&quot;"/>
+ <listOptionValue builtIn="false" value="-L&quot;${SBI_SYSROOT}/usr/lib&quot;"/>
+ <listOptionValue builtIn="false" value="$(RS_LIBRARIES)"/>
+ </option>
+ <option id="gnu.cpp.link.option.paths.710009389" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
+ <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/lib}&quot;"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.901404481" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
+ <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+ <additionalInput kind="additionalinput" paths="$(LIBS)"/>
+ </inputType>
+ </tool>
+ <tool command="arm-linux-gnueabi-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.1562992264" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.399474621" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+ </tool>
+ <tool id="org.tizen.nativecore.tool.fnmapgen.674810639" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/>
+ <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.1704450229" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/>
+ <tool id="org.tizen.nativecore.tool.ast.1197715868" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/>
+ <tool id="org.tizen.nativecore.tool.ast.cpp.1540476432" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/>
+ <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.138476553" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>
+ <tool id="org.tizen.nativecore.tool.sbi.po.compiler.1666255227" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>
+ <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.2087011478" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="res"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="shared"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="org.tizen.nativecore.config.sbi.gcc45.app.release.1279236638">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.release.1279236638" moduleId="org.eclipse.cdt.core.settings" name="Release">
+ <externalSettings/>
+ <extensions>
+ <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="org.example.share-panel" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.release.1279236638" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.app.release">
+ <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.release.1279236638." name="/" resourcePath="">
+ <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.release.1611402063" 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.820027268" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
+ <builder buildPath="${workspace_loc:/share-panel}/Release" id="org.tizen.nativecore.target.sbi.gnu.builder.964018407" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/>
+ <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.668988877" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.2146107294" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">
+ <option id="gnu.cpp.compiler.option.optimization.level.1086644341" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
+ <option defaultValue="gnu.cpp.compiler.debugging.level.default" id="sbi.gnu.cpp.compiler.option.debugging.level.core.304988945" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" valueType="enumerated"/>
+ <option id="sbi.gnu.cpp.compiler.option.700400233" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
+ <listOptionValue builtIn="false" value="mobile-3.0-emulator.core_llvm36.i386.core.app"/>
+ </option>
+ <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.228995276" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.core" valueType="includePath">
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/libxml2&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore-agent&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appfw&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/attach-panel&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/badge&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/base&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/cairo&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/calendar-service2&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ckm&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/contacts-svc&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/content&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/context-service&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali-toolkit&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dbus-1.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/device&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dlog&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-buffer-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-con-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-file-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-ipc-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ector-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/e_dbus-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/edje-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eet-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-extension&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efreet-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1/eina&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eio-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eldbus-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/elementary-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/embryo-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/emile-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eo-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eom&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-client-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/feedback&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/fontconfig&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/freetype2&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/geofence&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/gio-unix-2.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/glib-2.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/harfbuzz&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/iotcon&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/json-glib-1.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/location&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/maps&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media-content&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/messaging&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/metadata-editor&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/minicontrol&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/minizip&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/network&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/notification&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/phonenumber-utils&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/sensor&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/service-adaptor&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/shortcut&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/storage&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/system&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/telephony&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ui&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/web&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_service&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_viewer_evas&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/wifi-direct&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/dbus-1.0/include&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/glib-2.0/include&quot;"/>
+ </option>
+ <option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.core.380833484" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.core" valueType="stringList">
+ <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value=" -fPIE"/>
+ <listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>
+ </option>
+ <option id="gnu.cpp.compiler.option.include.paths.1107124964" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/inc}&quot;"/>
+ </option>
+ <option id="sbi.gnu.cpp.compiler.option.frameworks.core.278682019" superClass="sbi.gnu.cpp.compiler.option.frameworks.core" valueType="userObjs">
+ <listOptionValue builtIn="false" value="Native_API"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.2122153487" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+ </tool>
+ <tool command="clang" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.1321996353" name="C Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.c.compiler">
+ <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.option.optimization.level.442696537" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
+ <option defaultValue="gnu.c.debugging.level.default" id="sbi.gnu.c.compiler.option.debugging.level.core.327406921" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" valueType="enumerated"/>
+ <option id="sbi.gnu.c.compiler.option.1143341128" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
+ <listOptionValue builtIn="false" value="mobile-3.0-emulator.core_llvm36.i386.core.app"/>
+ </option>
+ <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.1406354383" superClass="sbi.gnu.c.compiler.option.frameworks_inc.core" valueType="includePath">
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/libxml2&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore-agent&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appfw&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/attach-panel&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/badge&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/base&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/cairo&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/calendar-service2&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ckm&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/contacts-svc&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/content&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/context-service&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali-toolkit&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dbus-1.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/device&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dlog&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-buffer-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-con-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-file-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-ipc-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ector-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/e_dbus-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/edje-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eet-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-extension&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efreet-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1/eina&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eio-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eldbus-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/elementary-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/embryo-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/emile-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eo-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eom&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-client-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/evas-1&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/feedback&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/fontconfig&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/freetype2&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/geofence&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/gio-unix-2.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/glib-2.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/harfbuzz&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/iotcon&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/json-glib-1.0&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/location&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/maps&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media-content&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/messaging&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/metadata-editor&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/minicontrol&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/minizip&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/network&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/notification&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/phonenumber-utils&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/sensor&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/service-adaptor&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/shortcut&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/storage&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/system&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/telephony&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ui&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/web&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_service&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_viewer_evas&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/wifi-direct&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/dbus-1.0/include&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/glib-2.0/include&quot;"/>
+ </option>
+ <option id="sbi.gnu.c.compiler.option.frameworks_cflags.core.1335549653" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.core" valueType="stringList">
+ <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value=" -fPIE"/>
+ <listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>
+ </option>
+ <option id="gnu.c.compiler.option.include.paths.1262290986" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/inc}&quot;"/>
+ </option>
+ <option id="sbi.gnu.c.compiler.option.frameworks.core.1551079274" superClass="sbi.gnu.c.compiler.option.frameworks.core" valueType="userObjs">
+ <listOptionValue builtIn="false" value="Native_API"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.488804943" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ </tool>
+ <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.694780675" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.1170346367" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker">
+ <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.1136599302" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.core" valueType="stringList">
+ <listOptionValue builtIn="false" value="${TC_LINKER_MISC}"/>
+ <listOptionValue builtIn="false" value="${RS_LINKER_MISC}"/>
+ <listOptionValue builtIn="false" value="-pie -lpthread "/>
+ <listOptionValue builtIn="false" value="-Xlinker -rpath=&quot;/home/developer/sdk_tools/lib&quot;"/>
+ <listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>
+ <listOptionValue builtIn="false" value="-Xlinker --version-script=&quot;${PROJ_PATH}/.exportMap&quot;"/>
+ <listOptionValue builtIn="false" value="-L&quot;${SBI_SYSROOT}/usr/lib&quot;"/>
+ <listOptionValue builtIn="false" value="$(RS_LIBRARIES)"/>
+ </option>
+ <option id="gnu.cpp.link.option.paths.218454445" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
+ <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/lib}&quot;"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.595153558" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
+ <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+ <additionalInput kind="additionalinput" paths="$(LIBS)"/>
+ </inputType>
+ </tool>
+ <tool command="i386-linux-gnueabi-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.891171508" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1139331433" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+ </tool>
+ <tool id="org.tizen.nativecore.tool.fnmapgen.1981214620" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/>
+ <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.768557962" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/>
+ <tool id="org.tizen.nativecore.tool.ast.1847330396" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/>
+ <tool id="org.tizen.nativecore.tool.ast.cpp.210086875" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/>
+ <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.126811865" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>
+ <tool id="org.tizen.nativecore.tool.sbi.po.compiler.1669561615" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>
+ <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.1456751661" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="res"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="shared"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <project id="share-panel.org.tizen.nativecore.target.sbi.gcc45.app.1745654308" name="Tizen Native Application" projectType="org.tizen.nativecore.target.sbi.gcc45.app"/>
+ </storageModule>
+ <storageModule moduleId="scannerConfiguration">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
+ <scannerConfigBuildInfo instanceId="org.tizen.nativecore.config.sbi.gcc45.app.release.1279236638">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="org.tizen.nativecore.config.sbi.gcc45.app.debug.447585960">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
+ </scannerConfigBuildInfo>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
+ <storageModule moduleId="refreshScope"/>
+</cproject>
diff --git a/.exportMap b/.exportMap
new file mode 100644
index 0000000..43e310e
--- /dev/null
+++ b/.exportMap
@@ -0,0 +1,4 @@
+{
+ global: main;
+ local: *;
+};
diff --git a/.project b/.project
new file mode 100644
index 0000000..1e04d7d
--- /dev/null
+++ b/.project
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>share-panel</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ <nature>org.eclipse.cdt.core.ccnature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+ </natures>
+ <filteredResources>
+ <filter>
+ <id>1453997725034</id>
+ <name></name>
+ <type>26</type>
+ <matcher>
+ <id>org.eclipse.ui.ide.multiFilter</id>
+ <arguments>1.0-projectRelativePath-matches-false-false-*/.tpk</arguments>
+ </matcher>
+ </filter>
+ <filter>
+ <id>1453997725040</id>
+ <name></name>
+ <type>6</type>
+ <matcher>
+ <id>org.eclipse.ui.ide.multiFilter</id>
+ <arguments>1.0-name-matches-false-false-project_def.prop</arguments>
+ </matcher>
+ </filter>
+ </filteredResources>
+</projectDescription>
diff --git a/CMakeLists.txt b/CMakeLists.txt
deleted file mode 100644
index 6b4ea38..0000000
--- a/CMakeLists.txt
+++ /dev/null
@@ -1,65 +0,0 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-
-PROJECT(share-panel C)
-
-SET(VERSION 0.1.0)
-
-SET(PACKAGE "org.tizen.${PROJECT_NAME}")
-SET(PREFIX ${CMAKE_INSTALL_PREFIX})
-SET(RESDIR "${PREFIX}/res")
-SET(EDJEDIR "${RESDIR}/edje")
-SET(LOCALEDIR "${RESDIR}/locale")
-
-SET(SRCS
- src/index.c
- src/grid.c
- src/ui_manager.c
- src/list.c
- src/page.c
- src/scroller.c
- src/share_panel.c
-)
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs REQUIRED
- aul
- capi-appfw-application
- capi-appfw-app-manager
- capi-system-system-settings
- capi-base-common
- capi-content-mime-type
- capi-ui-efl-util
- dlog
- elementary
- evas
- feedback
- isf
- notification
- efl-extension
-)
-
-FOREACH(flag ${pkgs_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden -g -Wall -O2")
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
-
-ADD_DEFINITIONS("-DPROJECT=\"${PROJECT_NAME}\"")
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DEDJEDIR=\"${EDJEDIR}\"")
-ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"")
-ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE}\"")
-
-ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
-TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS})
-
-INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
-
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/res/A01-1_icon_Menu.png DESTINATION res/images)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/${PACKAGE}.xml DESTINATION /usr/share/packages)
-
-# subdir
-ADD_SUBDIRECTORY(res)
-ADD_SUBDIRECTORY(po)
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index d645695..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/include/conf.h b/inc/conf.h
index 6ef3098..e5786ac 100644
--- a/include/conf.h
+++ b/inc/conf.h
@@ -38,6 +38,9 @@
/* PANEL_HEIGHT is changed from 368 to 320 about 87% decrease because of resolution issues. */
#define PANEL_HEIGHT (SCROLLER_HEIGHT+INDEX_HEIGHT+TITLE_HEIGHT)
-
+#define PROJECT "share-panel"
+#define PACKAGE "org.tizen.share-panel"
+#define LOCALEDIR "res/locale"
+#define EDJEDIR "res/edje"
#endif /* __TIZEN_SHARE_PANEL_CONF_H__ */
diff --git a/include/grid.h b/inc/grid.h
index 059e592..f19535a 100644
--- a/include/grid.h
+++ b/inc/grid.h
@@ -27,4 +27,6 @@ extern void _grid_remove_item(Evas_Object *grid, item_s *item_info);
extern int _grid_count_item(Evas_Object *grid);
+int _app_control_launch(item_s *item);
+
#endif /* __TIZEN_SHARE_PANEL_GRID_H__ */
diff --git a/include/index.h b/inc/index.h
index 3fca5cb..3fca5cb 100644
--- a/include/index.h
+++ b/inc/index.h
diff --git a/include/list.h b/inc/list.h
index be7b248..be7b248 100644
--- a/include/list.h
+++ b/inc/list.h
diff --git a/include/log.h b/inc/log.h
index 7e5279e..7e5279e 100644
--- a/include/log.h
+++ b/inc/log.h
diff --git a/include/page.h b/inc/page.h
index 560b74e..560b74e 100644
--- a/include/page.h
+++ b/inc/page.h
diff --git a/include/scroller.h b/inc/scroller.h
index 78c0665..78c0665 100644
--- a/include/scroller.h
+++ b/inc/scroller.h
diff --git a/include/share_panel.h b/inc/share_panel.h
index 9c8b0d1..9c8b0d1 100644
--- a/include/share_panel.h
+++ b/inc/share_panel.h
diff --git a/include/share_panel_internal.h b/inc/share_panel_internal.h
index 2cd4753..2cd4753 100644
--- a/include/share_panel_internal.h
+++ b/inc/share_panel_internal.h
diff --git a/include/ui_manager.h b/inc/ui_manager.h
index 660f743..660f743 100644
--- a/include/ui_manager.h
+++ b/inc/ui_manager.h
diff --git a/org.tizen.share-panel.manifest b/org.tizen.share-panel.manifest
deleted file mode 100644
index 97e8c31..0000000
--- a/org.tizen.share-panel.manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
- <request>
- <domain name="_"/>
- </request>
-</manifest>
diff --git a/org.tizen.share-panel.xml b/org.tizen.share-panel.xml
deleted file mode 100644
index 10f87f2..0000000
--- a/org.tizen.share-panel.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" package="org.tizen.share-panel" version="0.1.0" install-location="internal-only" api-version="2.4">
- <label>share-panel</label>
- <author email="jinny.yoon@samsung.com" href="www.samsung.com">Jin Yoon</author>
- <author email="moon87.park@samsung.com" href="www.samsung.com">Moonkyoung Park</author>
- <description>SHARE PANEL APPLICATION</description>
- <ui-application appid="org.tizen.share-panel" exec="/usr/apps/org.tizen.share-panel/bin/share-panel" nodisplay="true" multiple="false" type="capp" taskmanage="false" launch_mode="group">
- <label>Share panel</label>
- <label xml:lang="en-us">Share panel</label>
- </ui-application>
- <privileges>
- <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
- </privileges>
-
-</manifest>
diff --git a/packaging/share-panel.spec b/packaging/share-panel.spec
deleted file mode 100755
index 2c4b1f8..0000000
--- a/packaging/share-panel.spec
+++ /dev/null
@@ -1,83 +0,0 @@
-%define Exec share-panel
-%define AppInstallPath /usr/apps/%{name}
-
-Name: org.tizen.share-panel
-Summary: Share Panel
-Version: 0.1.0
-Release: 0
-Group: Application
-License: Apache-2.0
-Source0: %{name}-%{version}.tar.gz
-
-%if "%{?tizen_profile_name}" == "wearable"
-ExcludeArch: %{arm} %ix86 x86_64
-%endif
-
-%if "%{?tizen_profile_name}" == "tv"
-ExcludeArch: %{arm} %ix86 x86_64
-%endif
-
-BuildRequires: cmake
-BuildRequires: edje-tools
-BuildRequires: gettext-tools
-
-BuildRequires: pkgconfig(appcore-efl)
-BuildRequires: pkgconfig(aul)
-BuildRequires: pkgconfig(capi-appfw-application)
-BuildRequires: pkgconfig(capi-appfw-app-manager)
-BuildRequires: pkgconfig(capi-system-system-settings)
-BuildRequires: pkgconfig(capi-base-common)
-BuildRequires: pkgconfig(capi-content-mime-type)
-BuildRequires: pkgconfig(capi-ui-efl-util)
-BuildRequires: pkgconfig(dlog)
-BuildRequires: pkgconfig(ecore)
-BuildRequires: pkgconfig(edje)
-BuildRequires: pkgconfig(efl-extension)
-BuildRequires: pkgconfig(elementary)
-BuildRequires: pkgconfig(evas)
-BuildRequires: pkgconfig(feedback)
-BuildRequires: pkgconfig(isf)
-BuildRequires: pkgconfig(notification)
-
-%description
-Description: Share Panel
-
-%prep
-%setup -q
-
-%package devel
-Summary: Share panel library (devel)
-Group: Application
-Requires: %{name} = %{version}-%{release}
-
-%description devel
-Development files needed to build software that needs Share panel.
-
-%build
-export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
-export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
-export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
-
-%if 0%{?tizen_build_binary_release_type_eng}
-export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
-export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
-export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
-%endif
-
-%cmake . -DCMAKE_INSTALL_PREFIX="%{AppInstallPath}" -DCMAKE_TARGET="%{Exec}" -DCMAKE_PACKAGE="%{name}"
-make %{?jobs:-j%jobs}
-
-%install
-rm -rf %{buildroot}
-%make_install
-
-%post
-
-%files
-%manifest %{name}.manifest
-%{AppInstallPath}/bin/share-panel
-%{AppInstallPath}/res/*
-%{_datarootdir}/packages/%{name}.xml
-%{AppInstallPath}/res/locale/*/LC_MESSAGES/*
-
-
diff --git a/res/edje/conf.edc b/res/edje/conf.edc
index de97229..9c2356f 120000
--- a/res/edje/conf.edc
+++ b/res/edje/conf.edc
@@ -1 +1 @@
-../../include/conf.h \ No newline at end of file
+../../inc/conf.h \ No newline at end of file
diff --git a/share-panel.pc.in b/share-panel.pc.in
deleted file mode 100644
index f2de3d6..0000000
--- a/share-panel.pc.in
+++ /dev/null
@@ -1,9 +0,0 @@
-libdir=@LIBDIR@
-includedir=@INCLUDEDIR@
-
-Name: share-panel
-Description: share-panel supporting library
-Version: @VERSION@
-Requires: capi-base-common
-Libs: -L${libdir} -lshare-panel
-Cflags: -I${includedir}
diff --git a/shared/res/share-panel.png b/shared/res/share-panel.png
new file mode 100644
index 0000000..9765b1b
--- /dev/null
+++ b/shared/res/share-panel.png
Binary files differ
diff --git a/src/grid.c b/src/grid.c
index 5c8c80e..31f4af5 100644
--- a/src/grid.c
+++ b/src/grid.c
@@ -17,7 +17,8 @@
#include <Elementary.h>
#include <app.h>
#include <app_manager.h>
-#include <aul.h>
+#include <app_control.h>
+#include <bundle.h>
#include "share_panel_internal.h"
#include "conf.h"
@@ -26,38 +27,39 @@
#define PRIVATE_DATA_KEY_ITEM_INFO "pdkii"
+struct _launch_data {
+ app_control_h app_control;
+ app_control_h caller_control;
+ char *uri;
+ char *operation;
+ char **data_array;
+ int data_array_size;
+};
+typedef struct _launch_data launch_data_t;
-static const char *const FILE_LAYOUT_EDJ = EDJEDIR"/layout.edj";
static struct {
Elm_Gengrid_Item_Class *gic;
char *default_icon;
-
int index;
} grid_info = {
.gic = NULL,
.default_icon = "/usr/share/icons/A01-1_icon_Menu.png",
-
.index = 0,
};
-
-
static char *__text_get(void *data, Evas_Object *obj, const char *part)
{
item_s *info = data;
retv_if(!info, NULL);
retv_if(!info->name, NULL);
- if (!strcmp(part, "elm.text")) {
+ if (!strcmp(part, "elm.text"))
return strdup(D_(info->name));
- }
return NULL;
}
-
-
#define FILE_ITEM_EDJ EDJEDIR"/item.edj"
static Evas_Object *__add_icon(Evas_Object *parent, const char *file)
{
@@ -100,8 +102,6 @@ static Evas_Object *__add_icon(Evas_Object *parent, const char *file)
return icon_layout;
}
-
-
static Evas_Object *__content_get(void *data, Evas_Object *obj, const char *part)
{
item_s *info = data;
@@ -125,15 +125,125 @@ static Evas_Object *__content_get(void *data, Evas_Object *obj, const char *part
return NULL;
}
-
-
static void __del(void *data, Evas_Object *obj)
{
ret_if(NULL == data);
evas_object_data_del(obj, PRIVATE_DATA_KEY_ITEM_INFO);
}
+static void _app_control_launch_release(launch_data_t launch_data)
+{
+ int i;
+
+ if(launch_data.app_control)
+ app_control_destroy(launch_data.app_control);
+
+ if(launch_data.caller_control)
+ app_control_destroy(launch_data.caller_control);
+
+ free(launch_data.operation);
+ free(launch_data.uri);
+
+ if (!launch_data.data_array)
+ return;
+
+ for (i = 0; i < launch_data.data_array_size; i++)
+ free(launch_data.data_array[i]);
+}
+
+static bool _app_control_error_handle(launch_data_t launch_data, int ret_value, const char *func_name)
+{
+ if (ret_value != APP_CONTROL_ERROR_NONE) {
+ _app_control_launch_release(launch_data);
+ _E("(ret != APP_CONTROL_ERROR_NONE) -> %s() return", func_name);
+ return true;
+ }
+
+ return false;
+}
+
+static void __bundle_data_foreach_cb(const char *key, const int type, const bundle_keyval_t *kv, void *user_data)
+{
+ app_control_h app_control = (app_control_h)user_data;
+ int ret;
+ void *val = NULL;
+ size_t size = 0;
+ void **array_val = NULL;
+ unsigned int array_len = 0;
+ size_t *array_elem_size = NULL;
+
+ if (bundle_keyval_type_is_array((bundle_keyval_t *)kv)) {
+ ret = bundle_keyval_get_array_val((bundle_keyval_t *)kv, &array_val, &array_len, &array_elem_size);
+ ret_if(ret != BUNDLE_ERROR_NONE);
+
+ ret = app_control_add_extra_data_array(app_control, key, (const char **)array_val, array_len);
+ ret_if(ret != APP_CONTROL_ERROR_NONE);
+ } else {
+ ret = bundle_keyval_get_basic_val((bundle_keyval_t *)kv, &val, &size);
+ ret_if(ret != BUNDLE_ERROR_NONE);
+
+ app_control_add_extra_data(app_control, key, (const char *)val);
+ ret_if(ret != APP_CONTROL_ERROR_NONE);
+ }
+}
+
+int _app_control_launch(item_s *item)
+{
+ int ret = APP_CONTROL_ERROR_NONE;
+ launch_data_t launch_data = {0,};
+
+ ret = app_control_create(&launch_data.app_control);
+ retv_if(ret != APP_CONTROL_ERROR_NONE, ret);
+
+ ret = app_control_create(&launch_data.caller_control);
+ if (_app_control_error_handle(launch_data, ret, "app_control_create"))
+ return ret;
+
+ bundle_foreach(item->b, __bundle_data_foreach_cb, (void *)launch_data.caller_control);
+
+ ret = app_control_get_operation(launch_data.caller_control, &launch_data.operation);
+ if (_app_control_error_handle(launch_data, ret, "app_control_get_operation"))
+ return ret;
+
+ ret = app_control_get_uri(launch_data.caller_control, &launch_data.uri);
+ if (_app_control_error_handle(launch_data, ret, "app_control_get_uri"))
+ return ret;
+
+ ret = app_control_get_extra_data_array(launch_data.caller_control, TIZEN_DATA_PATH, &launch_data.data_array, &launch_data.data_array_size);
+ if (_app_control_error_handle(launch_data, ret, "app_control_get_extra_data_array"))
+ return ret;
+
+ _D("Operation: %s", launch_data.operation);
+ ret = app_control_set_operation(launch_data.app_control, launch_data.operation);
+ if (_app_control_error_handle(launch_data, ret, "app_control_set_operation"))
+ return ret;
+
+ ret = app_control_set_uri(launch_data.app_control, launch_data.uri);
+ if (_app_control_error_handle(launch_data, ret, "app_control_set_uri"))
+ return ret;
+
+ ret = app_control_add_extra_data_array(launch_data.app_control, TIZEN_DATA_PATH, (const char **)launch_data.data_array, launch_data.data_array_size);
+ if (_app_control_error_handle(launch_data, ret, "app_control_add_extra_data_array"))
+ return ret;
+
+ ret = app_control_set_app_id(launch_data.app_control, item->appid);
+ if (_app_control_error_handle(launch_data, ret, "app_control_set_app_id"))
+ return ret;
+
+ ret = app_control_set_launch_mode(launch_data.app_control, APP_CONTROL_LAUNCH_MODE_GROUP);
+ if (_app_control_error_handle(launch_data, ret, "app_control_set_launch_mode"))
+ return ret;
+
+ ret = app_control_send_launch_request(launch_data.app_control, NULL, NULL);
+ if (_app_control_error_handle(launch_data, ret, "app_control_send_launch_request"))
+ return ret;
+
+ _D("app launched");
+
+ _app_control_launch_release(launch_data);
+ return ret;
+}
static void __item_selected(void *data, Evas_Object *obj, void *event_info)
{
@@ -152,18 +262,15 @@ static void __item_selected(void *data, Evas_Object *obj, void *event_info)
ret_if(!selected_item);
elm_gengrid_item_selected_set(selected_item, EINA_FALSE);
-
- ret = aul_forward_app(item_info->appid, item_info->b);
- if (ret < 0) {
+ ret = _app_control_launch(item_info);
+ if (ret < 0)
_E("Fail to launch app(%d)", ret);
- }
item_info->share_panel->after_launch = 1;
+
elm_object_signal_emit(item_info->share_panel->ui_manager, "show", "blocker");
}
-
-
static void __lang_changed_cb(void *data, Evas_Object *grid, void *event_info)
{
Elm_Object_Item *it = NULL;
@@ -177,10 +284,16 @@ static void __lang_changed_cb(void *data, Evas_Object *grid, void *event_info)
char *name = NULL;
item_info = evas_object_data_get(it, PRIVATE_DATA_KEY_ITEM_INFO);
- goto_if(!item_info, next);
+ if (!item_info) {
+ it = elm_gengrid_item_next_get(it);
+ continue;
+ }
ret = app_info_create(item_info->appid, &app_info);
- goto_if(ret != APP_MANAGER_ERROR_NONE && !app_info, next);
+ if (ret != APP_MANAGER_ERROR_NONE && !app_info) {
+ it = elm_gengrid_item_next_get(it);
+ continue;
+ }
ret = app_info_get_label(app_info, &name);
if (ret == APP_MANAGER_ERROR_NONE && name) {
@@ -193,14 +306,9 @@ static void __lang_changed_cb(void *data, Evas_Object *grid, void *event_info)
}
app_info_destroy(app_info);
-
-next:
- it = elm_gengrid_item_next_get(it);
}
}
-
-
Evas_Object *_grid_create(Evas_Object *page)
{
Evas_Object *grid = NULL;
@@ -208,7 +316,10 @@ Evas_Object *_grid_create(Evas_Object *page)
retv_if(!page, NULL);
grid = elm_gengrid_add(page);
- goto_if(!grid, ERROR);
+ if (!grid) {
+ _grid_destroy(grid);
+ return NULL;
+ }
evas_object_size_hint_weight_set(grid, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(grid, EVAS_HINT_FILL, EVAS_HINT_FILL);
@@ -219,7 +330,11 @@ Evas_Object *_grid_create(Evas_Object *page)
elm_gengrid_multi_select_set(grid, EINA_FALSE);
grid_info.gic = elm_gengrid_item_class_new();
- goto_if(!grid_info.gic, ERROR);
+ if (!grid_info.gic) {
+ _grid_destroy(grid);
+ return NULL;
+ }
+
grid_info.gic->func.text_get = __text_get;
grid_info.gic->func.content_get = __content_get;
grid_info.gic->func.state_get = NULL;
@@ -232,14 +347,8 @@ Evas_Object *_grid_create(Evas_Object *page)
evas_object_show(grid);
return grid;
-
-ERROR:
- _grid_destroy(grid);
- return NULL;
}
-
-
void _grid_destroy(Evas_Object *grid)
{
ret_if(!grid);
@@ -247,23 +356,20 @@ void _grid_destroy(Evas_Object *grid)
evas_object_del(grid);
}
-
-
Elm_Object_Item *_grid_append_item(Evas_Object *grid, item_s *item_info)
{
Elm_Object_Item *item = NULL;
retv_if(!grid, NULL);
retv_if(!item_info, NULL);
-
retv_if(!grid_info.gic, NULL);
item = elm_gengrid_item_append(grid, grid_info.gic, item_info, __item_selected, item_info);
retv_if(!item, NULL);
evas_object_data_set(item, PRIVATE_DATA_KEY_ITEM_INFO, item_info);
- if (item_info->name) {
+ if (item_info->name)
_D("grid append item : %s", item_info->name);
- }
+
item_info->grid_item = item;
elm_gengrid_item_show(item, ELM_GENGRID_ITEM_SCROLLTO_NONE);
elm_gengrid_item_update(item);
@@ -271,8 +377,6 @@ Elm_Object_Item *_grid_append_item(Evas_Object *grid, item_s *item_info)
return item;
}
-
-
void _grid_remove_item(Evas_Object *grid, item_s *item_info)
{
Elm_Object_Item *item = NULL;
@@ -288,8 +392,6 @@ void _grid_remove_item(Evas_Object *grid, item_s *item_info)
item_info->grid_item = NULL;
}
-
-
int _grid_count_item(Evas_Object *grid)
{
int count = 0;
diff --git a/src/list.c b/src/list.c
index 4378ee6..11d1bb6 100644
--- a/src/list.c
+++ b/src/list.c
@@ -19,13 +19,13 @@
#include <app_manager.h>
#include <glib.h>
#include <mime_type.h>
+#include <bundle.h>
#include "share_panel.h"
#include "share_panel_internal.h"
#include "log.h"
-
static bool __app_control_matched_cb(app_control_h service, const char *appid, void *user_data)
{
Eina_List **list = user_data;
@@ -50,14 +50,12 @@ static bool __app_control_matched_cb(app_control_h service, const char *appid, v
}
-
static void __create_single_share_list(app_control_h control, Eina_List **list)
{
app_control_foreach_app_matched(control, __app_control_matched_cb, list);
}
-
static int __get_file_ext(const char *filepath, char **file_ext)
{
const char *filename = NULL;
@@ -83,7 +81,6 @@ static int __get_file_ext(const char *filepath, char **file_ext)
}
-
static inline void __get_mime(const char *file_path, char **mime)
{
char *ext = NULL;
@@ -119,7 +116,6 @@ static inline void __get_mime(const char *file_path, char **mime)
}
-
static bool __app_control_file_matched_cb(app_control_h service, const char *appid, void *user_data)
{
Eina_List **sublist = user_data;
@@ -129,7 +125,6 @@ static bool __app_control_file_matched_cb(app_control_h service, const char *app
}
-
static void __intersect_match_list_with_mime(Eina_List **matchlist, const char *mime, const char *uri)
{
app_control_h control;
@@ -177,7 +172,6 @@ static void __intersect_match_list_with_mime(Eina_List **matchlist, const char *
}
-
static void __trim_uri(app_control_h control)
{
char *uri = NULL;
@@ -205,8 +199,6 @@ static void __trim_uri(app_control_h control)
free(uri);
}
-
-
#define CONTACT_MIME "application/vnd.tizen.contact"
static void __create_multi_share_list(app_control_h control, Eina_List **matchlist)
{
@@ -218,7 +210,7 @@ static void __create_multi_share_list(app_control_h control, Eina_List **matchli
int i;
int length = 0;
- int res;
+ int ret;
app_control_get_mime(control, &contact_mime);
@@ -227,9 +219,9 @@ static void __create_multi_share_list(app_control_h control, Eina_List **matchli
__intersect_match_list_with_mime(matchlist, contact_mime, uri);
return;
} else {
- res = app_control_get_extra_data_array(control, TIZEN_DATA_PATH, &data_array, &length);
- if (res != APP_CONTROL_ERROR_NONE) {
- _E("app_control_get_extra_data_array failed..[%d]", res);
+ ret = app_control_get_extra_data_array(control, TIZEN_DATA_PATH, &data_array, &length);
+ if (ret != APP_CONTROL_ERROR_NONE) {
+ _E("app_control_get_extra_data_array failed..[%d]", ret);
}
}
for (i = 0; i < length; i++) {
@@ -270,19 +262,17 @@ out:
}
-
static int __applist_compare(const void *com1, const void *com2)
{
item_s *c1 = (item_s *)com1, *c2 = (item_s *)com2;
- int res = 0;
+ int ret = 0;
- res = strcasecmp(c1->name, c2->name);
+ ret = strcasecmp(c1->name, c2->name);
- return res;
+ return ret;
}
-
static void __make_applist(share_panel_h share_panel, Eina_List *matchlist, Eina_List **applist)
{
Eina_List *l;
@@ -347,7 +337,6 @@ static void __make_applist(share_panel_h share_panel, Eina_List *matchlist, Eina
}
-
Eina_List *_list_create(share_panel_h share_panel)
{
Eina_List *matchlist = NULL;
@@ -386,7 +375,6 @@ Eina_List *_list_create(share_panel_h share_panel)
}
-
void _list_destroy(Eina_List *list)
{
ret_if(!list);
diff --git a/src/scroller.c b/src/scroller.c
index 4e7a28f..2c8f8bf 100644
--- a/src/scroller.c
+++ b/src/scroller.c
@@ -28,7 +28,6 @@
#define PRIVATE_DATA_KEY_EVENT_CALLBACK_LIST "pdkec"
-
struct _event_cb {
int event_type;
void (*event_cb)(Evas_Object *scroller, int event_type, void *event_info, void *user_data);
@@ -37,7 +36,6 @@ struct _event_cb {
typedef struct _event_cb event_cb_s;
-
int _scroller_is_scrolling(Evas_Object *scroller)
{
retv_if(!scroller, 0);
@@ -45,7 +43,6 @@ int _scroller_is_scrolling(Evas_Object *scroller)
}
-
static void __anim_start_cb(void *data, Evas_Object *scroller, void *event_info)
{
_D("start the scroller(%p) animation", scroller);
@@ -53,7 +50,6 @@ static void __anim_start_cb(void *data, Evas_Object *scroller, void *event_info)
}
-
static void __anim_stop_cb(void *data, Evas_Object *scroller, void *event_info)
{
_D("stop the scroller(%p) animation", scroller);
@@ -61,21 +57,18 @@ static void __anim_stop_cb(void *data, Evas_Object *scroller, void *event_info)
}
-
static void __drag_start_cb(void *data, Evas_Object *scroller, void *event_info)
{
_D("start to drag the scroller(%p)", scroller);
}
-
static void __drag_stop_cb(void *data, Evas_Object *scroller, void *event_info)
{
_D("stop to drag the scroller(%p) animation", scroller);
}
-
static void __scroll_cb(void *data, Evas_Object *scroller, void *event_info)
{
share_panel_h share_panel = data;
@@ -100,7 +93,6 @@ static void __scroll_cb(void *data, Evas_Object *scroller, void *event_info)
}
-
Evas_Object *_scroller_create(Evas_Object *ui_manager, share_panel_h share_panel)
{
Evas_Object *box = NULL;
@@ -150,7 +142,6 @@ ERROR:
}
-
void _scroller_destroy(Evas_Object *scroller)
{
Evas_Object *box = NULL;
@@ -171,7 +162,6 @@ void _scroller_destroy(Evas_Object *scroller)
}
-
void _scroller_append_page(Evas_Object *scroller, Evas_Object *page)
{
Evas_Object *box = NULL;
@@ -198,7 +188,6 @@ void _scroller_append_page(Evas_Object *scroller, Evas_Object *page)
}
-
void _scroller_remove_page(Evas_Object *scroller, Evas_Object *page)
{
Evas_Object *box = NULL;
@@ -242,7 +231,6 @@ void _scroller_remove_page(Evas_Object *scroller, Evas_Object *page)
}
-
void _scroller_append_list(Evas_Object *scroller, Eina_List *list, int page_width, int page_height)
{
Evas_Object *page = NULL;
@@ -278,7 +266,6 @@ void _scroller_append_list(Evas_Object *scroller, Eina_List *list, int page_widt
}
-
void _scroller_remove_list(Evas_Object *scroller, Eina_List *list)
{
Evas_Object *page = NULL;
@@ -297,7 +284,6 @@ void _scroller_remove_list(Evas_Object *scroller, Eina_List *list)
}
-
int _scroller_get_region_index(Evas_Object *scroller)
{
int index = 0;
@@ -319,7 +305,6 @@ int _scroller_get_region_index(Evas_Object *scroller)
}
-
unsigned int _scroller_count(Evas_Object *scroller)
{
Evas_Object *box = NULL;
@@ -341,7 +326,6 @@ unsigned int _scroller_count(Evas_Object *scroller)
}
-
void _scroller_bring_in_page(Evas_Object *scroller, Evas_Object *page)
{
Evas_Object *box = NULL;
@@ -375,7 +359,6 @@ void _scroller_bring_in_page(Evas_Object *scroller, Evas_Object *page)
}
-
void _scroller_resize(Evas_Object *scroller, int width, int height)
{
Evas_Object *box = NULL;
@@ -403,7 +386,6 @@ void _scroller_resize(Evas_Object *scroller, int width, int height)
}
-
int _scroller_register_event_cb(Evas_Object *scroller, int event_type, void (*event_cb)(Evas_Object *scroller, int event_type, void *event_info, void *user_data), void *user_data)
{
Eina_List *event_cb_list = NULL;
@@ -429,7 +411,6 @@ int _scroller_register_event_cb(Evas_Object *scroller, int event_type, void (*ev
}
-
int _scroller_unregister_event_cb(Evas_Object *scroller, int event_type, void (*event_cb)(Evas_Object *scroller, int event_type, void *event_info, void *user_data))
{
Eina_List *event_cb_list = NULL;
diff --git a/src/share_panel.c b/src/share_panel.c
index 5007744..1d1c054 100644
--- a/src/share_panel.c
+++ b/src/share_panel.c
@@ -17,12 +17,10 @@
#include <app.h>
#include <app_control.h>
#include <app_control_internal.h>
-#include <aul.h>
#include <bundle.h>
#include <bundle_internal.h>
-#include <efl_util.h>
#include <Elementary.h>
-#include <isf_control.h>
+#include <efl_util.h>
#include <system_settings.h>
#include "share_panel.h"
@@ -41,14 +39,12 @@
#define TRANSIT_DURATION 0.5f
-
typedef struct custom_effect {
Evas_Coord from_h;
Evas_Coord to_h;
} custom_effect_s;
-
static Eina_Bool _back_key_pressed(void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type type, void *event_info)
{
Evas_Event_Key_Down *ev = event_info;
@@ -60,7 +56,6 @@ static Eina_Bool _back_key_pressed(void *data, Evas_Object *obj, Evas_Object *sr
if (type == EVAS_CALLBACK_KEY_DOWN && !strncmp(KEY_BACK, ev->key, strlen(KEY_BACK))) {
_D("KEY PRESSED: %s", ev->key);
- _ui_manager_reply_to_cancellation(share_panel);
ui_app_exit();
return EINA_TRUE;
} else {
@@ -69,7 +64,6 @@ static Eina_Bool _back_key_pressed(void *data, Evas_Object *obj, Evas_Object *sr
}
-
static void _rotate_cb(void *data, Evas_Object *obj, void *event)
{
int angle = 0;
@@ -102,7 +96,6 @@ static void _rotate_cb(void *data, Evas_Object *obj, void *event)
}
-
static Evas_Object *__create_win(share_panel_h share_panel)
{
Evas_Object *win = NULL;
@@ -149,14 +142,12 @@ error:
}
-
static void __destroy_win(Evas_Object *win)
{
evas_object_del(win);
}
-
EAPI int share_panel_create(app_control_h control, share_panel_h *share_panel)
{
share_panel_h panel = NULL;
@@ -203,7 +194,6 @@ ERROR:
}
-
EAPI int share_panel_destroy(share_panel_h share_panel)
{
retv_if(!share_panel, SHARE_PANEL_ERROR_INVALID_PARAMETER);
@@ -217,13 +207,13 @@ EAPI int share_panel_destroy(share_panel_h share_panel)
__destroy_win(share_panel->win);
}
+ app_control_destroy(share_panel->control);
free(share_panel);
return SHARE_PANEL_ERROR_NONE;
}
-
EAPI int share_panel_show(share_panel_h share_panel)
{
retv_if(!share_panel, SHARE_PANEL_ERROR_INVALID_PARAMETER);
@@ -232,7 +222,6 @@ EAPI int share_panel_show(share_panel_h share_panel)
}
-
EAPI int share_panel_hide(share_panel_h share_panel)
{
retv_if(!share_panel, SHARE_PANEL_ERROR_INVALID_PARAMETER);
@@ -241,7 +230,6 @@ EAPI int share_panel_hide(share_panel_h share_panel)
}
-
static bool _create_cb(void *data)
{
elm_app_base_scale_set(1.7);
@@ -250,7 +238,6 @@ static bool _create_cb(void *data)
}
-
static void _terminate_cb(void *data)
{
share_panel_h *share_panel = data;
@@ -262,7 +249,6 @@ static void _terminate_cb(void *data)
}
-
static void _app_control(app_control_h control, void *data)
{
share_panel_h *share_panel = data;
@@ -281,8 +267,6 @@ static void _app_control(app_control_h control, void *data)
share_panel_show(*share_panel);
}
-
-
static void _pause_cb(void *data)
{
share_panel_h *share_panel = data;
@@ -292,8 +276,6 @@ static void _pause_cb(void *data)
ui_app_exit();
}
-
-
static void _language_changed(app_event_info_h event_info, void *data)
{
char *lang = NULL;
@@ -314,7 +296,6 @@ static void _language_changed(app_event_info_h event_info, void *data)
}
-
int main(int argc, char **argv)
{
int ret;
diff --git a/src/ui_manager.c b/src/ui_manager.c
index d9f7ac7..2bed036 100644
--- a/src/ui_manager.c
+++ b/src/ui_manager.c
@@ -16,16 +16,15 @@
#include <app.h>
#include <app_control_internal.h>
-#include <aul.h>
#include <bundle.h>
#include <bundle_internal.h>
#include <Elementary.h>
-#include <aul_svc.h>
#include <notification.h>
#include "share_panel_internal.h"
#include "share_panel.h"
#include "log.h"
+#include "grid.h"
#include "list.h"
#include "page.h"
#include "index.h"
@@ -37,7 +36,6 @@
#define GROUP_LAYOUT "layout"
-
static void __resize_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
{
Evas_Object *ui_manager = obj;
@@ -51,7 +49,6 @@ static void __resize_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
}
-
static void _scroll_cb(Evas_Object *scroller, int event_type, void *event_info, void *data)
{
Evas_Object *index = data;
@@ -66,7 +63,6 @@ static void _scroll_cb(Evas_Object *scroller, int event_type, void *event_info,
}
-
static void _append_page_cb(Evas_Object *scroller, int event_type, void *event_info, void *data)
{
Evas_Object *index = data;
@@ -81,7 +77,6 @@ static void _append_page_cb(Evas_Object *scroller, int event_type, void *event_i
}
-
static void _remove_page_cb(Evas_Object *scroller, int event_type, void *event_info, void *data)
{
Evas_Object *index = data;
@@ -96,7 +91,6 @@ static void _remove_page_cb(Evas_Object *scroller, int event_type, void *event_i
}
-
static void __click_back_btn_cb(void *data, Evas_Object *obj, void *event_info)
{
share_panel_s *share_panel = data;
@@ -104,12 +98,10 @@ static void __click_back_btn_cb(void *data, Evas_Object *obj, void *event_info)
ret_if(!share_panel);
_D("back button clicked, destroy the share-panel");
- _ui_manager_reply_to_cancellation(share_panel);
share_panel_destroy(share_panel);
}
-
Evas_Object *__create_back_btn(Evas_Object *ui_manager, share_panel_s *share_panel)
{
Evas_Object *button = NULL;
@@ -130,7 +122,6 @@ Evas_Object *__create_back_btn(Evas_Object *ui_manager, share_panel_s *share_pan
}
-
void __destroy_back_btn(Evas_Object *button)
{
ret_if(!button);
@@ -139,7 +130,6 @@ void __destroy_back_btn(Evas_Object *button)
}
-
Evas_Object *__create_bg_rect(Evas_Object *ui_manager, int width, int height)
{
Evas_Object *ui_bg = NULL;
@@ -158,7 +148,6 @@ Evas_Object *__create_bg_rect(Evas_Object *ui_manager, int width, int height)
}
-
void __destroy_bg_rect(Evas_Object *bg)
{
ret_if(!bg);
@@ -167,7 +156,6 @@ void __destroy_bg_rect(Evas_Object *bg)
}
-
Evas_Object *_ui_manager_create(share_panel_s *share_panel)
{
Evas_Object *ui_manager = NULL;
@@ -202,13 +190,16 @@ Evas_Object *_ui_manager_create(share_panel_s *share_panel)
goto_if(!share_panel->scroller, ERROR);
elm_object_part_content_set(ui_manager, "scroller", share_panel->scroller);
- if (SHARE_PANEL_ERROR_NONE != _scroller_register_event_cb(share_panel->scroller, SCROLLER_EVENT_TYPE_SCROLL, _scroll_cb, share_panel->index)) {
+ if (SHARE_PANEL_ERROR_NONE != _scroller_register_event_cb(share_panel->scroller,
+ SCROLLER_EVENT_TYPE_SCROLL, _scroll_cb, share_panel->index)) {
_E("cannot register the scroller event");
}
- if (SHARE_PANEL_ERROR_NONE != _scroller_register_event_cb(share_panel->scroller, SCROLLER_EVENT_TYPE_APPEND_PAGE, _append_page_cb, share_panel->index)) {
+ if (SHARE_PANEL_ERROR_NONE != _scroller_register_event_cb(share_panel->scroller,
+ SCROLLER_EVENT_TYPE_APPEND_PAGE, _append_page_cb, share_panel->index)) {
_E("cannot register the scroller event");
}
- if (SHARE_PANEL_ERROR_NONE != _scroller_register_event_cb(share_panel->scroller, SCROLLER_EVENT_TYPE_REMOVE_PAGE, _remove_page_cb, share_panel->index)) {
+ if (SHARE_PANEL_ERROR_NONE != _scroller_register_event_cb(share_panel->scroller,
+ SCROLLER_EVENT_TYPE_REMOVE_PAGE, _remove_page_cb, share_panel->index)) {
_E("cannot register the scroller event");
}
@@ -224,12 +215,12 @@ Evas_Object *_ui_manager_create(share_panel_s *share_panel)
item_s *item_info = NULL;
int ret = 0;
- _D("item list is 1, launch app right");
+ _D("Only one item on the list. Launching.");
item_info = eina_list_nth(share_panel->list, 0);
goto_if(!item_info, ERROR);
- ret = aul_forward_app(item_info->appid, item_info->b);
+ _app_control_launch(item_info);
if (ret < 0) {
_E("Fail to launch app(%d)", ret);
}
@@ -262,7 +253,6 @@ ERROR:
}
-
void _ui_manager_destroy(Evas_Object *ui_manager)
{
Evas_Object *button = NULL;
@@ -274,6 +264,7 @@ void _ui_manager_destroy(Evas_Object *ui_manager)
ret_if(!share_panel);
if (share_panel->list) {
+ _scroller_remove_list(share_panel->scroller, share_panel->list);
_list_destroy(share_panel->list);
}
@@ -302,7 +293,6 @@ void _ui_manager_destroy(Evas_Object *ui_manager)
}
-
void _ui_manager_resize(Evas_Object *ui_manager, int width, int height)
{
ret_if(!ui_manager);
@@ -315,7 +305,6 @@ void _ui_manager_resize(Evas_Object *ui_manager, int width, int height)
}
-
int _ui_manager_show(share_panel_h share_panel)
{
retv_if(!share_panel, SHARE_PANEL_ERROR_INVALID_PARAMETER);
@@ -329,7 +318,6 @@ int _ui_manager_show(share_panel_h share_panel)
}
-
int _ui_manager_hide(share_panel_h share_panel)
{
retv_if(!share_panel, SHARE_PANEL_ERROR_INVALID_PARAMETER);
@@ -340,48 +328,3 @@ int _ui_manager_hide(share_panel_h share_panel)
return SHARE_PANEL_ERROR_NONE;
}
-
-
-
-void _ui_manager_reply_to_cancellation(share_panel_h share_panel)
-{
- bundle *kb = NULL;
- const char *pid = NULL;
- char callee_pid[20] = {0, };
- int ret;
-
- ret_if(!share_panel);
- ret_if(!share_panel->b);
- pid = bundle_get_val(share_panel->b, AUL_K_CALLER_PID);
- ret_if(!pid);
-
- kb = bundle_create();
- ret_if(!kb);
-
- ret = bundle_add(kb, AUL_K_SEND_RESULT, "1");
- if (ret != BUNDLE_ERROR_NONE) {
- _E("Fail to bundle add (%d)", ret);
- goto OUT;
- }
-
- ret = bundle_add(kb, AUL_K_CALLER_PID, pid);
- if (ret != BUNDLE_ERROR_NONE) {
- _E("Fail to bundle add (%d)", ret);
- goto OUT;
- }
-
- snprintf(callee_pid, sizeof(callee_pid), "%d", getpid());
- ret = bundle_add(kb, AUL_K_CALLEE_PID, (const char *) callee_pid);
- if (ret != BUNDLE_ERROR_NONE) {
- _E("Fail to bundle add (%d)", ret);
- goto OUT;
- }
-
- ret = aul_svc_send_result(kb, AUL_SVC_RES_CANCEL);
- if (ret != AUL_R_OK) {
- _E("aul svc send result error(%d)", ret);
- }
-
-OUT:
- bundle_free(kb);
-}
diff --git a/tizen-manifest.xml b/tizen-manifest.xml
new file mode 100644
index 0000000..b4ede5f
--- /dev/null
+++ b/tizen-manifest.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" install-location="internal-only" package="org.tizen.share-panel" version="1.0.0">
+ <profile name="mobile"/>
+ <ui-application appid="org.tizen.share-panel" exec="share-panel" hw-acceleration="on" launch_mode="group" multiple="false" nodisplay="true" type="capp">
+ <label>share-panel</label>
+ <icon>share-panel.png</icon>
+ <app-control>
+ <mime name="*/*"/>
+ <operation name="http://tizen.org/appcontrol/operation/share"/>
+ </app-control>
+ <app-control>
+ <operation name="http://tizen.org/appcontrol/operation/multi_share"/>
+ <mime name="*/*"/>
+ </app-control>
+ </ui-application>
+ <privileges>
+ <privilege>http://tizen.org/privilege/packagemanager.info</privilege>
+ <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
+ </privileges>
+</manifest>