diff options
author | Andrey Klimenko <and.klimenko@samsung.com> | 2016-04-29 14:03:59 +0300 |
---|---|---|
committer | Andrey Klimenko <and.klimenko@samsung.com> | 2016-05-26 06:55:00 -0700 |
commit | 76e955a1b1743a8bd65ec2c7c3b3f141a6c4403b (patch) | |
tree | e5c989eba89163e790e4810938c36f935a9cd311 | |
parent | c41e592d590b7e7c7a4c4008d774911bdef5d6bc (diff) | |
download | libug-worldclock-efl-76e955a1b1743a8bd65ec2c7c3b3f141a6c4403b.tar.gz libug-worldclock-efl-76e955a1b1743a8bd65ec2c7c3b3f141a6c4403b.tar.bz2 libug-worldclock-efl-76e955a1b1743a8bd65ec2c7c3b3f141a6c4403b.zip |
Restoring SDK-build back
Revert "Revert "TizenRefApp-5575 prepare sdk-build for org.tizen.libug-worldclock-efl""
This reverts commit 0173aefda43b745aae865e7fccedc89df426009e.
Signed-off-by: Andrey Klimenko <and.klimenko@samsung.com>
Conflicts:
worldclock-efl.xml
Change-Id: I90f75adf83986986ba337d91dd05df2552404829
-rw-r--r-- | .cproject | 773 | ||||
-rw-r--r-- | .exportMap | 4 | ||||
-rw-r--r-- | .project | 52 | ||||
-rw-r--r-- | .tproject | 12 | ||||
-rw-r--r-- | CMakeLists.txt | 24 | ||||
-rw-r--r-- | edje/images/clock_world_ic_location.png (renamed from res/images/clock_world_ic_location.png) | bin | 1834 -> 1834 bytes | |||
-rw-r--r-- | inc/clock_fwk_icu_label.h (renamed from include/clock_fwk_icu_label.h) | 0 | ||||
-rw-r--r-- | inc/ug_worldclock_efl.h (renamed from include/ug_worldclock_efl.h) | 0 | ||||
-rw-r--r-- | inc/worldclock.h (renamed from include/worldclock.h) | 6 | ||||
-rw-r--r-- | inc/worldclock_add_view.h (renamed from include/worldclock_add_view.h) | 0 | ||||
-rw-r--r-- | inc/worldclock_const.h (renamed from include/worldclock_const.h) | 6 | ||||
-rw-r--r-- | inc/worldclock_data.h (renamed from include/worldclock_data.h) | 0 | ||||
-rw-r--r-- | inc/worldclock_dlog.h (renamed from include/worldclock_dlog.h) | 5 | ||||
-rw-r--r-- | inc/worldclock_fwk_icu.h (renamed from include/worldclock_fwk_icu.h) | 0 | ||||
-rw-r--r-- | inc/worldclock_timezone.h (renamed from include/worldclock_timezone.h) | 0 | ||||
-rw-r--r-- | inc/worldclock_types.h (renamed from include/worldclock_types.h) | 0 | ||||
-rw-r--r-- | inc/worldclock_util.h (renamed from include/worldclock_util.h) | 6 | ||||
-rw-r--r-- | libug-worldclock-efl.manifest | 4 | ||||
-rw-r--r-- | packaging/libug-worldclock-efl.spec | 28 | ||||
-rw-r--r-- | project_def.prop | 11 | ||||
-rw-r--r-- | res/edje/worldclock.edc (renamed from res/edc/worldclock.edc) | 6 | ||||
-rw-r--r-- | res/edje/worldclock_add.edc (renamed from res/edc/worldclock_add.edc) | 13 | ||||
-rw-r--r-- | res/misc/CMakeLists.txt | 14 | ||||
-rw-r--r-- | res/po/CMakeLists.txt | 2 | ||||
-rw-r--r-- | shared/res/libug-worldclock-efl.png | bin | 0 -> 57662 bytes | |||
-rw-r--r-- | shared/res/worldclock.db | bin | 0 -> 47104 bytes | |||
-rw-r--r-- | shared/res/worldclock.db-journal | bin | 0 -> 3608 bytes | |||
-rw-r--r-- | src/CMakeLists.txt | 22 | ||||
-rw-r--r-- | src/ug_worldclock_efl.c | 374 | ||||
-rw-r--r-- | src/worldclock_add_view.c | 25 | ||||
-rw-r--r-- | src/worldclock_data.c | 30 | ||||
-rw-r--r-- | src/worldclock_util.c | 34 | ||||
-rw-r--r-- | tizen-manifest.xml | 13 | ||||
-rw-r--r-- | tzlist.ini | 224 | ||||
-rw-r--r-- | worldclock-efl.xml | 17 |
35 files changed, 1132 insertions, 573 deletions
diff --git a/.cproject b/.cproject new file mode 100644 index 0000000..c032025 --- /dev/null +++ b/.cproject @@ -0,0 +1,773 @@ +<?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.894369097"> + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.894369097" 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="libug-worldclock-efl" 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.894369097" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.app.debug" postbuildStep="" preannouncebuildStep="" prebuildStep=""> + <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.debug.894369097." name="/" resourcePath=""> + <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug.317974252" name="Tizen Native Toolchain" nonInternalBuilderId="org.tizen.nativecore.target.sbi.gnu.builder" 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.1850236046" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/> + <builder buildPath="${workspace_loc:/libug-worldclock-efl}/Debug" enableAutoBuild="true" id="org.tizen.nativecore.target.sbi.gnu.builder.972885231" keepEnvironmentInBuildfile="false" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/> + <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.115377212" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/> + <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.1398986672" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler"> + <option id="gnu.cpp.compiler.option.optimization.level.1784588300" 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.131770503" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" valueType="enumerated"/> + <option defaultValue="false" id="sbi.gnu.cpp.compiler.option.misc.pic.core.1185719155" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/> + <option id="sbi.gnu.cpp.compiler.option.731247590" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="mobile-3.0-device.core.private_llvm36.armel.core.app"/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.1643321792" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.core" valueType="includePath"> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/badge""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/call-manager""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/context-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali-toolkit""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dbus-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/device""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dlog""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/email-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/geofence""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minicontrol""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/msg-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/shortcut""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony-client""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ug-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ui""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vconf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/web""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/wifi-direct""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/dbus-1.0/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.core.343750101" name="Tizen-Frameworks-Other-Cflags" 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="${SBI_SYSROOT}""/> + <listOptionValue builtIn="false" value="-mthumb"/> + </option> + <option id="gnu.cpp.compiler.option.include.paths.639119159" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/badge""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/call-manager""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/context-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali-toolkit""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dbus-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/device""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dlog""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/email-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/geofence""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minicontrol""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/msg-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/shortcut""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony-client""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ug-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ui""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vconf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/web""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/wifi-direct""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/dbus-1.0/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks.core.946776504" name="Tizen-Frameworks" 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.1863997340" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> + </tool> + <tool command="clang" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.890128439" 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.554995318" 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.1570697637" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" valueType="enumerated"/> + <option defaultValue="false" id="sbi.gnu.c.compiler.option.misc.pic.core.2125377805" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/> + <option id="sbi.gnu.c.compiler.option.1407851019" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="mobile-3.0-device.core.private_llvm36.armel.core.app"/> + </option> + <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.258278345" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.core" valueType="includePath"> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/badge""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/call-manager""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/context-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali-toolkit""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dbus-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/device""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dlog""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/email-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/geofence""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minicontrol""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/msg-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/shortcut""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony-client""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ug-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ui""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vconf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/web""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/wifi-direct""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/dbus-1.0/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/> + </option> + <option id="sbi.gnu.c.compiler.option.frameworks_cflags.core.1020965341" name="Tizen-Frameworks-Other-Cflags" 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="${SBI_SYSROOT}""/> + <listOptionValue builtIn="false" value="-mthumb"/> + </option> + <option id="gnu.c.compiler.option.include.paths.780605633" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/> + </option> + <option id="sbi.gnu.c.compiler.option.frameworks.core.603413688" name="Tizen-Frameworks" 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.545783680" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> + </tool> + <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.1608547985" 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.411290827" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker"> + <option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.2077773456" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" valueType="boolean"/> + <option defaultValue="false" id="sbi.gnu.cpp.linker.option.noundefined.core.897709119" name="Report unresolved symbol references (-Wl,--no-undefined)" superClass="sbi.gnu.cpp.linker.option.noundefined.core" valueType="boolean"/> + <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.1128706472" name="Tizen-Frameworks-Other-Lflags" 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="/home/developer/sdk_tools/lib""/> + <listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/> + <listOptionValue builtIn="false" value="-Xlinker --version-script="${PROJ_PATH}/.exportMap""/> + <listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib""/> + <listOptionValue builtIn="false" value="$(RS_LIBRARIES)"/> + </option> + <option id="gnu.cpp.link.option.paths.756885880" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths"> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib""/> + </option> + <option id="gnu.cpp.link.option.libs.104356308" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs"> + <listOptionValue builtIn="false" srcPrefixMapping="" srcRootPath="" value="icui18n"/> + <listOptionValue builtIn="false" srcPrefixMapping="" srcRootPath="" value="icuuc"/> + </option> + <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.335131883" 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.1103557783" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base"> + <inputType id="cdt.managedbuild.tool.gnu.assembler.input.525293468" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> + </tool> + <tool id="org.tizen.nativecore.tool.fnmapgen.106582505" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/> + <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.1381242650" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/> + <tool id="org.tizen.nativecore.tool.ast.291989913" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/> + <tool id="org.tizen.nativecore.tool.ast.cpp.2050850653" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/> + <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.1090409162" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/> + <tool id="org.tizen.nativecore.tool.sbi.po.compiler.283285195" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/> + <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.1728124486" 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.1279938990"> + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.release.1279938990" 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.tizen.libug-worldclock-efl" 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.1279938990" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.app.release"> + <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.release.1279938990." name="/" resourcePath=""> + <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.release.1518773258" 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.2012563918" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/> + <builder buildPath="${workspace_loc:/libug-worldclock-efl}/Release" id="org.tizen.nativecore.target.sbi.gnu.builder.1775394171" 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.118333431" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/> + <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.2140704973" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler"> + <option id="gnu.cpp.compiler.option.optimization.level.1540381615" 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.767911913" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" valueType="enumerated"/> + <option defaultValue="false" id="sbi.gnu.cpp.compiler.option.misc.pic.core.94783145" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/> + <option id="sbi.gnu.cpp.compiler.option.1319348957" name="Tizen-Target" 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.919927811" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.core" valueType="includePath"> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/badge""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/context-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali-toolkit""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dbus-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/device""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dlog""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/geofence""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minicontrol""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/shortcut""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ui""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/web""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/wifi-direct""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/dbus-1.0/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.core.1749402872" name="Tizen-Frameworks-Other-Cflags" 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="${SBI_SYSROOT}""/> + </option> + <option id="gnu.cpp.compiler.option.include.paths.1856811761" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/badge""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/context-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali-toolkit""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dbus-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/device""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dlog""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/geofence""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minicontrol""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/shortcut""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ui""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/web""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/wifi-direct""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/dbus-1.0/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/unicode""/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks.core.2014375574" name="Tizen-Frameworks" 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.1889854241" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> + </tool> + <tool command="clang" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.1802250256" 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.252681642" 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.83747059" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" valueType="enumerated"/> + <option defaultValue="false" id="sbi.gnu.c.compiler.option.misc.pic.core.1587891940" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/> + <option id="sbi.gnu.c.compiler.option.712272851" name="Tizen-Target" 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.1269332012" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.core" valueType="includePath"> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/badge""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/context-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali-toolkit""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dbus-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/device""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dlog""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/geofence""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minicontrol""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/shortcut""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ui""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/web""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/wifi-direct""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/dbus-1.0/include""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/> + </option> + <option id="sbi.gnu.c.compiler.option.frameworks_cflags.core.1127430553" name="Tizen-Frameworks-Other-Cflags" 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="${SBI_SYSROOT}""/> + </option> + <option id="gnu.c.compiler.option.include.paths.625556786" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/> + </option> + <option id="sbi.gnu.c.compiler.option.frameworks.core.2137344511" name="Tizen-Frameworks" 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.1411710849" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> + </tool> + <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.1474896291" 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.1413188145" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker"> + <option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.1846626066" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" valueType="boolean"/> + <option defaultValue="false" id="sbi.gnu.cpp.linker.option.noundefined.core.927679554" name="Report unresolved symbol references (-Wl,--no-undefined)" superClass="sbi.gnu.cpp.linker.option.noundefined.core" valueType="boolean"/> + <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.1367355753" name="Tizen-Frameworks-Other-Lflags" 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="/home/developer/sdk_tools/lib""/> + <listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/> + <listOptionValue builtIn="false" value="-Xlinker --version-script="${PROJ_PATH}/.exportMap""/> + <listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib""/> + <listOptionValue builtIn="false" value="$(RS_LIBRARIES)"/> + </option> + <option id="gnu.cpp.link.option.paths.1282180227" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/lib}""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib""/> + </option> + <option id="gnu.cpp.link.option.libs.1205944343" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs"> + <listOptionValue builtIn="false" srcPrefixMapping="" srcRootPath="" value="icui18n"/> + <listOptionValue builtIn="false" srcPrefixMapping="" srcRootPath="" value="icuuc"/> + </option> + <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1964588369" 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.1166190860" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base"> + <inputType id="cdt.managedbuild.tool.gnu.assembler.input.475486508" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> + </tool> + <tool id="org.tizen.nativecore.tool.fnmapgen.1540369348" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/> + <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.1542875434" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/> + <tool id="org.tizen.nativecore.tool.ast.809870036" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/> + <tool id="org.tizen.nativecore.tool.ast.cpp.423630488" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/> + <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.1723316285" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/> + <tool id="org.tizen.nativecore.tool.sbi.po.compiler.176929754" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/> + <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.487272900" 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="libug-worldclock-efl.org.tizen.nativecore.target.sbi.gcc45.app.618696179" 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.1279938990"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> + </scannerConfigBuildInfo> + <scannerConfigBuildInfo instanceId="org.tizen.nativecore.config.sbi.gcc45.app.debug.894369097"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> + </scannerConfigBuildInfo> + </storageModule> + <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> + <storageModule moduleId="refreshScope" versionNumber="2"> + <configuration configurationName="Release"> + <resource resourceType="PROJECT" workspacePath="/libug-worldclock-efl"/> + </configuration> + <configuration configurationName="Debug"> + <resource resourceType="PROJECT" workspacePath="/libug-worldclock-efl"/> + </configuration> + </storageModule> +</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..b332a9d --- /dev/null +++ b/.project @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>libug-worldclock-efl</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.tizen.nativecore.apichecker.apicheckerbuilder</name> + <arguments> + </arguments> + </buildCommand> + <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> + <nature>org.tizen.nativecore.apichecker.apicheckernature</nature> + </natures> + <filteredResources> + <filter> + <id>1459257945673</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>1459257945676</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/.tproject b/.tproject new file mode 100644 index 0000000..56660b2 --- /dev/null +++ b/.tproject @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<tproject xmlns="http://www.tizen.org/tproject"> + <platforms> + <platform> + <name>mobile-3.0</name> + </platform> + </platforms> + <package> + <blacklist/> + <resFallback autoGen="true"/> + </package> +</tproject> diff --git a/CMakeLists.txt b/CMakeLists.txt index 91c850c..1b3e3dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,32 +1,28 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) -PROJECT(ug-worldclock-efl C CXX) -SET(SO_VERSION_MAJOR 0) -SET(SO_VERSION 0.1) +PROJECT(libug-worldclock-efl C CXX) -SET(PACKAGE ${PROJECT_NAME}) +SET(PACKAGE "org.tizen.${PROJECT_NAME}") SET(PREFIX ${CMAKE_INSTALL_PREFIX}) SET(BINDIR "${PREFIX}/bin") -SET(LIBDIR "/usr/lib") -SET(UGLIBDIR "${PREFIX}/lib") SET(DATADIR "${PREFIX}/res") -SET(EDJDIR "${DATADIR}/edje/${PROJECT_NAME}") +SET(EDJDIR "${DATADIR}/edje/") SET(IMAGEDIR "${DATADIR}/images") SET(LOCALEDIR "${DATADIR}/locale") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") # include file -INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/inc) ADD_SUBDIRECTORY(res/po) -ADD_SUBDIRECTORY(res/misc) ADD_SUBDIRECTORY(src) -#install tzlist.ini file -INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/tzlist.ini DESTINATION ${TZ_SYS_DATA}/setting) -INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/tzlist.ini DESTINATION ${TZ_USER_DATA}/clock) + #install xml file -INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/worldclock-efl.xml DESTINATION ${TZ_SYS_RO_PACKAGES}) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/tizen-manifest.xml DESTINATION ${TZ_SYS_RO_PACKAGES} RENAME ${PACKAGE}.xml) #install images -INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/res/images/ DESTINATION ${IMAGEDIR}/${PROJECT_NAME}/ FILES_MATCHING PATTERN "*.png")
\ No newline at end of file +INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/edje/images/ DESTINATION ${IMAGEDIR}/ FILES_MATCHING PATTERN "*.png") + +#install shared +INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/shared/res/ DESTINATION ${PREFIX}/shared/res FILES_MATCHING PATTERN "*.*") diff --git a/res/images/clock_world_ic_location.png b/edje/images/clock_world_ic_location.png Binary files differindex 567038b..567038b 100644 --- a/res/images/clock_world_ic_location.png +++ b/edje/images/clock_world_ic_location.png diff --git a/include/clock_fwk_icu_label.h b/inc/clock_fwk_icu_label.h index 63ca931..63ca931 100644 --- a/include/clock_fwk_icu_label.h +++ b/inc/clock_fwk_icu_label.h diff --git a/include/ug_worldclock_efl.h b/inc/ug_worldclock_efl.h index 2d435ed..2d435ed 100644 --- a/include/ug_worldclock_efl.h +++ b/inc/ug_worldclock_efl.h diff --git a/include/worldclock.h b/inc/worldclock.h index 04e8ee7..e859b53 100644 --- a/include/worldclock.h +++ b/inc/worldclock.h @@ -20,7 +20,7 @@ #include <Elementary.h> #include <Ecore_IMF.h> -#include <ui-gadget.h> +#include <app.h> #include "worldclock_const.h" #include "worldclock_types.h" @@ -45,6 +45,8 @@ struct appdata { //flag for if or not hide the index bool flag_index; + app_control_h app_caller; + /* Add city List */ //For save current search content char search_text[BUF_SIZE]; @@ -62,7 +64,6 @@ struct appdata { // samsung window layout Evas_Object *ly_main; - Evas_Object *parent; Evas_Object *more_btn; Evas_Object *back_btn; @@ -89,7 +90,6 @@ struct appdata { Evas_Object *navi_bar; - ui_gadget_h ug; // return a Wcl_CitySet, used in ug Wcl_CitySet *return_data; diff --git a/include/worldclock_add_view.h b/inc/worldclock_add_view.h index e8eafc9..e8eafc9 100644 --- a/include/worldclock_add_view.h +++ b/inc/worldclock_add_view.h diff --git a/include/worldclock_const.h b/inc/worldclock_const.h index 4546137..d26c4b7 100644 --- a/include/worldclock_const.h +++ b/inc/worldclock_const.h @@ -18,6 +18,8 @@ #ifndef __DEF_WORLDCLOCK_CONST_H_ #define __DEF_WORLDCLOCK_CONST_H_ +#include <limits.h> + #ifndef _ #define _(s) (dgettext(PACKAGE, s)) #endif @@ -28,6 +30,7 @@ #define BUF_SIZE 256 #define BUF_MIN_SIZE 32 #define BUF_LARGE_SIZE 512 +#define BUF_PATH PATH_MAX #define CITY_BUF_SIZE 128 #define COUNTRY_BUF_SIZE 128 @@ -36,8 +39,7 @@ #define FLAG_BUF_SIZE 128 #define MCC_BUF_SIZE 20 -#define WCL_EDJ_PATH EDJDIR -#define WCL_EDJ_NAME WCL_EDJ_PATH"/ug_worldclock.edj" +#define PACKAGE "libug-worldclock-efl" /* group name */ #define GRP_ADD "ug_add_layout" diff --git a/include/worldclock_data.h b/inc/worldclock_data.h index 8ab37f0..8ab37f0 100644 --- a/include/worldclock_data.h +++ b/inc/worldclock_data.h diff --git a/include/worldclock_dlog.h b/inc/worldclock_dlog.h index 3b6da2d..ebf2272 100644 --- a/include/worldclock_dlog.h +++ b/inc/worldclock_dlog.h @@ -35,9 +35,8 @@ #define CLK_FUN_BEG() #define CLK_FUN_END() #endif -#define CLK_INFO(fmt, arg...) (LOGD("[%s:%d] "fmt,__FILE__, __LINE__, ##arg)) -#define CLK_SINFO(fmt, arg...) (SECURE_LOGD("[%s:%d] "fmt,__FILE__, __LINE__, ##arg)) -#define CLK_ERR(fmt,arg...) (LOGE(FONT_COLOR_RED"[%s:%d] "fmt FONT_COLOR_RESET, __FILE__, __LINE__, ##arg)) +#define CLK_INFO(fmt, arg...) (dlog_print(DLOG_INFO, LOG_TAG, "[%s:%d] "fmt,__FILE__, __LINE__, ##arg)) +#define CLK_ERR(fmt,arg...) (dlog_print(DLOG_ERROR, LOG_TAG, FONT_COLOR_RED"[%s:%d] "fmt FONT_COLOR_RESET, __FILE__, __LINE__, ##arg)) #define CLK_FUN_DEBUG_BEG() //CLK_INFO("====>>>>fun=%s, BEGIN====>>>>",__FUNCTION__); #define CLK_FUN_DEBUG_END() //CLK_INFO("====>>>>fun=%s, END====>>>>", __FUNCTION__); diff --git a/include/worldclock_fwk_icu.h b/inc/worldclock_fwk_icu.h index c1621ea..c1621ea 100644 --- a/include/worldclock_fwk_icu.h +++ b/inc/worldclock_fwk_icu.h diff --git a/include/worldclock_timezone.h b/inc/worldclock_timezone.h index 264065a..264065a 100644 --- a/include/worldclock_timezone.h +++ b/inc/worldclock_timezone.h diff --git a/include/worldclock_types.h b/inc/worldclock_types.h index 3b541da..3b541da 100644 --- a/include/worldclock_types.h +++ b/inc/worldclock_types.h diff --git a/include/worldclock_util.h b/inc/worldclock_util.h index 4feba25..040cd7b 100644 --- a/include/worldclock_util.h +++ b/inc/worldclock_util.h @@ -18,7 +18,6 @@ #ifndef __DEF_WORLDCLOCK_UTIL_H_ #define __DEF_WORLDCLOCK_UTIL_H_ -#include <appcore-efl.h> #include <Elementary.h> #include <unicode/umachine.h> #include "worldclock.h" @@ -84,4 +83,9 @@ Evas_Object *worldclock_load_edj(Evas_Object * parent, const char *file, int worldclock_dst_get(const Wcl_CitySet * cs); +const char *worldclock_get_egje_path(); +const char *worldclock_get_locale_path(); + +void worldclock_path_util_free(); + #endif /* __DEF_WORLDCLOCK_UTIL_H_ */ diff --git a/libug-worldclock-efl.manifest b/libug-worldclock-efl.manifest index 3d20ec3..c00c25b 100644 --- a/libug-worldclock-efl.manifest +++ b/libug-worldclock-efl.manifest @@ -1,8 +1,4 @@ <manifest> - <assign> - <filesystem path="/usr/dbspace/.worldclock.db" label="System::Shared" /> - <filesystem path="/usr/dbspace/.worldclock.db-journal" label="System::Shared" /> - </assign> <request> <domain name="_" /> </request> diff --git a/packaging/libug-worldclock-efl.spec b/packaging/libug-worldclock-efl.spec index 239fd0c..bb7ed95 100644 --- a/packaging/libug-worldclock-efl.spec +++ b/packaging/libug-worldclock-efl.spec @@ -41,42 +41,24 @@ This is UI gadget for configuration time zone of device %setup -q %build -%define PREFIX "%{TZ_SYS_RO_UG}" +%define PREFIX "%{TZ_SYS_RO_APP}/%{name}" #TODO: Use macros TZ_USER_DATA when it will work cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX} \ - -DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} \ - -DTZ_SYS_DATA=%{TZ_SYS_DATA} \ - -DTZ_USER_DATA=/opt/usr/data \ - -DTZ_SYS_DB=%{TZ_SYS_DB} + -DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install -mkdir -p %{buildroot}/opt/usr/data/clock -%post -/sbin/ldconfig - -mkdir -p %{TZ_SYS_RO_UG}/bin/ -ln -sf /usr/bin/ug-client %{TZ_SYS_RO_UG}/bin/worldclock-efl - -%postun -p /sbin/ldconfig %files %manifest libug-worldclock-efl.manifest %defattr(-,root,root,-) -%{TZ_SYS_RO_UG}/lib/libug-worldclock-efl.so -%{TZ_SYS_RO_UG}/res/edje/ug-worldclock-efl/ug_worldclock.edj -%{TZ_SYS_RO_UG}/res/locale/*/LC_MESSAGES/ug-worldclock-efl.mo -%{TZ_SYS_RO_UG}/res/images/ug-worldclock-efl/* +%{TZ_SYS_RO_APP}/%{name}/* +%{TZ_SYS_RO_PACKAGES}/* %license LICENSE -%{TZ_SYS_RO_PACKAGES}/worldclock-efl.xml -%{TZ_SYS_DATA}/setting/tzlist.ini -%{TZ_SYS_DB}/.worldclock.db -%{TZ_SYS_DB}/.worldclock.db-journal -#TODO: Use macros TZ_USER_DATA when it will work -/opt/usr/data/clock/tzlist.ini + diff --git a/project_def.prop b/project_def.prop new file mode 100644 index 0000000..9eeeca3 --- /dev/null +++ b/project_def.prop @@ -0,0 +1,11 @@ +APPNAME = libug-worldclock-efl + +type = app +profile = mobile-3.0 + +USER_SRCS = src/ug_worldclock_efl.c +USER_DEFS = +USER_INC_DIRS = inc +USER_OBJS = +USER_LIBS = +USER_EDCS = diff --git a/res/edc/worldclock.edc b/res/edje/worldclock.edc index ccdf760..cc06ff4 100644 --- a/res/edc/worldclock.edc +++ b/res/edje/worldclock.edc @@ -14,10 +14,10 @@ * limitations under the License. * */ - +#include "worldclock_add.edc" collections { - base_scale: 2.4; + base_scale: 2.6; + - #include "worldclock_add.edc" } diff --git a/res/edc/worldclock_add.edc b/res/edje/worldclock_add.edc index e89fb14..2b5b3de 100644 --- a/res/edc/worldclock_add.edc +++ b/res/edje/worldclock_add.edc @@ -15,22 +15,22 @@ * */ -// size #define ICON_SIZE 80 #define INPUT_ELEMENTS_HEIGHT 120 #define PADDING_WIDTH 17 -// color - #define COLOR_ADDVIEW_SEARCHBAR_BG 249 249 249 255 #define COLOR_LOCATION_ICON_NORMAL 20 107 147 127 #define COLOR_LOCATION_ICON_PRESSED 31 92 102 255 #define COLOR_LOCATION_ICON_DISABLE 195 195 195 127 +collections { + + base_scale: 2.6; + group { name: "ug_add_layout"; parts { - /* background */ part { name: "add/bg"; type: RECT; @@ -40,7 +40,6 @@ group { color: 255 255 255 0; } } - /* genlist swallow */ part { name: "add/genlist"; type: SWALLOW; @@ -53,7 +52,7 @@ group { } } - } // end of parts + } } group { @@ -237,3 +236,5 @@ group { } } } + +} diff --git a/res/misc/CMakeLists.txt b/res/misc/CMakeLists.txt deleted file mode 100644 index a4dbef0..0000000 --- a/res/misc/CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ -INCLUDE(FindPkgConfig) -pkg_check_modules(pkgs-sql REQUIRED db-util) - -ADD_CUSTOM_COMMAND( - OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/.worldclock.db - COMMAND sqlite3 ${CMAKE_CURRENT_BINARY_DIR}/.worldclock.db ".read ${CMAKE_CURRENT_SOURCE_DIR}/timezone.sql" - COMMENT "Creating timezone database" - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/timezone.sql -) -ADD_CUSTOM_TARGET(timezone_db ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/.worldclock.db) - -#install database files -INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/.worldclock.db DESTINATION ${TZ_SYS_DB}) -INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/.worldclock.db-journal DESTINATION ${TZ_SYS_DB}) diff --git a/res/po/CMakeLists.txt b/res/po/CMakeLists.txt index 3eb7200..5218ae3 100644 --- a/res/po/CMakeLists.txt +++ b/res/po/CMakeLists.txt @@ -77,7 +77,7 @@ FOREACH(pofile ${POFILES}) DEPENDS ${absPofile} ) INSTALL(FILES ${moFile} - DESTINATION ${LOCALEDIR}/${lang}/LC_MESSAGES RENAME ${PACKAGE}.mo) + DESTINATION ${LOCALEDIR}/${lang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo) SET(moFiles ${moFiles} ${moFile}) ENDFOREACH(pofile) diff --git a/shared/res/libug-worldclock-efl.png b/shared/res/libug-worldclock-efl.png Binary files differnew file mode 100644 index 0000000..9765b1b --- /dev/null +++ b/shared/res/libug-worldclock-efl.png diff --git a/shared/res/worldclock.db b/shared/res/worldclock.db Binary files differnew file mode 100644 index 0000000..7bb7a6a --- /dev/null +++ b/shared/res/worldclock.db diff --git a/shared/res/worldclock.db-journal b/shared/res/worldclock.db-journal Binary files differnew file mode 100644 index 0000000..aa97c57 --- /dev/null +++ b/shared/res/worldclock.db-journal diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0e3c86a..c7f377e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -43,26 +43,24 @@ ENDIF("${ARCH}" STREQUAL "arm") ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"") ADD_DEFINITIONS("-DSLP_DEBUG") ADD_DEFINITIONS("-DEDJDIR=\"${EDJDIR}\"") -ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE}\"") ADD_DEFINITIONS("-DLOCALEDIR=\"${LOCALEDIR}\"") ADD_DEFINITIONS("-DIMAGEDIR=\"${IMAGEDIR}\"") -#lib -ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS}) -#SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION 0.1.0) +#bin +ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS}) TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS}) -#install lib -INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${UGLIBDIR}) +#install +INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR}) # make worldclock.edj -ADD_CUSTOM_TARGET(ug_worldclock.edj - COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/../res/images - ${CMAKE_CURRENT_SOURCE_DIR}/../res/edc/worldclock.edc ${CMAKE_BINARY_DIR}/ug_worldclock.edj - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../res/edc/worldclock.edc +ADD_CUSTOM_TARGET(worldclock.edj + COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/../edje/images + ${CMAKE_CURRENT_SOURCE_DIR}/../res/edje/worldclock.edc ${CMAKE_BINARY_DIR}/worldclock.edj + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../res/edje/worldclock.edc ) -ADD_DEPENDENCIES(${PROJECT_NAME} ug_worldclock.edj) +ADD_DEPENDENCIES(${PROJECT_NAME} worldclock.edj) # install edj file -INSTALL(FILES ${CMAKE_BINARY_DIR}/ug_worldclock.edj DESTINATION ${EDJDIR}) +INSTALL(FILES ${CMAKE_BINARY_DIR}/worldclock.edj DESTINATION ${EDJDIR}) diff --git a/src/ug_worldclock_efl.c b/src/ug_worldclock_efl.c index 05ff515..39c2a30 100644 --- a/src/ug_worldclock_efl.c +++ b/src/ug_worldclock_efl.c @@ -22,12 +22,12 @@ #include <vconf.h> #include <Elementary.h> -#include <ui-gadget-module.h> #include "worldclock.h" #include "worldclock_dlog.h" #include "ug_worldclock_efl.h" #include "worldclock_add_view.h" +#include "worldclock_util.h" #include "efl_extension.h" #include "clock_fwk_icu_label.h" @@ -35,13 +35,6 @@ #define _(s) dgettext(PACKAGE, s) #endif -struct ug_data { - ui_gadget_h ug; - struct appdata *ad; -}; - -static struct ug_data *g_ugd; - /** * Callback func which should be called when exit from this ug. * @@ -52,39 +45,38 @@ static struct ug_data *g_ugd; static void __ug_return_cb(void *data, Eina_Bool isReload) { CLK_FUN_BEG(); - struct ug_data *ugd = NULL; + struct appdata *ad = NULL; Wcl_CitySet *cs = NULL; - app_control_h app_control = NULL; + app_control_h reply = NULL; - ret_if(!g_ugd); - ugd = g_ugd; - cs = ugd->ad->return_data; + ad = data; + cs = ad->return_data; if (cs) { - app_control_create(&app_control); - app_control_add_extra_data(app_control, "city", cs->city); - app_control_add_extra_data(app_control, "city_name", _(cs->city)); - app_control_add_extra_data(app_control, "country", cs->country); - app_control_add_extra_data(app_control, "country_name", _(cs->country)); + app_control_create(&reply); + app_control_add_extra_data(reply, "city", cs->city); + app_control_add_extra_data(reply, "city_name", _(cs->city)); + app_control_add_extra_data(reply, "country", cs->country); + app_control_add_extra_data(reply, "country_name", _(cs->country)); - if (ugd->ad->caller != WCL_CALLER_IS_APP_IT_SELF) { + if (ad->caller != WCL_CALLER_IS_APP_IT_SELF) { const char *timezone = cs->timezone; if (timezone == strstr(timezone, "GMT")) { timezone += 3; } - app_control_add_extra_data(app_control, "timezone", timezone); - app_control_add_extra_data(app_control, "tzpath", cs->tz_path); + app_control_add_extra_data(reply, "timezone", timezone); + app_control_add_extra_data(reply, "tzpath", cs->tz_path); CLK_INFO("[Result] city: %s, city_name: %s, country: %s, timezone: %s, tzpath: %s\n", cs->city, _(cs->city), cs->country, timezone, cs->tz_path); } - ug_send_result(ugd->ug, app_control); - app_control_destroy(app_control); + app_control_reply_to_launch_request(reply, ad->app_caller, APP_CONTROL_RESULT_SUCCEEDED); + app_control_destroy(reply); - FREEIF(ugd->ad->return_data); + FREEIF(ad->return_data); #ifdef FEATURE_SORT_ORDER - EVAS_OBJECT_DELIF(ugd->ad->more_popup); + EVAS_OBJECT_DELIF(ad->more_popup); #endif } else { CLK_ERR("No return data selected!"); @@ -229,76 +221,38 @@ static void _show_title(void *data, Evas_Object * obj, void *event_info) CLK_FUN_END(); } -static void *on_create(ui_gadget_h ug, enum ug_mode mode, app_control_h data, void *priv) +static bool on_create(void *priv) { CLK_FUN_BEG(); Evas_Object *win = NULL; - struct ug_data *ugd = NULL; struct appdata *ad = NULL; - char *caller_name = NULL; - char *city_index = NULL; - char *text_id = NULL; - retv_if(ug == NULL || priv == NULL, NULL); + retv_if(priv == NULL, false); + + ad = priv; - ugd = priv; - ugd->ug = ug; // get ug window - win = (Evas_Object *) ug_get_window(); - retv_if(win == NULL, NULL); + win = elm_win_util_standard_add(PACKAGE, PACKAGE); + retv_if(win == NULL, false); // allocate data ad = (struct appdata *)calloc(1, sizeof(struct appdata)); - retv_if(ad == NULL, NULL); + retv_if(ad == NULL, false); /*disable rotate */ ad->win = win; - ad->conform = (Evas_Object *) ug_get_conformant(); - ad->ug = ug; - ad->parent = ug_get_parent_layout(ug); - GOTO_ERROR_IF(!ad->parent); - - if (data) { - app_control_get_extra_data(data, "caller", &caller_name); - app_control_get_extra_data(data, "city_index", &city_index); - - app_control_get_extra_data(data, "translation_request", &text_id); - } - if (city_index) { - ad->city_index = atoi(city_index); - } else { - ad->city_index = -1; - } - FREEIF(city_index); + elm_win_conformant_set(win, EINA_TRUE); + elm_win_autodel_set(win, EINA_TRUE); + evas_object_show(win); + ad->conform = elm_conformant_add(win); + evas_object_size_hint_weight_set(ad->conform, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + elm_win_resize_object_add(win, ad->conform); + evas_object_show(ad->conform); - // set caller flag - if (caller_name && !strcmp("clock", caller_name)) { - ad->caller = WCL_CALLER_IS_APP_IT_SELF; - } else if (caller_name && !strcmp("dual_clock", caller_name)) { - ad->caller = WCL_CALLER_IS_LIVEBOX; - } else { - ad->caller = WCL_CALLER_IS_UI_GADGET; - } - CLK_INFO("ad->caller = %d", ad->caller); - FREEIF(caller_name); /* language setting */ - bindtextdomain(PACKAGE, LOCALEDIR); + bindtextdomain(PACKAGE, worldclock_get_locale_path()); textdomain(PACKAGE); - if (text_id) { - CLK_INFO("text_id = %d", text_id); - app_control_h app_control = NULL; - app_control_create(&app_control); - app_control_add_extra_data(app_control, "city_name", _(text_id)); - ug_send_result(ug, app_control); - app_control_destroy(app_control); - - FREEIF(text_id); - ug_destroy_me(ug); - GOTO_ERROR_IF(true); - return NULL; - } - /* main layout */ - ad->ly_main = __ug_create_main_layout(ad->parent); + ad->ly_main = __ug_create_main_layout(ad->conform); GOTO_ERROR_IF(ad->ly_main == NULL); ad->bg = __ug_create_bg(ad->ly_main); elm_object_part_content_set(ad->ly_main, "elm.swallow.bg", ad->bg); @@ -320,12 +274,9 @@ static void *on_create(ui_gadget_h ug, enum ug_mode mode, app_control_h data, vo ad); evas_object_smart_callback_add(ad->conform, "clipboard,state,off", _show_title, ad); - - ugd->ad = ad; - g_ugd = ugd; - + elm_object_content_set(ad->conform, ad->ly_main); CLK_FUN_END(); - return ad->ly_main; + return true; error: if (ad) { @@ -360,49 +311,22 @@ error: return NULL; } -static void on_start(ui_gadget_h ug, app_control_h data, void *priv) -{ - CLK_FUN_BEG(); - struct appdata *ad = NULL; - - ad = g_ugd->ad; - - if (ad->conform == NULL) { - CLK_INFO("conformant get failed in on_create"); - CLK_INFO("retry to get conformant"); - ad->conform = (Evas_Object *) ug_get_conformant(); - evas_object_smart_callback_add(ad->conform, "virtualkeypad,state,on", - _hide_title, ad); - evas_object_smart_callback_add(ad->conform, "virtualkeypad,state,off", - _show_title, ad); - evas_object_smart_callback_add(ad->conform, "clipboard,state,on", - _hide_title, ad); - evas_object_smart_callback_add(ad->conform, "clipboard,state,off", - _show_title, ad); - } - CLK_FUN_END(); -} - -static void on_pause(ui_gadget_h ug, app_control_h data, void *priv) +static void on_pause(void *priv) { CLK_FUN_BEG(); } -static void on_resume(ui_gadget_h ug, app_control_h data, void *priv) +static void on_resume(void *priv) { CLK_FUN_BEG(); } -static void on_destroy(ui_gadget_h ug, app_control_h data, void *priv) +static void on_destroy(void *priv) { CLK_FUN_BEG(); - struct ug_data *ugd; - - ret_if(!ug || !priv); - ugd = priv; - if (ugd->ad) { - struct appdata *ad = ugd->ad; + if (priv) { + struct appdata *ad = priv; worldclock_ugview_free(ad); #ifdef FEATURE_SORT_ORDER @@ -421,6 +345,8 @@ static void on_destroy(ui_gadget_h ug, app_control_h data, void *priv) ECORE_TIMER_DELIF(ad->add_view_quit_timer); ECORE_TIMER_DELIF(ad->add_view_update_timer); ECORE_TIMER_DELIF(ad->search_timer); + if(ad->app_caller) + app_control_destroy(ad->app_caller); if (ad->conform) { evas_object_smart_callback_del(ad->conform, @@ -434,134 +360,134 @@ static void on_destroy(ui_gadget_h ug, app_control_h data, void *priv) ad->conform = NULL; } /*enable rotate */ - free(ugd->ad); - ugd->ad = NULL; + free(ad); } - + worldclock_path_util_free(); CLK_FUN_END(); } -static void on_message(ui_gadget_h ug, app_control_h msg, app_control_h data, void *priv) +static void on_app_control(app_control_h app_control, void *priv) { + struct appdata *ad = NULL; + char *caller_name = NULL; + char *city_index = NULL; + char *text_id = NULL; + ret_if(!priv); + ad = priv; + + if (app_control) { + app_control_clone(&ad->app_caller, app_control); + app_control_get_extra_data(app_control, "caller", &caller_name); + app_control_get_extra_data(app_control, "city_index", &city_index); + + app_control_get_extra_data(app_control, "translation_request", &text_id); + } + if (city_index) { + ad->city_index = atoi(city_index); + } else { + ad->city_index = -1; + } + FREEIF(city_index); + + // set caller flag + if (caller_name && !strcmp("clock", caller_name)) { + ad->caller = WCL_CALLER_IS_APP_IT_SELF; + } else if (caller_name && !strcmp("dual_clock", caller_name)) { + ad->caller = WCL_CALLER_IS_LIVEBOX; + } else { + ad->caller = WCL_CALLER_IS_UI_GADGET; + } + CLK_INFO("ad->caller = %d", ad->caller); + FREEIF(caller_name); + + if (text_id) { + CLK_INFO("text_id = %d", text_id); + app_control_h reply = NULL; + app_control_create(&reply); + app_control_add_extra_data(reply, "city_name", _(text_id)); + app_control_reply_to_launch_request(reply, app_control, APP_CONTROL_RESULT_SUCCEEDED); + app_control_destroy(reply); + + FREEIF(text_id); + ui_app_exit(); //check if it necessary + } } -static void on_event(ui_gadget_h ug, enum ug_event event, app_control_h data, void *priv) +static void on_lang_changed(app_event_info_h event_info, void *priv) { - CLK_FUN_BEG(); - ret_if(!ug || !priv); - - struct ug_data *ugd; - struct appdata *ad; - Elm_Object_Item *it = NULL; + ret_if(!priv); - ugd = priv; - if (ugd->ad) { - ad = ugd->ad; - } else { - return; - } + struct appdata *ad; + ad = priv; + __ug_lang_update(ad); - switch (event) { - case UG_EVENT_LOW_MEMORY: - CLK_INFO("Event : UG_EVENT_LOW_MEMORY"); - break; - case UG_EVENT_LOW_BATTERY: - CLK_INFO("Event : UG_EVENT_LOW_BATTERY"); - break; - case UG_EVENT_LANG_CHANGE: - CLK_INFO("Event : UG_EVENT_LANG_CHANGE"); - __ug_lang_update(ad); - uninit_alphabetic_index(); - char *lang = vconf_get_str(VCONFKEY_LANGSET); - init_alphabetic_index(lang); - FREEIF(lang); - worldclock_ugview_update(ad); - break; - case UG_EVENT_ROTATE_PORTRAIT: - case UG_EVENT_ROTATE_PORTRAIT_UPSIDEDOWN: - CLK_INFO("Event : UG_EVENT_ROTATE_PORTRAIT"); - _show_title(ad, NULL, NULL); - it = elm_index_selected_item_get(ad->add_index, 0); - if (it != NULL) { - elm_index_item_selected_set(it, EINA_FALSE); - } - break; - case UG_EVENT_ROTATE_LANDSCAPE: - case UG_EVENT_ROTATE_LANDSCAPE_UPSIDEDOWN: - CLK_INFO("Event : UG_EVENT_ROTATE_LANDSCAPE"); - Ecore_IMF_Context *imf_context = elm_entry_imf_context_get(ad->searchbar_entry); - if (imf_context) { - if (ECORE_IMF_INPUT_PANEL_STATE_HIDE != - ecore_imf_context_input_panel_state_get(imf_context)) { - _hide_title(ad, NULL, NULL); - } - } + uninit_alphabetic_index(); + char *lang = vconf_get_str(VCONFKEY_LANGSET); + init_alphabetic_index(lang); + FREEIF(lang); - it = elm_index_selected_item_get(ad->add_index, 0); - if (it != NULL) { - elm_index_item_selected_set(it, EINA_FALSE); - } - //CLK_INFO("current level = %d", level); - break; - default: - CLK_INFO("Event : %d", event); - break; - } - CLK_FUN_END(); + worldclock_ugview_update(ad); } -static void on_key_event(ui_gadget_h ug, enum ug_key_event event, - app_control_h data, void *priv) +static void on_orient_changed(app_event_info_h event_info, void *priv) { - CLK_FUN_BEG(); - ret_if(!ug); - - switch (event) { - case UG_KEY_EVENT_END: - ug_destroy_me(ug); - break; - default: - break; - } - CLK_FUN_END(); + ret_if(!priv); + + struct appdata *ad; + Elm_Index_Item *it = NULL; + Ecore_IMF_Context *imf_context = NULL; + app_device_orientation_e orient = APP_DEVICE_ORIENTATION_0; + ad = priv; + app_event_get_device_orientation(event_info, &orient); + + switch (orient) + { + case APP_DEVICE_ORIENTATION_0: + case APP_DEVICE_ORIENTATION_180: + _show_title(ad, NULL, NULL); + it = elm_index_selected_item_get(ad->add_index, 0); + if (it != NULL) { + elm_index_item_selected_set(it, EINA_FALSE); + } + break; + case APP_DEVICE_ORIENTATION_90: + case APP_DEVICE_ORIENTATION_270: + imf_context = elm_entry_imf_context_get(ad->searchbar_entry); + if (imf_context) { + if (ECORE_IMF_INPUT_PANEL_STATE_HIDE != + ecore_imf_context_input_panel_state_get(imf_context)) { + _hide_title(ad, NULL, NULL); + } + } + + it = elm_index_selected_item_get(ad->add_index, 0); + if (it != NULL) { + elm_index_item_selected_set(it, EINA_FALSE); + } + break; + } } -UG_MODULE_API int UG_MODULE_INIT(struct ug_module_ops *ops) +int main(int argc, char *argv[]) { - CLK_FUN_BEG(); - struct ug_data *ugd; - - retv_if(!ops, -1); - - ugd = calloc(1, sizeof(struct ug_data)); - retv_if(!ugd, -1); + struct appdata *ad; - ops->create = on_create; - ops->start = on_start; - ops->pause = on_pause; - ops->resume = on_resume; - ops->destroy = on_destroy; - ops->message = on_message; - ops->event = on_event; - ops->key_event = on_key_event; - ops->priv = ugd; - ops->opt = UG_OPT_INDICATOR_ENABLE; + ad = calloc(1, sizeof(struct appdata)); + retv_if(!ad, -1); - CLK_FUN_END(); - return 0; -} - -UG_MODULE_API void UG_MODULE_EXIT(struct ug_module_ops *ops) -{ - CLK_FUN_BEG(); - struct ug_data *ugd; - - ret_if(!ops); + ui_app_lifecycle_callback_s cbs = {}; - ugd = ops->priv; + cbs.app_control = on_app_control; + cbs.create = on_create; + cbs.pause = on_pause; + cbs.resume = on_resume; + cbs.terminate = on_destroy; - FREEIF(ugd); - g_ugd = NULL; + app_event_handler_h handlers[3] = {}; + ui_app_add_event_handler(&handlers[0], APP_EVENT_LANGUAGE_CHANGED, on_lang_changed, ad); + ui_app_add_event_handler(&handlers[1], APP_EVENT_REGION_FORMAT_CHANGED, on_lang_changed, ad); + ui_app_add_event_handler(&handlers[2], APP_EVENT_DEVICE_ORIENTATION_CHANGED, on_orient_changed, &ad); - CLK_FUN_END(); + return ui_app_main(argc, argv, &cbs, ad); } + diff --git a/src/worldclock_add_view.c b/src/worldclock_add_view.c index 3862daf..063ef72 100644 --- a/src/worldclock_add_view.c +++ b/src/worldclock_add_view.c @@ -19,7 +19,6 @@ #include <string.h> #include <stdio.h> -#include <appcore-efl.h> #include <Elementary.h> #include <vconf.h> #include <unicode/utf8.h> @@ -27,7 +26,6 @@ #include <efl_extension.h> #include <notification.h> #include <tapi_common.h> -#include <ui-gadget-module.h> #include <system_settings.h> #include <tapi_common.h> @@ -457,8 +455,8 @@ static Eina_Bool _ugview_search_matched_mcc(char *string, char *city_mcc) ret = EINA_FALSE; char *tmp_mcc = strdup(city_mcc); - char *save_ptr = NULL; char *ptr = NULL; + char *save_ptr = NULL; ptr = strtok_r(tmp_mcc, " ", &save_ptr); if (ptr) { if (IS_STR_EQUAL(ptr, string)) { @@ -934,7 +932,7 @@ static Eina_Bool _entry_changed_cb(void *data) //reset current city if (ad->search_text[0] != '\0') { - ad->current_mcc[0] = '\0'; + ad->current_mcc[0] = '\0'; } ad->search_timer = NULL; @@ -1039,7 +1037,7 @@ static void _searchbar_entry_preedit_changed_cb(void *data, } CLK_INFO_GREEN("ad->search_text:%s\n", ad->search_text); } else { - ad->search_text[0] = '\0'; + ad->search_text[0] = '\0'; } CLK_INFO("ad->search_text:%s\n", ad->search_text); @@ -1110,7 +1108,7 @@ static void _searchbar_entry_changed_cb(void *data, Evas_Object *obj, void *even strncpy(ad->search_text, search_str, strlen(search_str) + 1); } } else { - ad->search_text[0] = '\0'; + ad->search_text[0] = '\0'; } FREEIF(search_str); ECORE_TIMER_DELIF(ad->search_timer); @@ -1210,7 +1208,7 @@ static Evas_Object *__ugview_searchbar_add(Evas_Object *parent, void *data) retv_if((!parent || !data), NULL); struct appdata *ad = (struct appdata *)data;; - Evas_Object *searchbar_layout = worldclock_load_edj(parent, WCL_EDJ_NAME, "editfield_layout"); + Evas_Object *searchbar_layout = worldclock_load_edj(parent, worldclock_get_egje_path(), "editfield_layout"); retv_if(!searchbar_layout, NULL); /* editfield layout */ @@ -1256,7 +1254,7 @@ static Evas_Object *__ugview_searchbar_add(Evas_Object *parent, void *data) Evas_Object *location_btn = elm_button_add(searchbar_layout); elm_object_style_set(location_btn, "transparent"); Evas_Object *location_icon = elm_layout_add(location_btn); - elm_layout_file_set(location_icon, WCL_EDJ_NAME, "location_icon"); + elm_layout_file_set(location_icon, worldclock_get_egje_path(), "location_icon"); elm_object_part_content_set(location_btn, "elm.swallow.content", location_icon); elm_object_part_content_set(searchbar_layout, "location_sw", location_btn); evas_object_smart_callback_add(location_btn, "clicked", _location_btn_clicked_cb, ad); @@ -1273,7 +1271,7 @@ static Evas_Object *_ugview_add_layout(Evas_Object *parent) retv_if(!parent, NULL); // create window layout - Evas_Object *layout = worldclock_load_edj(parent, WCL_EDJ_NAME, "searchbar_base"); + Evas_Object *layout = worldclock_load_edj(parent, worldclock_get_egje_path(), "searchbar_base"); retv_if(!layout, NULL); elm_object_signal_emit(layout, "elm,state,show,searchbar", "elm"); @@ -1287,10 +1285,10 @@ static void _ug_reply() app_control_h app_control = NULL; app_control_create(&app_control); app_control_add_extra_data(app_control, "view", "destroy"); - ug_send_result(g_ad->ug, app_control); + app_control_reply_to_launch_request(app_control, g_ad->app_caller, APP_CONTROL_RESULT_SUCCEEDED); app_control_destroy(app_control); - ug_destroy_me(g_ad->ug); + ui_app_exit(); } static void _back_btn_clicked_cb(void *data, Evas_Object *obj, void *event_info) @@ -1622,9 +1620,11 @@ int worldclock_ugview_add(Evas_Object *parent, void *data, Wcl_Return_Cb func) retv_if(!data, FAILED); int ret = SUCCESS; struct appdata *ad = (struct appdata *)data; + char *lang = vconf_get_str(VCONFKEY_LANGSET); init_alphabetic_index(lang); FREEIF(lang); + g_ad = ad; g_return_cb = func; const char *group_name = NULL; @@ -1672,7 +1672,7 @@ int worldclock_ugview_add(Evas_Object *parent, void *data, Wcl_Return_Cb func) memset(ad->current_mcc, 0x0, MCC_BUF_SIZE * sizeof(char)); /* load edje */ - ad->add_layout = worldclock_load_edj(ad->add_ly, WCL_EDJ_NAME, group_name); + ad->add_layout = worldclock_load_edj(ad->add_ly, worldclock_get_egje_path(), group_name); retv_if(ad->add_layout == NULL, FAILED); elm_object_part_content_set(ad->add_ly, "elm.swallow.content", ad->add_layout); @@ -1750,6 +1750,7 @@ void worldclock_ugview_free(void *data) struct appdata *ad = (struct appdata *)data; uninit_alphabetic_index(); + worldclock_ug_data_close_database(); if (ad->add_ly) { diff --git a/src/worldclock_data.c b/src/worldclock_data.c index 35faff1..4c5e4d5 100644 --- a/src/worldclock_data.c +++ b/src/worldclock_data.c @@ -16,9 +16,8 @@ */ #include <stdio.h> -#include <appcore-efl.h> #include <Elementary.h> -#include <db-util.h> +#include <sqlite3.h> #include <fcntl.h> #include <vconf.h> @@ -28,9 +27,9 @@ #include "worldclock_dlog.h" #include "worldclock_types.h" #include "worldclock_util.h" -#include <tzplatform_config.h> -#define WORLDCLOCK_DB tzplatform_mkpath(TZ_SYS_DB, ".worldclock.db") +//TODO: remove hardcode when correct path will be acquired +#define WORLDCLOCK_DB "worldclock.db" #define WORLDCLOCK_DB_QUERY_LEN 512 #define WORLDCLOCK_DB_TABLE_CITY "city_table" @@ -1102,9 +1101,23 @@ Eina_Bool worldclock_ug_data_open_database() // check whether file exists, if not, create it if (!g_hDB) { // open it, create it if not exist - if (SQLITE_OK != db_util_open(WORLDCLOCK_DB, &g_hDB, 0)) { - return EINA_FALSE; - } + char *res = NULL; + res = app_get_shared_resource_path(); + if(res) + { + char db_path[BUF_SIZE]; + snprintf(db_path, BUF_SIZE, "%s/%s", res, WORLDCLOCK_DB); + if (SQLITE_OK != sqlite3_open(db_path, &g_hDB)) { + free(res); + return EINA_FALSE; + } + } + else + { + return EINA_FALSE; + } + free(res); + } CLK_FUN_DEBUG_END(); @@ -1120,8 +1133,7 @@ Eina_Bool worldclock_ug_data_open_database() Eina_Bool worldclock_ug_data_close_database() { CLK_FUN_DEBUG_BEG(); - //sqlite3_close(g_hDB); - db_util_close(g_hDB); + sqlite3_close(g_hDB); g_hDB = NULL; CLK_FUN_DEBUG_END(); return EINA_TRUE; diff --git a/src/worldclock_util.c b/src/worldclock_util.c index 8500c21..fbe3228 100644 --- a/src/worldclock_util.c +++ b/src/worldclock_util.c @@ -17,7 +17,6 @@ #include <stdio.h> #include <string.h> -#include <appcore-efl.h> #include <Elementary.h> #include <vconf.h> #include <unicode/ustring.h> @@ -31,6 +30,9 @@ #define UG_MODULE_API __attribute__ ((visibility("default"))) #endif +static char *_edgePath = NULL; +static char *_localePath = NULL; + /** * Compare the city name of two cities * @@ -223,3 +225,33 @@ int worldclock_dst_get(const Wcl_CitySet * cs) } return dst; } + +const char *worldclock_get_egje_path() +{ + if(!_edgePath) + { + char *resPath = app_get_resource_path(); + _edgePath = (char *)calloc(1, BUF_PATH); + snprintf(_edgePath, BUF_PATH, "%s/edje/worldclock.edj", resPath); + free(resPath); + } + return _edgePath; +} + +const char *worldclock_get_locale_path() +{ + if(!_localePath) + { + char *resPath = app_get_resource_path(); + _localePath = (char *)calloc(1, BUF_PATH); + snprintf(_localePath, BUF_PATH, "%s/locale", resPath); + free(resPath); + } + return _localePath; +} + +void worldclock_path_util_free() +{ + free(_edgePath); + free(_localePath); +} diff --git a/tizen-manifest.xml b/tizen-manifest.xml new file mode 100644 index 0000000..b8d63cd --- /dev/null +++ b/tizen-manifest.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="libug-worldclock-efl" version="1.0.0"> + <profile name="mobile"/> + <ui-application appid="libug-worldclock-efl" exec="libug-worldclock-efl" launch_mode="single" multiple="false" nodisplay="true" splash-screen-display="true" taskmanage="false" type="capp"> + <label>World clock Appcontrol</label> + <label xml:lang="en-us">World clock Appcontrol</label> + <icon>libug-worldclock-efl.png</icon> + </ui-application> + <privileges> + <privilege>http://tizen.org/privilege/telephony</privilege> + </privileges> + <feature name="http://tizen.org/feature/screen.size.normal">true</feature> +</manifest> diff --git a/tzlist.ini b/tzlist.ini deleted file mode 100644 index 7f9c257..0000000 --- a/tzlist.ini +++ /dev/null @@ -1,224 +0,0 @@ -Africa/Abidjan -Africa/Accra -Africa/Addis_Ababa -Africa/Algiers -Africa/Asmara -Africa/Bamako -Africa/Bangui -Africa/Bissau -Africa/Cairo -Africa/Casablanca -Africa/Conakry -Africa/Dakar -Africa/Dar_es_Salaam -Africa/Djibouti -Africa/Douala -Africa/Freetown -Africa/Gaborone -Africa/Harare -Africa/Johannesburg -Africa/Kampala -Africa/Khartoum -Africa/Kinshasa -Africa/Lagos -Africa/Luanda -Africa/Lubumbashi -Africa/Lusaka -Africa/Malabo -Africa/Maputo -Africa/Mogadishu -Africa/Monrovia -Africa/Nairobi -Africa/Ndjamena -Africa/Niamey -Africa/Nouakchott -Africa/Ouagadougou -Africa/Tripoli -Africa/Tunis -America/Anchorage -America/Antigua -America/Argentina/Buenos_Aires -America/Asuncion -America/Barbados -America/Belize -America/Bogota -America/Caracas -America/Cayenne -America/Chicago -America/Costa_Rica -America/Denver -America/Detroit -America/El_Salvador -America/Godthab -America/Guadeloupe -America/Guatemala -America/Guayaquil -America/Guyana -America/Halifax -America/Havana -America/Indiana/Indianapolis -America/Jamaica -America/Kentucky/Louisville -America/La_Paz -America/Lima -America/Los_Angeles -America/Managua -America/Marigot -America/Martinique -America/Mazatlan -America/Mexico_City -America/Montevideo -America/Montreal -America/New_York -America/Nome -America/Panama -America/Paramaribo -America/Phoenix -America/Port-au-Prince -America/Puerto_Rico -America/Recife -America/Regina -America/Santiago -America/Santo_Domingo -America/Sao_Paulo -America/St_Johns -America/St_Thomas -America/Tegucigalpa -America/Tijuana -America/Toronto -America/Tortola -America/Vancouver -America/Winnipeg -Asia/Aden -Asia/Almaty -Asia/Amman -Asia/Anadyr -Asia/Ashgabat -Asia/Baghdad -Asia/Bahrain -Asia/Baku -Asia/Bangkok -Asia/Beirut -Asia/Bishkek -Asia/Colombo -Asia/Damascus -Asia/Dhaka -Asia/Dubai -Asia/Dushanbe -Asia/Ho_Chi_Minh -Asia/Hong_Kong -Asia/Hovd -Asia/Irkutsk -Asia/Istanbul -Asia/Jakarta -Asia/Jayapura -Asia/Jerusalem -Asia/Kabul -Asia/Kamchatka -Asia/Karachi -Asia/Kathmandu -Asia/Kolkata -Asia/Krasnoyarsk -Asia/Kuala_Lumpur -Asia/Kuwait -Asia/Macau -Asia/Magadan -Asia/Makassar -Asia/Manila -Asia/Muscat -Asia/Novokuznetsk -Asia/Novosibirsk -Asia/Omsk -Asia/Phnom_Penh -Asia/Pyongyang -Asia/Qatar -Asia/Rangoon -Asia/Riyadh -Asia/Sakhalin -Asia/Seoul -Asia/Shanghai -Asia/Singapore -Asia/Taipei -Asia/Tashkent -Asia/Tbilisi -Asia/Tehran -Asia/Tokyo -Asia/Ulan_Bator -Asia/Vladivostok -Asia/Yakutsk -Asia/Yekaterinburg -Asia/Yerevan -Atlantic/Azores -Atlantic/Canary -Atlantic/Reykjavik -Atlantic/South_Georgia -Australia/Adelaide -Australia/Brisbane -Australia/Canberra -Australia/Darwin -Australia/Hobart -Australia/Melbourne -Australia/Perth -Australia/Sydney -CST6CDT -EST5EDT -Europe/Amsterdam -Europe/Athens -Europe/Belgrade -Europe/Berlin -Europe/Bratislava -Europe/Brussels -Europe/Bucharest -Europe/Budapest -Europe/Chisinau -Europe/Copenhagen -Europe/Dublin -Europe/Helsinki -Europe/Istanbul -Europe/Kaliningrad -Europe/Kiev -Europe/Lisbon -Europe/Ljubljana -Europe/London -Europe/Luxembourg -Europe/Madrid -Europe/Malta -Europe/Minsk -Europe/Moscow -Europe/Paris -Europe/Podgorica -Europe/Prague -Europe/Riga -Europe/Rome -Europe/Samara -Europe/San_Marino -Europe/Skopje -Europe/Sofia -Europe/Stockholm -Europe/Tallinn -Europe/Vaduz -Europe/Vienna -Europe/Vilnius -Europe/Volgograd -Europe/Warsaw -Europe/Zagreb -Europe/Zurich -Indian/Antananarivo -Indian/Chagos -Indian/Maldives -Indian/Mauritius -Indian/Reunion -MST7MDT -Pacific/Auckland -Pacific/Easter -Pacific/Fiji -Pacific/Galapagos -Pacific/Guam -Pacific/Honolulu -Pacific/Midway -Pacific/Noumea -Pacific/Pago_Pago -Pacific/Tahiti -Pacific/Tarawa -Pacific/Tongatapu -PST8PDT diff --git a/worldclock-efl.xml b/worldclock-efl.xml deleted file mode 100644 index dfc02b0..0000000 --- a/worldclock-efl.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<manifest xmlns="http://tizen.org/ns/packages" api-version="2.4" package="worldclock-efl" version="0.2" install-location="internal-only"> - <label>World clock Appcontrol</label> - <author email="goo81.lee" href="www.samsung.com">Goo Lee</author> - <description>World clock city list ug</description> - <ui-application appid="worldclock-efl" exec="/usr/ug/bin/worldclock-efl" ui-gadget="true" nodisplay="true" multiple="true" type="capp" taskmanage="false" process-pool="true"> - <icon>com.samsung.clock.png</icon> - <label>World clock Appcontrol</label> - <label xml:lang="en-us">World clock Appcontrol</label> - <application-service> - <operation name="http://samsung.com/appcontrol/operation/clock/worldclock"/> - </application-service> - </ui-application> - <privileges> - <privilege>http://tizen.org/privilege/telephony</privilege> - </privileges> -</manifest> |