diff options
47 files changed, 4227 insertions, 0 deletions
diff --git a/.cproject b/.cproject new file mode 100644 index 0000000..63d674a --- /dev/null +++ b/.cproject @@ -0,0 +1,652 @@ +<?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.1635604740"> + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1635604740" 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.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GLDErrorParser" 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.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + </extensions> + </storageModule> + <storageModule moduleId="cdtBuildSystem" version="4.0.0"> + <configuration artifactName="analog-watch" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1635604740" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.app.debug"> + <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1635604740." name="/" resourcePath=""> + <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug.1510450360" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug"> + <targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.355922757" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/> + <builder autoBuildTarget="all" buildPath="${workspace_loc:/analog-watch}/Debug" enableAutoBuild="true" id="org.tizen.nativecore.target.sbi.gnu.builder.778047418" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/> + <tool command="i586-linux-gnueabi-ar.exe" id="org.tizen.nativecore.tool.sbi.gnu.archiver.2122994893" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/> + <tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.727249197" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler"> + <option id="gnu.cpp.compiler.option.optimization.level.753367908" 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.653151688" 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.454828969" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/> + <option id="sbi.gnu.cpp.compiler.option.2066349202" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="wearable-5.0-emulator.core.private.20180522_1_llvm40.i386"/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.1400785047" 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/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-watch""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/asp/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/aul/""/> + <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/context-service/wearable/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csr""/> + <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/device-certificate-manager""/> + <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/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/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/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/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/pkgmgr""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/privacy-privilege-manager/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rpc-port""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rua/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <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/tef""/> + <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/tzsh""/> + <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/unicode""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vconf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vulkan""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-common""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication-provider""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/> + <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.1566894922" 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.1627589831" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks.core.508925566" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.core" valueType="userObjs"> + <listOptionValue builtIn="false" value="Native_API"/> + </option> + <option id="sbi.gnu.cpp.compiler.option.preprocessor.def.deprecation.1778230074" name="Defined symbols (-D)" superClass="sbi.gnu.cpp.compiler.option.preprocessor.def.deprecation" valueType="definedSymbols"> + <listOptionValue builtIn="false" value="TIZEN_DEPRECATION"/> + <listOptionValue builtIn="false" value="DEPRECATION_WARNING"/> + <listOptionValue builtIn="false" value="_DEBUG"/> + </option> + <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.944192438" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> + </tool> + <tool command="clang.exe" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.1334480879" 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.1429910639" 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.2050546718" 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.1469084232" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/> + <option id="sbi.gnu.c.compiler.option.212028038" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="wearable-5.0-emulator.core.private.20180522_1_llvm40.i386"/> + </option> + <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.2081322027" 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/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-watch""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/asp/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/aul/""/> + <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/context-service/wearable/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csr""/> + <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/device-certificate-manager""/> + <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/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/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/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/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/pkgmgr""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/privacy-privilege-manager/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rpc-port""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rua/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <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/tef""/> + <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/tzsh""/> + <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/unicode""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vconf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vulkan""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-common""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication-provider""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/> + <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.1567266628" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.core" useByScannerDiscovery="false" 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.808536886" 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.269131465" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.core" valueType="userObjs"> + <listOptionValue builtIn="false" value="Native_API"/> + </option> + <option id="sbi.gnu.c.compiler.option.preprocessor.def.symbols.deprecation.1598582459" name="Defined symbols (-D)" superClass="sbi.gnu.c.compiler.option.preprocessor.def.symbols.deprecation" valueType="definedSymbols"> + <listOptionValue builtIn="false" value="TIZEN_DEPRECATION"/> + <listOptionValue builtIn="false" value="DEPRECATION_WARNING"/> + <listOptionValue builtIn="false" value="_DEBUG"/> + </option> + <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1330833921" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> + </tool> + <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.205613832" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/> + <tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.1048676664" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker"> + <option defaultValue="false" id="sbi.gnu.cpp.link.option.strip.898872563" name="Omit all symbol information (-s)" superClass="sbi.gnu.cpp.link.option.strip" valueType="boolean"/> + <option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.1629520054" 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.1450444335" 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.1660737816" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.core" useByScannerDiscovery="false" 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="--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.1044065461" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/lib}""/> + </option> + <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1960794865" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> + <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> + <additionalInput kind="additionalinput" paths="$(LIBS)"/> + </inputType> + </tool> + <tool command="#{PLATFORM_DEFAULT_GCC_PREFIX}as.exe" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.1343543194" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base"> + <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1014307380" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> + </tool> + <tool id="org.tizen.nativecore.tool.fnmapgen.686813138" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/> + <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.2145368258" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/> + <tool id="org.tizen.nativecore.tool.ast.801506259" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/> + <tool id="org.tizen.nativecore.tool.ast.cpp.839891908" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/> + <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.1164863114" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/> + <tool id="org.tizen.nativecore.tool.sbi.po.compiler.1119417666" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/> + <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.1866676979" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"> + <option id="sbi.gnu.edc.compiler.option.misc.id.953626007" superClass="sbi.gnu.edc.compiler.option.misc.id" useByScannerDiscovery="false" valueType="stringList"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/res/images""/> + </option> + </tool> + </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.680460953"> + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.release.680460953" 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.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GLDErrorParser" 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.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + </extensions> + </storageModule> + <storageModule moduleId="cdtBuildSystem" version="4.0.0"> + <configuration artifactName="analog-watch" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.release.680460953" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.app.release"> + <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.release.680460953." name="/" resourcePath=""> + <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.release.2003141861" 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.9276310" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/> + <builder buildPath="${workspace_loc:/analog-watch}/Release" id="org.tizen.nativecore.target.sbi.gnu.builder.1915612031" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/> + <tool command="i586-linux-gnueabi-ar.exe" id="org.tizen.nativecore.tool.sbi.gnu.archiver.114305155" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/> + <tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.1235541035" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler"> + <option id="gnu.cpp.compiler.option.optimization.level.752874930" 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.none" id="sbi.gnu.cpp.compiler.option.debugging.level.core.1206738683" 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.2075584166" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/> + <option id="sbi.gnu.cpp.compiler.option.930025696" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="wearable-5.0-emulator.core.private.20180522_1_llvm40.i386"/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.1664708278" 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/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-watch""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/asp/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/aul/""/> + <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/context-service/wearable/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csr""/> + <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/device-certificate-manager""/> + <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/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/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/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/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/pkgmgr""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/privacy-privilege-manager/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rpc-port""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rua/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <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/tef""/> + <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/tzsh""/> + <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/unicode""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vconf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vulkan""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-common""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication-provider""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/> + <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.1818053736" 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.440066546" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks.core.956377911" 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.1866222720" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> + </tool> + <tool command="clang.exe" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.1906659308" 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.127306788" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/> + <option defaultValue="gnu.c.debugging.level.none" id="sbi.gnu.c.compiler.option.debugging.level.core.1300717931" 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.802359605" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/> + <option id="sbi.gnu.c.compiler.option.1192050400" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="wearable-5.0-emulator.core.private.20180522_1_llvm40.i386"/> + </option> + <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.2008616711" 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/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-watch""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/asp/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/aul/""/> + <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/context-service/wearable/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csr""/> + <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/device-certificate-manager""/> + <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/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/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/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/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/pkgmgr""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/privacy-privilege-manager/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rpc-port""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rua/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <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/tef""/> + <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/tzsh""/> + <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/unicode""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vconf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vulkan""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-common""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication-provider""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/> + <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.1058320237" 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.146303412" 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.1504190837" 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.2134661558" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> + </tool> + <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.379144480" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/> + <tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.226143927" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker"> + <option defaultValue="true" id="sbi.gnu.cpp.link.option.strip.2118978965" name="Omit all symbol information (-s)" superClass="sbi.gnu.cpp.link.option.strip" valueType="boolean"/> + <option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.1713633492" 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.1679296443" 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.88295997" 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="--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.1233038015" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/lib}""/> + </option> + <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1973849866" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> + <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> + <additionalInput kind="additionalinput" paths="$(LIBS)"/> + </inputType> + </tool> + <tool command="#{PLATFORM_DEFAULT_GCC_PREFIX}as.exe" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.451729639" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base"> + <inputType id="cdt.managedbuild.tool.gnu.assembler.input.319035248" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> + </tool> + <tool id="org.tizen.nativecore.tool.fnmapgen.546419095" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/> + <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.1455958094" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/> + <tool id="org.tizen.nativecore.tool.ast.348984920" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/> + <tool id="org.tizen.nativecore.tool.ast.cpp.1219120616" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/> + <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.1013181826" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/> + <tool id="org.tizen.nativecore.tool.sbi.po.compiler.155845205" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/> + <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.1019887253" 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="analog-watch.org.tizen.nativecore.target.sbi.gcc45.app.1941726899" 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.debug.1635604740"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> + </scannerConfigBuildInfo> + <scannerConfigBuildInfo instanceId="org.tizen.nativecore.config.sbi.gcc45.app.release.680460953"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> + </scannerConfigBuildInfo> + </storageModule> + <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> + <storageModule moduleId="refreshScope"/> + <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/> +</cproject> diff --git a/.exportMap b/.exportMap new file mode 100644 index 0000000..de30516 --- /dev/null +++ b/.exportMap @@ -0,0 +1,5 @@ +{ + global: main; + _IO_*; + local: *; +}; diff --git a/.project b/.project new file mode 100644 index 0000000..18fdcac --- /dev/null +++ b/.project @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>analog-watch</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> + <triggers>full,incremental,</triggers> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.cdt.core.cnature</nature> + <nature>org.eclipse.cdt.core.ccnature</nature> + <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> + <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> + </natures> + <filteredResources> + <filter> + <id>1527574068694</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>1527574068710</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..ccab492 --- /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>wearable-5.0</name> + </platform> + </platforms> + <package> + <blacklist/> + <resFallback autoGen="true"/> + </package> +</tproject> diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 0000000..113eb88 --- /dev/null +++ b/WORKSPACE @@ -0,0 +1,2 @@ +complication-provider +./ diff --git a/complication-provider/.cproject b/complication-provider/.cproject new file mode 100755 index 0000000..48c74f8 --- /dev/null +++ b/complication-provider/.cproject @@ -0,0 +1,656 @@ +<?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.1547945608"> + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1547945608" 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.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GLDErrorParser" 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.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + </extensions> + </storageModule> + <storageModule moduleId="cdtBuildSystem" version="4.0.0"> + <configuration artifactName="complication-provider" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1547945608" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.app.debug"> + <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1547945608." name="/" resourcePath=""> + <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug.652220719" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug"> + <targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.114402787" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/> + <builder autoBuildTarget="all" buildPath="${workspace_loc:/complication-provider}/Debug" enableAutoBuild="true" id="org.tizen.nativecore.target.sbi.gnu.builder.445293514" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/> + <tool command="arm-linux-gnueabi-ar.exe" id="org.tizen.nativecore.tool.sbi.gnu.archiver.1075687502" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/> + <tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.381282949" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler"> + <option id="gnu.cpp.compiler.option.optimization.level.230430717" 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.528078622" 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.959745419" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/> + <option id="sbi.gnu.cpp.compiler.option.372682793" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="wearable-5.0-device.core.private.20180528_1_llvm40.armel"/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.302507258" 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/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-watch""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/asp/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/aul/""/> + <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/context-service/wearable/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csr""/> + <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/device-certificate-manager""/> + <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/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/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/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/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/pkgmgr""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/privacy-privilege-manager/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rpc-port""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rua/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/screen_connector_watcher_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <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/tef""/> + <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/tzsh""/> + <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/unicode""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vconf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vulkan""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watch-control""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-common""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication-provider""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-editor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/> + <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.330905035" 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.2085983105" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks.core.199599541" superClass="sbi.gnu.cpp.compiler.option.frameworks.core" valueType="userObjs"> + <listOptionValue builtIn="false" value="Native_API"/> + </option> + <option id="sbi.gnu.cpp.compiler.option.preprocessor.def.deprecation.208561911" superClass="sbi.gnu.cpp.compiler.option.preprocessor.def.deprecation" valueType="definedSymbols"> + <listOptionValue builtIn="false" value="TIZEN_DEPRECATION"/> + <listOptionValue builtIn="false" value="DEPRECATION_WARNING"/> + <listOptionValue builtIn="false" value="_DEBUG"/> + </option> + <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1349648055" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> + </tool> + <tool command="clang.exe" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.994111464" 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.382813035" 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.1162616707" 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.722981029" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/> + <option id="sbi.gnu.c.compiler.option.1545234841" superClass="sbi.gnu.c.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="wearable-5.0-device.core.private.20180528_1_llvm40.armel"/> + </option> + <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.562199907" 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/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-watch""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/asp/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/aul/""/> + <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/context-service/wearable/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csr""/> + <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/device-certificate-manager""/> + <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/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/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/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/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/pkgmgr""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/privacy-privilege-manager/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rpc-port""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rua/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/screen_connector_watcher_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <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/tef""/> + <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/tzsh""/> + <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/unicode""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vconf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vulkan""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watch-control""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-common""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication-provider""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-editor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/> + <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.696179427" 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.189860316" 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.1198172296" superClass="sbi.gnu.c.compiler.option.frameworks.core" valueType="userObjs"> + <listOptionValue builtIn="false" value="Native_API"/> + </option> + <option id="sbi.gnu.c.compiler.option.preprocessor.def.symbols.deprecation.1058413973" superClass="sbi.gnu.c.compiler.option.preprocessor.def.symbols.deprecation" valueType="definedSymbols"> + <listOptionValue builtIn="false" value="TIZEN_DEPRECATION"/> + <listOptionValue builtIn="false" value="DEPRECATION_WARNING"/> + <listOptionValue builtIn="false" value="_DEBUG"/> + </option> + <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.880884046" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> + </tool> + <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.460818576" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/> + <tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.682463799" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker"> + <option defaultValue="false" id="sbi.gnu.cpp.link.option.strip.423423679" name="Omit all symbol information (-s)" superClass="sbi.gnu.cpp.link.option.strip" valueType="boolean"/> + <option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.1015026092" 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.1001730002" 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.369262557" 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="--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.858567975" superClass="gnu.cpp.link.option.paths" valueType="libPaths"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/lib}""/> + </option> + <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.443732972" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> + <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> + <additionalInput kind="additionalinput" paths="$(LIBS)"/> + </inputType> + </tool> + <tool command="#{PLATFORM_DEFAULT_GCC_PREFIX}as.exe" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.611454648" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base"> + <inputType id="cdt.managedbuild.tool.gnu.assembler.input.2014260073" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> + </tool> + <tool id="org.tizen.nativecore.tool.fnmapgen.1822602608" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/> + <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.442519936" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/> + <tool id="org.tizen.nativecore.tool.ast.1072073159" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/> + <tool id="org.tizen.nativecore.tool.ast.cpp.980677772" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/> + <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.855590470" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/> + <tool id="org.tizen.nativecore.tool.sbi.po.compiler.432370440" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/> + <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.1275186363" 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.1949070098"> + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.release.1949070098" 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.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GLDErrorParser" 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.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + </extensions> + </storageModule> + <storageModule moduleId="cdtBuildSystem" version="4.0.0"> + <configuration artifactName="complication-provider" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.release.1949070098" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.app.release"> + <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.release.1949070098." name="/" resourcePath=""> + <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.release.2037975884" 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.1250592966" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/> + <builder buildPath="${workspace_loc:/complication-provider}/Release" id="org.tizen.nativecore.target.sbi.gnu.builder.933819037" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/> + <tool command="i586-linux-gnueabi-ar.exe" id="org.tizen.nativecore.tool.sbi.gnu.archiver.321982682" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/> + <tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.1421889385" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler"> + <option id="gnu.cpp.compiler.option.optimization.level.364382168" 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.none" id="sbi.gnu.cpp.compiler.option.debugging.level.core.1150407177" 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.983221193" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/> + <option id="sbi.gnu.cpp.compiler.option.1035562517" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="wearable-5.0-emulator.core.private.20180517_2_llvm40.i386"/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.978099193" 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/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-watch""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/asp/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/aul/""/> + <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/context-service/wearable/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csr""/> + <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/device-certificate-manager""/> + <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/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/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/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/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/pkgmgr""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/privacy-privilege-manager/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rpc-port""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rua/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <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/tef""/> + <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/tzsh""/> + <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/unicode""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vconf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vulkan""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-common""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication-provider""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/> + <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.1065102073" 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.1256540840" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks.core.207486161" 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.1155728031" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> + </tool> + <tool command="clang.exe" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.718905911" 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.1891771675" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/> + <option defaultValue="gnu.c.debugging.level.none" id="sbi.gnu.c.compiler.option.debugging.level.core.1618702232" 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.1335547735" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/> + <option id="sbi.gnu.c.compiler.option.793187522" superClass="sbi.gnu.c.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="wearable-5.0-emulator.core.private.20180517_2_llvm40.i386"/> + </option> + <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.2009430269" 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/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-watch""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/asp/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/aul/""/> + <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/context-service/wearable/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csr""/> + <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/device-certificate-manager""/> + <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/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/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/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/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/pkgmgr""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/privacy-privilege-manager/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rpc-port""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rua/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <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/tef""/> + <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/tzsh""/> + <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/unicode""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vconf""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vulkan""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-common""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/watchface-complication-provider""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_dali""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/> + <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.111697275" 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.733718744" 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.295991805" 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.143093186" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> + </tool> + <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.1328806187" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/> + <tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.161728597" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker"> + <option defaultValue="true" id="sbi.gnu.cpp.link.option.strip.237220429" name="Omit all symbol information (-s)" superClass="sbi.gnu.cpp.link.option.strip" valueType="boolean"/> + <option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.562646634" 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.2026445640" 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.1639147956" 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="--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.1415978430" superClass="gnu.cpp.link.option.paths" valueType="libPaths"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/lib}""/> + </option> + <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.2090711632" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> + <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> + <additionalInput kind="additionalinput" paths="$(LIBS)"/> + </inputType> + </tool> + <tool command="#{PLATFORM_DEFAULT_GCC_PREFIX}as.exe" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.1695107929" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base"> + <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1219887500" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> + </tool> + <tool id="org.tizen.nativecore.tool.fnmapgen.254785328" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/> + <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.452425496" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/> + <tool id="org.tizen.nativecore.tool.ast.1489137743" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/> + <tool id="org.tizen.nativecore.tool.ast.cpp.1695367496" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/> + <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.557638768" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/> + <tool id="org.tizen.nativecore.tool.sbi.po.compiler.793035039" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/> + <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.4288712" 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="complication-provider.org.tizen.nativecore.target.sbi.gcc45.app.1565142131" 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.debug.1547945608"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> + </scannerConfigBuildInfo> + <scannerConfigBuildInfo instanceId="org.tizen.nativecore.config.sbi.gcc45.app.release.1949070098"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> + </scannerConfigBuildInfo> + </storageModule> + <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> + <storageModule moduleId="refreshScope"/> + <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/> +</cproject> diff --git a/complication-provider/.exportMap b/complication-provider/.exportMap new file mode 100755 index 0000000..de30516 --- /dev/null +++ b/complication-provider/.exportMap @@ -0,0 +1,5 @@ +{ + global: main; + _IO_*; + local: *; +}; diff --git a/complication-provider/.project b/complication-provider/.project new file mode 100755 index 0000000..4010469 --- /dev/null +++ b/complication-provider/.project @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>complication-provider</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> + <triggers>full,incremental,</triggers> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.cdt.core.cnature</nature> + <nature>org.eclipse.cdt.core.ccnature</nature> + <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> + <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> + </natures> + <filteredResources> + <filter> + <id>1528273670556</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>1528273670575</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/complication-provider/.tproject b/complication-provider/.tproject new file mode 100755 index 0000000..ccab492 --- /dev/null +++ b/complication-provider/.tproject @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<tproject xmlns="http://www.tizen.org/tproject"> + <platforms> + <platform> + <name>wearable-5.0</name> + </platform> + </platforms> + <package> + <blacklist/> + <resFallback autoGen="true"/> + </package> +</tproject> diff --git a/complication-provider/inc/complication-provider.h b/complication-provider/inc/complication-provider.h new file mode 100644 index 0000000..58c9414 --- /dev/null +++ b/complication-provider/inc/complication-provider.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __complication_provider_H__ +#define __complication_provider_H__ + +#include <dlog.h> + +#ifdef LOG_TAG +#undef LOG_TAG +#endif +#define LOG_TAG "complication-provider" + +#if !defined(PACKAGE) +#define PACKAGE "org.tizen.complication-provider" +#endif + +#endif /* __complication_provider_H__ */ diff --git a/complication-provider/project_def.prop b/complication-provider/project_def.prop new file mode 100755 index 0000000..1b3bbcf --- /dev/null +++ b/complication-provider/project_def.prop @@ -0,0 +1,56 @@ +# Project Name +APPNAME = complication-provider + +# Project Type +type = app + +# Project Profile +profile = wearable-5.0 + +# C/CPP Sources +USER_SRCS = src/complication-provider.c + +# EDC Sources +USER_EDCS = + +# User Defines +USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING +USER_CPP_DEFS = + +# User Undefines +USER_UNDEFS = +USER_CPP_UNDEFS = + + +# User Libraries +USER_LIBS = + +# User Objects +USER_OBJS = + + +# User Includes +## C Compiler +USER_C_INC_DIRS = inc +USER_INC_FILES = +## C++ Compiler +USER_CPP_INC_DIRS = +USER_CPP_INC_FILES = + +USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS) + +# User Library Path +USER_LIB_DIRS = + +# EDC Resource Path +USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} + +# EDC Flags +USER_EXT_EDC_KEYS = EDC0 + +USER_EXT_EDC0_EDCS = +USER_EXT_EDC0_EDCS_IMAGE_DIRS = + +# Resource Filter +USER_RES_INCLUDE = +USER_RES_EXCLUDE =
\ No newline at end of file diff --git a/complication-provider/shared/res/complication-provider.png b/complication-provider/shared/res/complication-provider.png Binary files differnew file mode 100755 index 0000000..9765b1b --- /dev/null +++ b/complication-provider/shared/res/complication-provider.png diff --git a/complication-provider/src/complication-provider.c b/complication-provider/src/complication-provider.c new file mode 100644 index 0000000..7f4d0c3 --- /dev/null +++ b/complication-provider/src/complication-provider.c @@ -0,0 +1,61 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "complication-provider.h" +#include <service_app.h> + +static bool +app_create(void *data) +{ + /* Hook to take necessary actions before main event loop starts + Initialize UI resources and application's data + If this function returns true, the main loop of application starts + If this function returns false, the application is terminated */ +/* It is a dummy service for providing battery complications. +Later on we may add more complications and update this file*/ + return true; +} + +static void +app_control(app_control_h app_control, void *data) +{ + /* Handle the launch request. */ +} + + +static void +app_terminate(void *data) +{ + /* Release all resources. */ +} + +int +main(int argc, char *argv[]) +{ + int ret; + + service_app_lifecycle_callback_s event_callback = {0, }; + + event_callback.create = app_create; + event_callback.terminate = app_terminate; + event_callback.app_control = app_control; + + ret = service_app_main(argc, argv, &event_callback, NULL); + if (ret != APP_ERROR_NONE) + dlog_print(DLOG_ERROR, LOG_TAG, "ui_app_main() failed. err = %d", ret); + + return ret; +} diff --git a/complication-provider/tizen-manifest.xml b/complication-provider/tizen-manifest.xml new file mode 100755 index 0000000..9005cb3 --- /dev/null +++ b/complication-provider/tizen-manifest.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<manifest xmlns="http://tizen.org/ns/packages" api-version="5.0" package="org.tizen.complication-provider" version="1.0.0"> + <profile name="wearable"/> + <service-application appid="org.tizen.complication-provider" exec="complication-provider" multiple="false" nodisplay="true" taskmanage="false" type="capp"> + <label>complication-provider</label> + <icon>complication-provider.png</icon> + <complication provider-id="org.tizen.complication-provider/battery"> + <support-type> + <icon-type> + <default-icon>iconicon</default-icon> + </icon-type> + <image-type> + <default-image>imageimage</default-image> + </image-type> + <short-text-type> + <default-shorttext>10</default-shorttext> + </short-text-type> + </support-type> + <period>60</period> + <label>Battery</label> + <label xml:lang="ar-ae">ïºŽï» ïº˜ï»—ï»®ï»´ï»£</label> + <label xml:lang="az-az">TÉ™qvim</label> + <label xml:lang="bg-bg">Календар</label> + <privileges> + <privilege>http://tizen.org/privilege/alarm.get</privilege> + <privilege>http://tizen.org/privilege/alarm.set</privilege> + </privileges> + </complication> + </service-application> +</manifest> diff --git a/inc/analog-watch.h b/inc/analog-watch.h new file mode 100644 index 0000000..d51a536 --- /dev/null +++ b/inc/analog-watch.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef _ANALOG_WATCH_H_ +#define _ANALOG_WATCH_H_ + +#include <app.h> +#include <Elementary.h> +#include <tizen.h> +#include <watch_app.h> +#include <watch_app_efl.h> +#include <system_settings.h> +#include <efl_extension.h> + +#ifdef LOG_TAG +#undef LOG_TAG +#endif +#define LOG_TAG "analog-watch" + + +#if !defined(PACKAGE) +#define PACKAGE "org.tizen.analog-watch" +#endif + +#endif /* _ANALOG_WATCH_H__ */ diff --git a/inc/app-log.h b/inc/app-log.h new file mode 100644 index 0000000..a1f952b --- /dev/null +++ b/inc/app-log.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef _APP_LOG_H_ +#define _APP_LOG_H_ + +#include <dlog.h> + +#define __D(format, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, format, ##arg) +#define __I(format, arg...) dlog_print(DLOG_INFO, LOG_TAG, format, ##arg) +#define __E(format, arg...) dlog_print(DLOG_ERROR, LOG_TAG, format, ##arg) + +#endif /* _APP_LOG_H_ */ diff --git a/inc/battery-data.h b/inc/battery-data.h new file mode 100644 index 0000000..da7eb07 --- /dev/null +++ b/inc/battery-data.h @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#ifndef _BATTERY_DATA_H_ +#define _BATTERY_DATA_H_ + +#include <device/callback.h> + +typedef void (*battery_changed_cb)(int value, void *user_data); + + +/* + * @brief provide the battery level + * return battery level + */ +int battery_get_status(); + +/* + * @brief Adds a callback to the observing device state. + * @param callback The callback function to add + * @param user data + */ +void battery_add_status_changed_cb(battery_changed_cb callback, + void *user_data); + +/* + * @brief removes the callback registered + * @param function pointer to callback function + */ +void battery_remove_status_changed_cb(battery_changed_cb callback); +#endif /* BATTERY_DATA_H_ */ diff --git a/inc/comp-manager.h b/inc/comp-manager.h new file mode 100644 index 0000000..b89ad1c --- /dev/null +++ b/inc/comp-manager.h @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#ifndef _COMP_MANAGER_H_ +#define _COMP_MANAGER_H_ + +#include <app.h> +#include "watchface-editable.h" +#include "watchface-complication.h" + +#define COLOR_NUM 12 +#define COLOR_EDIT 1 +#define RIGHT_COMP 9 +#define MSG_ID_SET_BATTERY_COMP 1 +#define MSG_ID_SET_BATTERY_LEVEL 2 + +#define DATA_KEY_HANDS_SEC "__HANDS_SEC__" +#define DATA_KEY_HANDS_MIN "__HANDS_MIN__" +#define DATA_KEY_HANDS_HOUR "__HANDS_HOUR__" + +#define BATTERY_PROVIDER_ID "org.tizen.complication-provider/battery" + + +/* + * brief initializes the comp-manager + */ +void comp_init(); + +/* + * @brief Removes the callback for editables + */ +void comp_destroy(); + + +#endif /* _COMP_MANAGER_H_ */ diff --git a/inc/data-provider.h b/inc/data-provider.h new file mode 100644 index 0000000..b39a74c --- /dev/null +++ b/inc/data-provider.h @@ -0,0 +1,94 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#ifndef _DATA_PROVIDER_H_ +#define _DATA_PROVIDER_H_ + +#define MAIN_EDJ "edje/main.edj" +#define MAIN_GRP "layout_watchface" +#define IMAGE_BG_PATH "images/default_analog_bg.png" + + +typedef enum { + PARTS_TYPE_HANDS_SEC = 0, + PARTS_TYPE_HANDS_MIN = 1, + PARTS_TYPE_HANDS_HOUR = 2, + PARTS_TYPE_MAX, +} parts_type_e; + + +struct color{ + int r; + int g; + int b; + int a; +}; + +/* Layout */ +#define BASE_WIDTH 360 +#define BASE_HEIGHT 360 + +/* Angle */ +#define HOUR_ANGLE 30 +#define MIN_ANGLE 6 +#define SEC_ANGLE 6 + +#define HANDS_SEC_WIDTH 40 +#define HANDS_SEC_HEIGHT 360 +#define HANDS_MIN_WIDTH 40 +#define HANDS_MIN_HEIGHT 360 +#define HANDS_HOUR_WIDTH 40 +#define HANDS_HOUR_HEIGHT 360 + +/** + * @brief Get a image path of the part. + * @param[in] type The part type + */ +char *data_get_parts_image_path(parts_type_e type); + +/** + * @brief Get a position of the part. + * @param[in] type The part type + * @param[out] x The pointer to an integer in which to store the X coordinate of the part + * @param[out] y The pointer to an integer in which to store the Y coordinate of the part + */ +void data_get_parts_position(parts_type_e type, int *x, int *y); + +/** + * @brief Get a width size of the part. + * @param[in] type The part type + */ +int data_get_parts_width_size(parts_type_e type); + +/** + * @brief Get a height size of the part. + * @param[in] type The part type + */ +int data_get_parts_height_size(parts_type_e type); + +/** + * @brief Get plus angle for the hour hand. + * @param[in] minute Current minute + */ +int data_get_plus_angle(int minute); + +/* + * @brief get color codes converted to RGB values + * @param code in color class + * @return RGBA value + */ +struct color data_get_color_codes(const char *code); + +#endif /* _DATA_PROVIDER_H_ */ diff --git a/inc/utils.h b/inc/utils.h new file mode 100644 index 0000000..ee05916 --- /dev/null +++ b/inc/utils.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef _UTILS_H_ +#define _UTILS_H_ + +#include <app.h> +#include<Elementary.h> + +/* + * @brief Creates path to the given resource file by concatenation of the basic resource path and the given file_name. + * @param[in] file_name File name or path relative to the resource directory. + * @return: The absolute path to the resource with given file_name is returned. + */ +char* utils_create_resource_path(const char*); + + +#endif /* _UTILS_H_ */ diff --git a/inc/view.h b/inc/view.h new file mode 100644 index 0000000..ff298cb --- /dev/null +++ b/inc/view.h @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#ifndef _VIEW_H_ +#define _VIEW_H_ + +#include <Elementary.h> + +/* + * + */ +void view_set_time(int, int, int); +/* + * @brief sets the battery value in view + * @param battery level + * @param user data + */ +void view_set_battery_status(int, void*); + +/* + * @brief returns the watchface-layout + */ +Evas_Object *view_get_watchface_layout(void); + +/* + * @brief rotation of hands in view part is shown + * @param Evas object for hand of clock + * @param angle of the hand + * @param x coord of hand + * @param y coord of hand + */ +void view_rotate_hand(Evas_Object *hand, double degree, Evas_Coord cx, Evas_Coord cy); + +/* initializes the view */ +void view_init(); + +/* destroys the view */ +void view_destroy(); + +#endif /* _VIEW_H_ */ diff --git a/project_def.prop b/project_def.prop new file mode 100644 index 0000000..2c34bd2 --- /dev/null +++ b/project_def.prop @@ -0,0 +1,56 @@ +# Project Name +APPNAME = analog-watch + +# Project Type +type = app + +# Project Profile +profile = wearable-5.0 + +# C/CPP Sources +USER_SRCS = src/main.c src/view.c src/data-provider.c src/comp-manager.c src/utils.c src/battery-data.c + +# EDC Sources +USER_EDCS = + +# User Defines +USER_DEFS = TIZEN_DEPRECATION DEPRECATION_WARNING +USER_CPP_DEFS = + +# User Undefines +USER_UNDEFS = +USER_CPP_UNDEFS = + + +# User Libraries +USER_LIBS = + +# User Objects +USER_OBJS = + + +# User Includes +## C Compiler +USER_C_INC_DIRS = inc +USER_INC_FILES = +## C++ Compiler +USER_CPP_INC_DIRS = +USER_CPP_INC_FILES = + +USER_INC_DIRS = $(USER_C_INC_DIRS) $(USER_CPP_INC_DIRS) + +# User Library Path +USER_LIB_DIRS = + +# EDC Resource Path +USER_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} res/images + +# EDC Flags +USER_EXT_EDC_KEYS = EDC0 + +USER_EXT_EDC0_EDCS = res/edje/main.edc res/edje/color_classes.edc +USER_EXT_EDC0_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} res/images + +# Resource Filter +USER_RES_INCLUDE = +USER_RES_EXCLUDE = diff --git a/res/edje/color_classes.edc b/res/edje/color_classes.edc new file mode 100644 index 0000000..4ffd51d --- /dev/null +++ b/res/edje/color_classes.edc @@ -0,0 +1,823 @@ +/* + * Samsung API + * Copyright (c) 2018 Samsung Electronics Co., Ltd. + * + * Licensed under the Flora License, Version 1.1 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +color_classes { + color_class { + name: "AO0011D"; + color: 250 250 250 77; + } + color_class { + name: "AO0011"; + color: 250 250 250 255; + } + color_class { + name: "AO0014"; + color: 0 0 0 255; + } + color_class { + name: "AO0012"; + color: 0 0 0 255; + } + color_class { + name: "AO0012S"; + color: 0 0 0 255; + } + color_class { + name: "AO0021"; + color: 250 250 250 77; + } + color_class { + name: "AO0021S"; + color: 250 250 250 255; + } + color_class { + name: "AO0111"; + color: 0 0 0 102; + } + color_class { + name: "AO0112"; + color: 0 0 0 165; + } + color_class { + name: "AO0113"; + color: 10 10 10 255; + } + color_class { + name: "AO0121L1"; + color: 21 191 52 255; + } + color_class { + name: "AO0121L1P"; + color: 21 191 52 127; + } + color_class { + name: "AO0121L2"; + color: 8 181 224 255; + } + color_class { + name: "AO0121L2P"; + color: 8 181 224 127; + } + color_class { + name: "AO0121L3"; + color: 23 144 237 255; + } + color_class { + name: "AO0121L3P"; + color: 23 144 237 127; + } + color_class { + name: "AO0121L4"; + color: 255 161 0 255; + } + color_class { + name: "AO0121L4P"; + color: 255 161 0 127; + } + color_class { + name: "AO0121L5"; + color: 255 114 0 255; + } + color_class { + name: "AO0121L5P"; + color: 255 114 0 127; + } + color_class { + name: "AO0121L6"; + color: 255 59 0 255; + } + color_class { + name: "AO0121L6P"; + color: 255 59 0 127; + } + color_class { + name: "AO0121L7"; + color: 160 91 239 255; + } + color_class { + name: "AO0121L7P"; + color: 160 91 239 127; + } + color_class { + name: "AO0121L8"; + color: 0 0 0 255; + } + color_class { + name: "AO0121L8P"; + color: 0 0 0 127; + } + color_class { + name: "AO0122L1"; + color: 255 255 255 255; + } + color_class { + name: "AO0122L2"; + color: 61 61 61 255; + } + color_class { + name: "AO0123L1"; + color: 51 51 51 255; + } + color_class { + name: "AO0123L2"; + color: 160 160 160 255; + } + color_class { + name: "AO013L1"; + color: 255 106 0 255; + } + color_class { + name: "AO013L2"; + color: 0 0 0 255; + } + color_class { + name: "AO014"; + color: 0 0 0 255; + } + color_class { + name: "AO14P"; + color: 0 0 0 127; + } + color_class { + name: "AO014P"; + color: 249 249 249 127; + } + color_class { + name: "AO0151"; + color: 0 0 0 102; + } + color_class { + name: "AO0151P"; + color: 0 0 0 165; + } + color_class { + name: "AO0151D"; + color: 0 0 0 51; + } + color_class { + name: "AO0152"; + color: 0 0 0 76; + } + color_class { + name: "AO0152P"; + color: 0 0 0 38; + } + color_class { + name: "AO0152D"; + color: 0 0 0 25; + } + color_class { + name: "AO0161"; + color: 0 0 0 102; + } + color_class { + name: "AO0161P"; + color: 0 0 0 165; + } + color_class { + name: "AO0161D"; + color: 0 0 0 51; + } + color_class { + name: "AO0162"; + color: 212 213 214 76; + } + color_class { + name: "AO0162P"; + color: 212 213 214 76; + } + color_class { + name: "AO0162D"; + color: 212 213 214 76; + } + color_class { + name: "AO021"; + color: 127 127 127 255; + } + color_class { + name: "AO021S"; + color: 165 63 56 255; + } + color_class { + name: "AO022"; + color: 0 105 147 255; + } + color_class { + name: "AO023"; + color: 0 0 0 102; + } + color_class { + name: "AO024"; + color: 0 0 0 255; + } + color_class { + name: "AO024P"; + color: 0 0 0 127; + } + color_class { + name: "AO0251L1"; + color: 255 255 255 255; + } + color_class { + name: "AO0251L2"; + color: 61 61 61 255; + } + color_class { + name: "AO0252L1"; + color: 51 51 51 255; + } + color_class { + name: "AO0252L2"; + color: 160 160 160 255; + } + color_class { + name: "AO031"; + color: 0 0 0 127; + } + color_class { + name: "AO032"; + color: 0 0 0 127; + } + color_class { + name: "AO0321"; + color: 0 0 0 255; + } + color_class { + name: "AO032S"; + color: 0 0 0 127; + } + color_class { + name: "AO033"; + color: 0 0 0 51; + } + color_class { + name: "AO033P"; + color: 0 0 0 51; + } + color_class { + name: "AO034"; + color: 250 250 250 255; + } + color_class { + name: "AO034P"; + color: 250 250 250 127; + } + color_class { + name: "AO035"; + color: 201 221 220 255; + } + color_class { + name: "AO035P"; + color: 201 221 220 127; + } + color_class { + name: "AO0401"; + color: 0 166 255 255; + } + color_class { + name: "AO0401A"; + color: 70 124 191 255; + } + color_class { + name: "AO0402"; + color: 0 184 235 255; + } + color_class { + name: "AO0402A"; + color: 0 150 191 255; + } + color_class { + name: "AO0403"; + color: 0 235 215 255; + } + color_class { + name: "AO0403A"; + color: 0 179 164 255; + } + color_class { + name: "AO0404"; + color: 168 250 80 255; + } + color_class { + name: "AO0404A"; + color: 120 179 57 255; + } + color_class { + name: "AO0405"; + color: 196 240 0 255; + } + color_class { + name: "AO0405A"; + color: 146 179 0 255; + } + color_class { + name: "AO0406"; + color: 255 248 56 255; + } + color_class { + name: "AO0406A"; + color: 191 186 42 255; + } + color_class { + name: "AO0407"; + color: 255 161 20 255; + } + color_class { + name: "AO0407A"; + color: 204 129 16 255; + } + color_class { + name: "AO0408"; + color: 255 102 0 255; + } + color_class { + name: "AO0408A"; + color: 191 77 0 255; + } + color_class { + name: "AO0409"; + color: 255 52 41 255; + } + color_class { + name: "AO0409A"; + color: 191 39 31 255; + } + color_class { + name: "AO0410"; + color: 230 62 188 255; + } + color_class { + name: "AO0410A"; + color: 179 48 146 255; + } + color_class { + name: "AO0411"; + color: 150 77 240 255; + } + color_class { + name: "AO0411A"; + color: 104 53 166 255; + } + color_class { + name: "AO0412"; + color: 255 255 255 255; + } + color_class { + name: "AO0412A"; + color: 179 179 179 255; + } + color_class { + name: "AO041"; + color: 0 0 0 127; + } + color_class { + name: "AO042"; + color: 0 0 0 255; + } + color_class { + name: "AO043"; + color: 0 0 0 255; + } + color_class { + name: "AO044L1"; + color: 250 250 250 255; + } + color_class { + name: "AO044L2"; + color: 0 0 0 255; + } + color_class { + name: "AO044L3"; + color: 184 46 46 255; + } + color_class { + name: "AO044L4"; + color: 0 0 0 90; + } + color_class { + name: "AO045"; + color: 0 0 0 127; + } + color_class { + name: "AO046"; + color: 0 0 0 127; + } + color_class { + name: "AO047"; + color: 0 0 0 127; + } + color_class { + name: "AO0481"; + color: 0 0 0 51; + } + color_class { + name: "AO0482"; + color: 0 0 0 25; + } + color_class { + name: "AO0491"; + color: 250 250 250 26; + } + color_class { + name: "AO0493"; + color: 0 0 0 100; + } + color_class { + name: "AO051S"; + color: 155 234 18 229; + } + color_class { + name: "AO051"; + color: 0 0 0 229; + } + color_class { + name: "AO051D"; + color: 155 234 18 127; + } + color_class { + name: "AO052L1S"; + color: 0 0 0 255; + } + color_class { + name: "AO052L1"; + color: 0 0 0 255; + } + color_class { + name: "AO052L1D"; + color: 0 0 0 255; + } + color_class { + name: "AO052L2S"; + color: 160 141 56 255; + } + color_class { + name: "AO052L2"; + color: 45 45 45 255; + } + color_class { + name: "AO052L2D"; + color: 160 141 56 127; + } + color_class { + name: "AO053"; + color: 0 0 0 255; + } + color_class { + name: "AO0531"; + color: 54 77 84 255; + } + color_class { + name: "AO054L1S"; + color: 0 20 28 255; + } + color_class { + name: "AO054L1"; + color: 0 20 28 255; + } + color_class { + name: "AO054L1D"; + color: 0 20 28 127; + } + color_class { + name: "AO054L2S"; + color: 172 234 0 229; + } + color_class { + name: "AO054L2"; + color: 255 255 255 255; + } + color_class { + name: "AO054L2D"; + color: 255 255 255 127; + } + color_class { + name: "AO056L1"; + color: 25 25 25 255; + } + color_class { + name: "AO056L1P"; + color: 25 25 25 127; + } + color_class { + name: "AO056L2"; + color: 76 76 76 255; + } + color_class { + name: "AO056L2P"; + color: 76 76 76 127; + } + color_class { + name: "AO056L3"; + color: 186 255 0 255; + } + color_class { + name: "AO056L3P"; + color: 186 255 0 127; + } + color_class { + name: "AO056L4"; + color: 0 0 0 127; + } + color_class { + name: "AO056L4P"; + color: 0 0 0 63; + } + color_class { + name: "AO056L5"; + color: 0 0 0 255; + } + color_class { + name: "AO056L5P"; + color: 0 0 0 127; + } + color_class { + name: "AO057"; + color: 56 56 56 255; + } + color_class { + name: "AO058"; + color: 0 0 0 255; + } + color_class { + name: "AO058P"; + color: 0 0 0 127; + } + color_class { + name: "AO058D"; + color: 0 0 0 38; + } + color_class { + name: "AO061"; + color: 0 0 0 102; + } + color_class { + name: "AO062"; + color: 0 0 0 63; + } + color_class { + name: "AO062P"; + color: 0 0 0 127; + } + color_class { + name: "AO063"; + color: 0 0 0 127; + } + color_class { + name: "AO064"; + color: 0 0 0 255; + } + color_class { + name: "AO064P"; + color: 0 0 0 127; + } + color_class { + name: "AO065"; + color: 0 0 0 63; + } + color_class { + name: "AO0661"; + color: 0 0 0 25; + } + color_class { + name: "AO0662"; + color: 0 0 0 127; + } + color_class { + name: "AO0663"; + color: 0 0 0 63; + } + color_class { + name: "AO0664"; + color: 255 255 255 127; + } + color_class { + name: "AO081S"; + color: 178 255 0 76; + } + color_class { + name: "AO081"; + color: 212 213 214 76; + } + color_class { + name: "AO081D"; + color: 212 213 214 38; + } + color_class { + name: "AO082"; + color: 0 0 0 178; + } + color_class { + name: "AO082P"; + color: 0 0 0 255; + } + color_class { + name: "AO082D"; + color: 0 0 0 51; + } + color_class { + name: "AO083L1"; + color: 0 0 0 102; + } + color_class { + name: "AO083L1P"; + color: 0 0 0 102; + } + color_class { + name: "AO083L2"; + color: 186 255 0 255; + } + color_class { + name: "AO083L2P"; + color: 186 255 0 127; + } + color_class { + name: "AO084L1"; + color: 0 0 0 102; + } + color_class { + name: "AO084L1P"; + color: 0 0 0 102; + } + color_class { + name: "AO084L2"; + color: 158 158 158 178; + } + color_class { + name: "AO084L2P"; + color: 158 158 158 89; + } + color_class { + name: "AO085L1"; + color: 0 0 0 102; + } + color_class { + name: "AO085L2"; + color: 0 0 0 51; + } + color_class { + name: "AO086L1"; + color: 0 0 0 102; + } + color_class { + name: "AO086L1P"; + color: 0 0 0 102; + } + color_class { + name: "AO086L2"; + color: 0 0 0 178; + } + color_class { + name: "AO086L2P"; + color: 0 0 0 89; + } + color_class { + name: "AT0111"; + color: 0 0 0 255; + } + color_class { + name: "AT0112"; + color: 0 0 0 255; + } + color_class { + name: "AT0121"; + color: 0 0 0 255; + } + color_class { + name: "AT0121P"; + color: 0 0 0 127; + } + color_class { + name: "AT0122"; + color: 0 0 0 255; + } + color_class { + name: "AT0122P"; + color: 0 0 0 127; + } + color_class { + name: "AT0131"; + color: 0 0 0 255; + } + color_class { + name: "AT0132"; + color: 0 0 0 255; + } + color_class { + name: "AT0133"; + color: 0 0 0 255; + } + color_class { + name: "AT0134"; + color: 0 0 0 255; + } + color_class { + name: "AT014"; + color: 0 0 0 255; + } + color_class { + name: "AT014P"; + color: 0 0 0 127; + } + color_class { + name: "AT014D"; + color: 0 0 0 51; + } + color_class { + name: "AT021"; + color: 249 249 249 255; + } + color_class { + name: "AT0311"; + color: 0 0 0 255; + } + color_class { + name: "AT0312"; + color: 255 255 255 127; + } + color_class { + name: "AT041S"; + color: 178 255 0 255; + } + color_class { + name: "AT041"; + color: 0 0 0 153; + } + color_class { + name: "AT041D"; + color: 0 0 0 63; + } + color_class { + name: "AT043"; + color: 0 0 0 255; + } + color_class { + name: "AT043P"; + color: 0 0 0 127; + } + color_class { + name: "AT043D"; + color: 0 0 0 38; + } + color_class { + name: "AT045"; + color: 0 0 0 255; + } + color_class { + name: "AT045P"; + color: 0 0 0 255; + } + color_class { + name: "AT054"; + color: 0 0 0 127; + } + color_class { + name: "AT054P"; + color: 0 0 0 63; + } + color_class { + name: "AT054D"; + color: 0 0 0 20; + } + color_class { + name: "AT055"; + color: 186 255 0 255; + } + color_class { + name: "AT055P"; + color: 186 255 0 127; + } + color_class { + name: "AT056"; + color: 0 0 0 127; + } + color_class { + name: "AT056P"; + color: 0 0 0 63; + } + color_class { + name: "AT057"; + color: 0 0 0 63; + } + color_class { + name: "B018E"; + color: 165 63 56 178; + } + color_class { + name: "B019"; + color: 165 63 56 255; + } +} diff --git a/res/edje/main.edc b/res/edje/main.edc new file mode 100644 index 0000000..a6744be --- /dev/null +++ b/res/edje/main.edc @@ -0,0 +1,320 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "color_classes.edc" + +#define IMAGE_BG "default_analog_bg.png" +#define IMAGE_HANDS_BG "default_analog_hands_min.png" +#define IMAGE_BATTERY_ICON_10 "color_status/battery_icon_red.png" +#define IMAGE_BATTERY_ICON_30 "color_status/battery_icon_orange.png" +#define IMAGE_BATTERY_ICON_50 "color_status/battery_icon_yellow.png" +#define IMAGE_BATTERY_ICON_70 "color_status/battery_icon_green.png" +#define IMAGE_BATTERY_ICON_90 "color_status/battery_icon_blue.png" +#define IMAGE_BATTERY_INDICATOR_10 "color_status/red_indicator.png" +#define IMAGE_BATTERY_INDICATOR_30 "color_status/orange_indicator.png" +#define IMAGE_BATTERY_INDICATOR_50 "color_status/yellow_indicator.png" +#define IMAGE_BATTERY_INDICATOR_70 "color_status/green_indicator.png" +#define IMAGE_BATTERY_INDICATOR_90 "color_status/blue_indicator.png" + +#define MSG_ID_SET_BATTERY_COMP 1 +#define MSG_ID_SET_BATTERY_LEVEL 2 +#define MAX_PART_NAME_LEN 255 +#define BATTERY_COMP_TYPE_EMPTY 1 +#define BATTERY_COMP_TYPE_ICON 32 +#define BATTERY_COMP_TYPE_ICON_INDICATOR 64 +#define BATTERY_COMP_TYPE_SHORT_TEXT 2 + +#define STATE_DEFAULT "default" +#define STATE_HIDDEN "hide" +#define STATE_BATTERY_90 "battery90" +#define STATE_BATTERY_70 "battery70" +#define STATE_BATTERY_50 "battery50" +#define STATE_BATTERY_30 "battery30" +#define STATE_BATTERY_10 "battery10" + +#define PART_BG "img.bg" +#define PART_RIGHT_COMP_MODULE "right.complication.module" +#define PART_BATTERY_ICON "img.battery.icon" +#define PART_BATTERY_INDICATOR "img.battery.indicator" +#define PART_BATTERY_VALUE "txt.battery.value" +#define BATTERY_LEVEL "battery.level" +#define STATE_CUSTOM "custom" + +images { + image:IMAGE_BG COMP; + image:IMAGE_HANDS_BG COMP; + image:IMAGE_BATTERY_ICON_10 COMP; + image:IMAGE_BATTERY_ICON_30 COMP; + image:IMAGE_BATTERY_ICON_50 COMP; + image:IMAGE_BATTERY_ICON_70 COMP; + image:IMAGE_BATTERY_ICON_90 COMP; + image:IMAGE_BATTERY_INDICATOR_10 COMP; + image:IMAGE_BATTERY_INDICATOR_30 COMP; + image:IMAGE_BATTERY_INDICATOR_50 COMP; + image:IMAGE_BATTERY_INDICATOR_70 COMP; + image:IMAGE_BATTERY_INDICATOR_90 COMP; +} +collections { + group { name: "layout_watchface"; + parts { + part { name: PART_BG; + type: IMAGE; + mouse_events: 1; + description { + state: STATE_DEFAULT 0.0; + rel1 { relative: (0.0) (0.0); } + rel2 { relative: (1.0) (1.0); } + align: 0.0 0.0; + image { + normal: IMAGE_BG; + } + } + } + part { name: PART_RIGHT_COMP_MODULE; + type: SWALLOW; + description { + state: STATE_DEFAULT 0.0; + rel1 { relative: 210/360.0 136/360.0; } + rel2 { relative: (210 + 88)/360.0 (136 + 88)/360.0; } + align: 0.0 0.0; + min: 88 88; + fixed: 1 1; + } + } + part { name: PART_BATTERY_ICON; + type: IMAGE; + description { state: STATE_DEFAULT 0.0; + rel1 { + relative: 0.5 0.5; + to: PART_RIGHT_COMP_MODULE; + } + rel2 { + relative: 0.5 0.5; + to: PART_RIGHT_COMP_MODULE; + } + align: 0.5 0.5; + min: 73 73; + max: 73 73; + fixed: 1 1; + image { + normal: IMAGE_BATTERY_ICON_70; + } + } + description { state: STATE_BATTERY_90 0.0; + inherit: STATE_DEFAULT 0.0; + image { + normal: IMAGE_BATTERY_ICON_90; + } + } + description { state: STATE_BATTERY_70 0.0; + inherit: STATE_DEFAULT 0.0; + image { + normal: IMAGE_BATTERY_ICON_70; + } + } + description { state: STATE_BATTERY_50 0.0; + inherit: STATE_DEFAULT 0.0; + image { + normal: IMAGE_BATTERY_ICON_50; + } + } + description { state: STATE_BATTERY_30 0.0; + inherit: STATE_DEFAULT 0.0; + image { + normal: IMAGE_BATTERY_ICON_30; + } + } + description { state: STATE_BATTERY_10 0.0; + inherit: STATE_DEFAULT 0.0; + image { + normal: IMAGE_BATTERY_ICON_10; + } + } + description { state: STATE_HIDDEN 0.0; + inherit: STATE_DEFAULT 0.0; + visible: 0; + } + } + part { name: PART_BATTERY_INDICATOR; + type: IMAGE; + description { state: STATE_DEFAULT 0.0; + rel1 { + relative: 0.5 0.5; + to: PART_RIGHT_COMP_MODULE; + } + rel2 { + relative: 0.5 0.5; + to: PART_RIGHT_COMP_MODULE; + } + align: 0.5 0.5; + min: 88 88; + fixed: 1 1; + image { + normal: IMAGE_BATTERY_INDICATOR_70; + } + } + description { state: STATE_BATTERY_90 0.0; + inherit: STATE_DEFAULT 0.0; + image { + normal: IMAGE_BATTERY_INDICATOR_90; + } + } + description { state: STATE_BATTERY_70 0.0; + inherit: STATE_DEFAULT 0.0; + image { + normal: IMAGE_BATTERY_INDICATOR_70; + } + } + description { state: STATE_BATTERY_50 0.0; + inherit: STATE_DEFAULT 0.0; + image { + normal: IMAGE_BATTERY_INDICATOR_50; + } + } + description { state: STATE_BATTERY_30 0.0; + inherit: STATE_DEFAULT 0.0; + image { + normal: IMAGE_BATTERY_INDICATOR_30; + } + } + description { state: STATE_BATTERY_10 0.0; + inherit: STATE_DEFAULT 0.0; + image { + normal: IMAGE_BATTERY_INDICATOR_10; + } + } + description { state: STATE_HIDDEN 0.0; + inherit: STATE_DEFAULT 0.0; + visible: 0; + } + } + part { name: PART_BATTERY_VALUE; + type: TEXT; + description { state: STATE_DEFAULT 0.0; + rel1{ + relative: 0 0; + to: PART_RIGHT_COMP_MODULE; + } + rel2{ + relative: 1 1; + to: PART_RIGHT_COMP_MODULE; + } + align: 0.5 0.5; + text{ + font: "Tizen:style= Bold"; + size: 20; + text: "50%"; + } + color: 255 255 255 255; + visible: 1; + } + description { state: STATE_HIDDEN 0.0; + inherit: STATE_DEFAULT 0.0; + visible: 0; + } + } + } + + script + { + public g_curr_battery_comp; + public _data_get_battery_range(level) { + new range = 0; + if (level >= 0 && level < 20) { + range = 10; + } else if (level >= 20 && level < 40) { + range = 30; + } else if (level >= 40 && level < 60) { + range = 50; + } else if (level >= 60 && level < 80) { + range = 70; + } else if (level >= 80 && level <= 100) { + range = 90; + } + return range; + } + + public _set_battery_comp(num) { + new battery_icon = get_part_id(PART_BATTERY_ICON); + new battery_indicator = get_part_id(PART_BATTERY_INDICATOR); + new battery_value = get_part_id(PART_BATTERY_VALUE); + + if(num == BATTERY_COMP_TYPE_EMPTY) { + set_state(battery_icon, STATE_HIDDEN, 0); + set_state(battery_indicator, STATE_HIDDEN, 0); + set_state(battery_value, STATE_HIDDEN, 0); + } else if(num == BATTERY_COMP_TYPE_ICON) { + set_state(battery_icon, STATE_DEFAULT, 0); + set_state(battery_indicator, STATE_HIDDEN, 0); + set_state(battery_value, STATE_HIDDEN, 0); + } else if(num == BATTERY_COMP_TYPE_ICON_INDICATOR) { + set_state(battery_icon, STATE_DEFAULT, 0); + set_state(battery_indicator, STATE_DEFAULT, 0); + set_state(battery_value, STATE_HIDDEN, 0); + } + else if(num == BATTERY_COMP_TYPE_SHORT_TEXT) { + set_state(battery_icon, STATE_HIDDEN, 0); + set_state(battery_indicator, STATE_DEFAULT, 0); + set_state(battery_value, STATE_DEFAULT, 0); + } + } + + public _set_battery_level(num) { + new curr_battery_comp = get_int(g_curr_battery_comp); + + new range = _data_get_battery_range(num); + new dst[MAX_PART_NAME_LEN]; + new level[MAX_PART_NAME_LEN]; + snprintf(level, MAX_PART_NAME_LEN, "%d%s", num, "%"); + snprintf(dst, MAX_PART_NAME_LEN, "%s%d", "battery", range); + + new battery_icon = get_part_id(PART_BATTERY_ICON); + new battery_indicator = get_part_id(PART_BATTERY_INDICATOR); + new battery_value = get_part_id(PART_BATTERY_VALUE); + + if(curr_battery_comp == BATTERY_COMP_TYPE_ICON) { + set_state(battery_icon, dst, 0); + } else if(curr_battery_comp == BATTERY_COMP_TYPE_ICON_INDICATOR) { + set_state(battery_icon, dst, 0); + set_state(battery_indicator, dst, 0); + } else if(curr_battery_comp == BATTERY_COMP_TYPE_SHORT_TEXT) { + set_state(battery_indicator, dst, 0); + custom_state(battery_value, STATE_DEFAULT, 0.0); + set_state_val(battery_value, STATE_TEXT, level); + set_state(battery_value, STATE_CUSTOM, 0); + } + } + public message(Msg_Type:type, id, ...) { + new val = getarg(2); + + if (type == MSG_INT) { + switch (id) { + case MSG_ID_SET_BATTERY_COMP: { + set_int(g_curr_battery_comp, val); + _set_battery_comp(val); + } + case MSG_ID_SET_BATTERY_LEVEL: { + _set_battery_level(val); + } + default: { + //LOGA(d1, "Unknown message: %d", id) + } + } + } + } + } + } +} diff --git a/res/images/color_status/battery_icon_blue.png b/res/images/color_status/battery_icon_blue.png Binary files differnew file mode 100644 index 0000000..0a0990c --- /dev/null +++ b/res/images/color_status/battery_icon_blue.png diff --git a/res/images/color_status/battery_icon_grean.png b/res/images/color_status/battery_icon_grean.png Binary files differnew file mode 100644 index 0000000..24a674e --- /dev/null +++ b/res/images/color_status/battery_icon_grean.png diff --git a/res/images/color_status/battery_icon_green.png b/res/images/color_status/battery_icon_green.png Binary files differnew file mode 100644 index 0000000..24a674e --- /dev/null +++ b/res/images/color_status/battery_icon_green.png diff --git a/res/images/color_status/battery_icon_orange.png b/res/images/color_status/battery_icon_orange.png Binary files differnew file mode 100644 index 0000000..40b2b80 --- /dev/null +++ b/res/images/color_status/battery_icon_orange.png diff --git a/res/images/color_status/battery_icon_red.png b/res/images/color_status/battery_icon_red.png Binary files differnew file mode 100644 index 0000000..96482e5 --- /dev/null +++ b/res/images/color_status/battery_icon_red.png diff --git a/res/images/color_status/battery_icon_yellow.png b/res/images/color_status/battery_icon_yellow.png Binary files differnew file mode 100644 index 0000000..830504d --- /dev/null +++ b/res/images/color_status/battery_icon_yellow.png diff --git a/res/images/color_status/blue_indicator.png b/res/images/color_status/blue_indicator.png Binary files differnew file mode 100644 index 0000000..1d4c1db --- /dev/null +++ b/res/images/color_status/blue_indicator.png diff --git a/res/images/color_status/green_indicator.png b/res/images/color_status/green_indicator.png Binary files differnew file mode 100644 index 0000000..ac166b0 --- /dev/null +++ b/res/images/color_status/green_indicator.png diff --git a/res/images/color_status/orange_indicator.png b/res/images/color_status/orange_indicator.png Binary files differnew file mode 100644 index 0000000..5d4dfb2 --- /dev/null +++ b/res/images/color_status/orange_indicator.png diff --git a/res/images/color_status/red_indicator.png b/res/images/color_status/red_indicator.png Binary files differnew file mode 100644 index 0000000..6495f6e --- /dev/null +++ b/res/images/color_status/red_indicator.png diff --git a/res/images/color_status/yellow_indicator.png b/res/images/color_status/yellow_indicator.png Binary files differnew file mode 100644 index 0000000..f0eeee3 --- /dev/null +++ b/res/images/color_status/yellow_indicator.png diff --git a/res/images/default_analog_bg.png b/res/images/default_analog_bg.png Binary files differnew file mode 100644 index 0000000..f72b4a5 --- /dev/null +++ b/res/images/default_analog_bg.png diff --git a/res/images/default_analog_hands_hr.png b/res/images/default_analog_hands_hr.png Binary files differnew file mode 100644 index 0000000..ab39036 --- /dev/null +++ b/res/images/default_analog_hands_hr.png diff --git a/res/images/default_analog_hands_min.png b/res/images/default_analog_hands_min.png Binary files differnew file mode 100644 index 0000000..0ece325 --- /dev/null +++ b/res/images/default_analog_hands_min.png diff --git a/res/images/default_analog_hands_sec.png b/res/images/default_analog_hands_sec.png Binary files differnew file mode 100644 index 0000000..5595fd5 --- /dev/null +++ b/res/images/default_analog_hands_sec.png diff --git a/shared/res/analog-watch.png b/shared/res/analog-watch.png Binary files differnew file mode 100644 index 0000000..f72b4a5 --- /dev/null +++ b/shared/res/analog-watch.png diff --git a/src/battery-data.c b/src/battery-data.c new file mode 100644 index 0000000..8d3319d --- /dev/null +++ b/src/battery-data.c @@ -0,0 +1,81 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "battery-data.h" +#include <device/battery.h> +#include "app-log.h" + +battery_changed_cb battery_cb; + +/* + * @brief provide the battery level + * return battery level + */ +int battery_get_status() +{ + int battery_level = 0; + int ret = device_battery_get_percent(&battery_level); + if (ret != DEVICE_ERROR_NONE) { + __E("device_battery_get_percentage error : %d", ret); + } + __D("%s", __func__); + return battery_level; +} + +/* + * @brief Called when a device status is changed. + * @param Enumeration for the device state callback. + * @param value of the changed value + * @param user data + */ +static void _battery_state_changed_cb(device_callback_e type, void *value, void *user_data) +{ + int battery_level = 0; + if (DEVICE_CALLBACK_BATTERY_CAPACITY == type) { + battery_level = (int)value; + } + if (battery_cb) { + __D("battery_cb called"); + battery_cb(battery_level, user_data); + } +} + +/* + * @brief Adds a callback to the observing device state. + * @param callback The callback function to add + * @param user data + */ +void battery_add_status_changed_cb(battery_changed_cb callback, + void *user_data){ + battery_cb = callback; + __D("%s", __func__); + device_add_callback(DEVICE_CALLBACK_BATTERY_CAPACITY, + _battery_state_changed_cb, user_data); +} + +/* + * @brief removes the callback registered + * @param function pointer to callback function + */ +void battery_remove_status_changed_cb(battery_changed_cb callback) +{ + battery_cb = NULL; + device_remove_callback(DEVICE_CALLBACK_BATTERY_CAPACITY, _battery_state_changed_cb); +} + + + + diff --git a/src/comp-manager.c b/src/comp-manager.c new file mode 100644 index 0000000..ee29e66 --- /dev/null +++ b/src/comp-manager.c @@ -0,0 +1,257 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "data-provider.h" +#include "app-log.h" +#include "comp-manager.h" +#include "view.h" +#include "battery-data.h" + +static void _comp_fill_color(bundle*); +static void _comp_on_editable_update(const watchface_editable_h, int, const watchface_editable_edit_state_e, void*); +static void _comp_draw_complication(watchface_complication_type_e); +static void _comp_on_complication_update(int, const char*, watchface_complication_type_e, const bundle*, void*); +static void _comp_on_ready_for_edit_cb(watchface_editable_container_h, const char*, void*); +static void _comp_init_editable(); +static void _comp_init_complication(); +static void _comp_battery_status_changed_cb(int level, void* user_data); + +static complication_h _comp; + +char _colors[COLOR_NUM][10] = { + "AO0401", + "AO0402", + "AO0403", + "AO0404", + "AO0405", + "AO0406", + "AO0407", + "AO0408", + "AO0409", + "AO0410", + "AO0411", + "AO0412", +}; + + +void _comp_battery_status_changed_cb(int level, void* user_data) +{ + view_set_battery_status(level, user_data); +} + +/* + * @brief draws the complication with the help of edj + * @param Enumeration for Complication Type. + */ +void _comp_draw_complication(watchface_complication_type_e type) +{ + int percent; + Evas_Object* watchface_layout; + Edje_Message_Int msg = {0,}; + + watchface_layout = view_get_watchface_layout(); + msg.val = type; + edje_object_message_send(elm_layout_edje_get(watchface_layout), EDJE_MESSAGE_INT, MSG_ID_SET_BATTERY_COMP, &msg); + + percent = battery_get_status(); + __D("_battery_state_changed_cb %d", percent); + + msg.val = percent; + edje_object_message_send(elm_layout_edje_get(watchface_layout), EDJE_MESSAGE_INT, MSG_ID_SET_BATTERY_LEVEL, &msg); +} + +/** + * @brief Called when the complication is updated. + * @param[in] complication_id A number that identifies the complication + * @param[in] provider_id The name of the provider + * @param[in] type The type shown in the complication + * @param[in] data The data of the complication provided by the provider + * @param[in] user_data The user data passed from the callback function + */ +void _comp_on_complication_update(int complication_id, const char *provider_id, watchface_complication_type_e type, const bundle *data, void *user_data) +{ + __D("%s: Complication Type: %d", __func__, type); + _comp_draw_complication(type); +} + +/* + * @brief initializes the complication for watch + */ +void _comp_init_complication() +{ + + char* current_comp_id = NULL; + int ret; + complication_allowed_list_h allowed_list; + watchface_complication_type_e cur_type; + + __D("%s", __func__); + + ret = watchface_complication_create(RIGHT_COMP, BATTERY_PROVIDER_ID, + WATCHFACE_COMPLICATION_TYPE_NO_DATA, + WATCHFACE_COMPLICATION_TYPE_NO_DATA|WATCHFACE_COMPLICATION_TYPE_ICON|WATCHFACE_COMPLICATION_TYPE_IMAGE|WATCHFACE_COMPLICATION_TYPE_SHORT_TEXT, + WATCHFACE_COMPLICATION_SHAPE_TYPE_CIRCLE, &_comp); + + ret = watchface_complication_allowed_list_create(&allowed_list); + + ret = watchface_complication_allowed_list_add(allowed_list, BATTERY_PROVIDER_ID, + WATCHFACE_COMPLICATION_TYPE_NO_DATA|WATCHFACE_COMPLICATION_TYPE_ICON|WATCHFACE_COMPLICATION_TYPE_IMAGE|WATCHFACE_COMPLICATION_TYPE_SHORT_TEXT); + if (ret == WATCHFACE_COMPLICATION_ERROR_EXIST_ID) { + __E("WATCHFACE_COMPLICATION_ERROR_EXIST_ID"); + watchface_complication_allowed_list_delete(allowed_list, BATTERY_PROVIDER_ID); + watchface_complication_allowed_list_add(allowed_list, BATTERY_PROVIDER_ID, + WATCHFACE_COMPLICATION_TYPE_NO_DATA|WATCHFACE_COMPLICATION_TYPE_ICON|WATCHFACE_COMPLICATION_TYPE_IMAGE|WATCHFACE_COMPLICATION_TYPE_SHORT_TEXT); + } + ret = watchface_complication_allowed_list_apply(_comp, allowed_list); + watchface_complication_allowed_list_clear(_comp); + + ret = watchface_complication_get_current_provider_id(_comp, ¤t_comp_id); + watchface_complication_add_updated_cb(_comp, _comp_on_complication_update, NULL); + if (ret == WATCHFACE_COMPLICATION_ERROR_NONE) { + watchface_complication_get_current_type(_comp, &cur_type); + _comp_draw_complication(cur_type); + free(current_comp_id); + } + battery_add_status_changed_cb(_comp_battery_status_changed_cb, NULL); +} + +/* + * @brief fills the selected color in hands + * @param data containing the value for color + */ +void _comp_fill_color(bundle *data) +{ + Evas_Object *hands = NULL; + Evas_Object *watchface_layout = NULL; + struct color c; + char *val = NULL; + + if (data == NULL) { + __I("NULL data"); + return; + } + + bundle_get_str(data, "TEST_COLOR", &val); + if (val == NULL) { + __I("NULL color data"); + return; + } + + c = data_get_color_codes(val); + + watchface_layout = view_get_watchface_layout(); + if (watchface_layout == NULL) + __E("Failed to get watch face layout"); + + hands = evas_object_data_get(watchface_layout, DATA_KEY_HANDS_SEC); + evas_object_color_set(hands, c.r, c.g, c.b, c.a); +} + +/** + * @brief Called when an editable requests an edit. + * @param handle The editable handle + * The @a handle can be used only in the callback. + * @param selected_idx Index + * @param state Editable state + * @param user_data The user data passed from the callback function + */ +void _comp_on_editable_update(const watchface_editable_h handle, + int selected_idx, + const watchface_editable_edit_state_e state, + void *user_data) +{ + + bundle *data; + int ed_id; + + watchface_editable_get_current_data(handle, &data); + watchface_editable_get_editable_id(handle, &ed_id); + __E("%s: curr state: %d, editable id: %d", __func__, state, ed_id); + + if (ed_id == COLOR_EDIT) + _comp_fill_color(data); +} + +/** + * @brief Called when the editor is ready to edit. + * @param[in] handle The editable container handle + * @param[in] editor_appid The name of editor + * @param[in] user_data The user data passed from the callback function + */ +void _comp_on_ready_for_edit_cb(watchface_editable_container_h ed_con_h, const char *editor_appid, void *user_data) +{ + watchface_editable_geo_h geometry; + complication_candidates_list_h candidates_list = NULL; + bundle *edit_data; + int current_idx = 0; + bundle *selected_data = NULL; + char *current_color = NULL; + + watchface_editable_load_current_data(COLOR_EDIT, &selected_data); + bundle_get_str(selected_data, "TEST_COLOR", ¤t_color); + watchface_editable_candidates_list_create(&candidates_list); + + for (int i = 0; i < COLOR_NUM; i++) { + edit_data = bundle_create(); + bundle_add_str(edit_data, "TEST_COLOR", _colors[i]); + watchface_editable_candidates_list_add(candidates_list, edit_data); + dlog_print(DLOG_ERROR, LOG_TAG, "add element %s", _colors[i]); + if (selected_data != NULL) { + if (strcmp(current_color, _colors[i]) == 0) + current_idx = i; + } + } + + watchface_editable_geometry_create(&geometry); + watchface_editable_geometry_set(geometry, 100, 100, 100, 100); + watchface_editable_add_design_element(ed_con_h, COLOR_EDIT, current_idx, + candidates_list, geometry, "Color"); + watchface_editable_candidates_list_destroy(candidates_list); + watchface_editable_geometry_set(geometry, 100, 100, 100, 100); + watchface_editable_add_complication(ed_con_h, RIGHT_COMP, _comp, geometry); + watchface_editable_request_edit(ed_con_h, _comp_on_editable_update, user_data); + + watchface_editable_geometry_destroy(geometry); +} + +/* + * @brief initializes the editables + */ +void _comp_init_editable() +{ + bundle * selected_Data = NULL; + watchface_editable_load_current_data(COLOR_EDIT, &selected_Data); + _comp_fill_color(selected_Data); +} + +/* + * brief initializes the comp-manager + */ +void comp_init() +{ + _comp_init_complication(); + _comp_init_editable(); + + watchface_editable_add_edit_ready_cb(_comp_on_ready_for_edit_cb, NULL); +} + +/* + * @brief Removes the callback for editables + */ +void comp_destroy() +{ + watchface_editable_remove_edit_ready_cb(_comp_on_ready_for_edit_cb); +} diff --git a/src/data-provider.c b/src/data-provider.c new file mode 100644 index 0000000..b0e3064 --- /dev/null +++ b/src/data-provider.c @@ -0,0 +1,227 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include <app_common.h> + +#include <Elementary.h> +#include <efl_extension.h> + +#include "data-provider.h" +#include "app-log.h" +#include "utils.h" + +#define IMAGE_MIN_HAND_PATH "images/default_analog_hands_min.png" +#define IMAGE_SEC_HAND_PATH "images/default_analog_hands_sec.png" +#define IMAGE_HOUR_HAND_PATH "images/default_analog_hands_hr.png" + +/** + * @brief Get a image path of the part. + * @param[in] type The part type + */ +char *data_get_parts_image_path(parts_type_e type) +{ + char *image_path; + char *resource_image = NULL; + + switch (type) { + case PARTS_TYPE_HANDS_SEC: + resource_image = IMAGE_SEC_HAND_PATH; + break; + case PARTS_TYPE_HANDS_MIN: + resource_image = IMAGE_MIN_HAND_PATH; + break; + case PARTS_TYPE_HANDS_HOUR: + resource_image = IMAGE_HOUR_HAND_PATH; + break; + default: + __E("type error : %d", type); + return NULL; + } + + image_path = utils_create_resource_path(resource_image); + + return image_path; +} + +/** + * @brief Get a position of the part. + * @param[in] type The part type + * @param[out] x The pointer to an integer in which to store the X coordinate of the part + * @param[out] y The pointer to an integer in which to store the Y coordinate of the part + */ +void data_get_parts_position(parts_type_e type, int *x, int *y) +{ + switch (type) { + case PARTS_TYPE_HANDS_SEC: + *x = (BASE_WIDTH / 2) - (HANDS_SEC_WIDTH / 2); + *y = 0; + break; + case PARTS_TYPE_HANDS_MIN: + *x = (BASE_WIDTH / 2) - (HANDS_MIN_WIDTH / 2); + *y = 0; + break; + case PARTS_TYPE_HANDS_HOUR: + *x = (BASE_WIDTH / 2) - (HANDS_HOUR_WIDTH / 2); + *y = 0; + break; + default: + __E("type error : %d", type); + break; + } +} + + +/** + * @brief Get a width size of the part. + * @param[in] type The part type + */ +int data_get_parts_width_size(parts_type_e type) +{ + int parts_width = 0; + + switch (type) { + case PARTS_TYPE_HANDS_SEC: + parts_width = HANDS_SEC_WIDTH; + break; + case PARTS_TYPE_HANDS_MIN: + parts_width = HANDS_MIN_WIDTH; + break; + case PARTS_TYPE_HANDS_HOUR: + parts_width = HANDS_HOUR_WIDTH; + break; + default: + __E("type error : %d", type); + break; + } + + return parts_width; +} + +/** + * @brief Get a height size of the part. + * @param[in] type The part type + */ +int data_get_parts_height_size(parts_type_e type) +{ + int parts_height = 0; + + switch (type) { + case PARTS_TYPE_HANDS_SEC: + parts_height = HANDS_SEC_HEIGHT; + break; + case PARTS_TYPE_HANDS_MIN: + parts_height = HANDS_MIN_HEIGHT; + break; + case PARTS_TYPE_HANDS_HOUR: + parts_height = HANDS_HOUR_HEIGHT; + break; + default: + __E("type error : %d", type); + break; + } + + return parts_height; +} + +/** + * @brief Get plus angle for the hour hand. + * @param[in] minute Current minute + */ +int data_get_plus_angle(int minute) +{ + int angle = 0; + + if (minute >= 0 && minute < 12) { + angle = 0; + } else if (minute >= 12 && minute < 24) { + angle = 6; + } else if (minute >= 24 && minute < 36) { + angle = 12; + } else if (minute >= 36 && minute < 48) { + angle = 18; + } else if (minute >= 48 && minute < 60) { + angle = 24; + } + + return angle; +} + +/* + * @brief get color codes converted to RGB values + * @param code in color class + * @return RGBA value + */ +struct color data_get_color_codes(const char *code) +{ + struct color c; + c.a = 255; + int num = (int)(code[4]-'0')*10 + (int)(code[5]-'0'); + switch (num) { + case 1:{ + c.r = 0, c.g = 166, c.b = 255; + break; + } + case 2:{ + c.r = 0, c.g = 184, c.b = 235; + break; + } + case 3:{ + c.r = 0, c.g = 235, c.b = 215; + break; + } + case 4:{ + c.r = 168, c.g = 250, c.b = 80; + break; + } + case 5:{ + c.r = 196, c.g = 240, c.b = 0; + break; + } + case 6:{ + c.r = 255, c.g = 248, c.b = 56; + break; + } + case 7:{ + c.r = 255, c.g = 161, c.b = 20; + break; + } + case 8:{ + c.r = 255, c.g = 102, c.b = 0; + break; + } + case 9:{ + c.r = 255, c.g = 52, c.b = 41; + break; + } + case 10:{ + c.r = 230, c.g = 62, c.b = 188; + break; + } + case 11:{ + c.r = 150, c.g = 77, c.b = 240; + break; + } + case 12:{ + c.r = 255, c.g = 255, c.b = 255; + break; + } + default:{ + c.r = 255, c.g = 255, c.b = 255; + break; + } + } + return c; +} diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..8cb4633 --- /dev/null +++ b/src/main.c @@ -0,0 +1,145 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "comp-manager.h" +#include "analog-watch.h" +#include "app-log.h" +#include "view.h" + +static bool +app_create(int width, int height, void* user_data) +{ + /* Hook to take necessary actions before main event loop starts + Initialize UI resources and application's data + If this function returns true, the main loop of application starts + If this function returns false, the application is terminated */ + __I("%s", __func__); + view_init(); + comp_init(); + return true; +} + +static void +app_control(app_control_h app_control, void *data) +{ + /* Handle the launch request. */ + __I("%s", __func__); +} + +static void +app_pause(void *data) +{ + /* Take necessary actions when application becomes invisible. */ + __I("%s", __func__); +} + +static void +app_resume(void *data) +{ + /* Take necessary actions when application becomes visible. */ + __I("%s", __func__); +} + +static void +app_terminate(void *data) +{ + /* Release all resources. */ + comp_destroy(); + view_destroy(); +} + +static void +app_lang_changed(app_event_info_h event_info, void *user_data) +{ + /*APP_EVENT_LANGUAGE_CHANGED*/ + char *locale = NULL; + system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE, &locale); + elm_language_set(locale); + free(locale); + return; +} + +static void +app_orient_changed(app_event_info_h event_info, void *user_data) +{ + /*APP_EVENT_DEVICE_ORIENTATION_CHANGED*/ + return; +} + +static void +app_region_changed(app_event_info_h event_info, void *user_data) +{ + /*APP_EVENT_REGION_FORMAT_CHANGED*/ +} + +static void +low_battery(app_event_info_h event_info, void *user_data) +{ + /*APP_EVENT_LOW_BATTERY*/ +} + +static void +low_memory(app_event_info_h event_info, void *user_data) +{ + /*APP_EVENT_LOW_MEMORY*/ + watch_app_exit(); +} + +void app_time_tick(watch_time_h watch_time, void* user_data) +{ + int hour = 0; + int min = 0; + int sec = 0; + int month = 0; + int day = 0; + + watch_time_get_hour(watch_time, &hour); + watch_time_get_minute(watch_time, &min); + watch_time_get_second(watch_time, &sec); + watch_time_get_day(watch_time, &day); + watch_time_get_month(watch_time, &month); + + view_set_time(hour, min, sec); +} + +int +main(int argc, char *argv[]) +{ + int ret = 0; + + watch_app_lifecycle_callback_s event_callback = { 0, }; + app_event_handler_h handlers[5] = {NULL, }; + + event_callback.create = app_create; + event_callback.terminate = app_terminate; + event_callback.pause = app_pause; + event_callback.resume = app_resume; + event_callback.app_control = app_control; + event_callback.time_tick = app_time_tick; + + watch_app_add_event_handler(&handlers[APP_EVENT_LOW_BATTERY], APP_EVENT_LOW_BATTERY, low_battery, NULL); + watch_app_add_event_handler(&handlers[APP_EVENT_LOW_MEMORY], APP_EVENT_LOW_MEMORY, low_memory, NULL); + watch_app_add_event_handler(&handlers[APP_EVENT_DEVICE_ORIENTATION_CHANGED], APP_EVENT_DEVICE_ORIENTATION_CHANGED, app_orient_changed, NULL); + watch_app_add_event_handler(&handlers[APP_EVENT_LANGUAGE_CHANGED], APP_EVENT_LANGUAGE_CHANGED, app_lang_changed, NULL); + watch_app_add_event_handler(&handlers[APP_EVENT_REGION_FORMAT_CHANGED], APP_EVENT_REGION_FORMAT_CHANGED, app_region_changed, NULL); + + ret = watch_app_main(argc, argv, &event_callback, NULL); + if (ret != APP_ERROR_NONE) { + __E("app_main() is failed. err = %d", ret); + } + + return ret; +} diff --git a/src/utils.c b/src/utils.c new file mode 100644 index 0000000..cc78b04 --- /dev/null +++ b/src/utils.c @@ -0,0 +1,44 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "app-log.h" +#include "utils.h" +#include "analog-watch.h" + +/* + * @brief Creates path to the given resource file by concatenation of the basic resource path and the given file_name. + * @param[in] file_name File name or path relative to the resource directory. + * @return: The absolute path to the resource with given file_name is returned. + */ +char *utils_create_resource_path(const char *file_name) +{ + static char res_path_buff[PATH_MAX] = {0,}; + char *res_path = NULL; + + res_path = app_get_resource_path(); + if (res_path == NULL) { + __E("failed to get resource path."); + return NULL; + } + + snprintf(res_path_buff, PATH_MAX, "%s%s", res_path, file_name); + free(res_path); + + return &res_path_buff[0]; +} + + + diff --git a/src/view.c b/src/view.c new file mode 100644 index 0000000..3bf0c8f --- /dev/null +++ b/src/view.c @@ -0,0 +1,314 @@ +/* + * Copyright (c) 2018 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "data-provider.h" +#include "comp-manager.h" +#include "analog-watch.h" +#include "app-log.h" +#include "view.h" +#include "utils.h" +#include "battery-data.h" + +static void _view_create_base_gui(int, int); +static void _view_destroy_base_gui(void); +static Evas_Object *_view_create_layout_for_part(Evas_Object *parent, char *file_path, char *group_name, char *part_name); +static void _view_set_watchface_layout(Evas_Object *layout); +static Evas_Object* _view_add_parts(parts_type_e type); +static Evas_Object *_view_create_parts(Evas_Object *parent, const char *image_path, int x, int y, int w, int h); +static void _view_rotate_hand(Evas_Object *hand, double degree, Evas_Coord cx, Evas_Coord cy); + +static struct view_info { + int cur_min; + Evas_Object *watchface_layout; + Evas_Object *hour_hand; + Evas_Object *min_hand; + Evas_Object *sec_hand; +} s_info = { + .cur_min = 0, + .watchface_layout = NULL, + .hour_hand = NULL, + .min_hand = NULL, + .sec_hand = NULL, +}; + +/* + * @brief shows the hands on watch according to the time on clock + */ +void view_set_time(int hour, int min, int sec) +{ + Evas_Object *layout = NULL; + Evas_Object *hands = NULL; + double degree = 0.0f; + + layout = s_info.watchface_layout; + if (layout == NULL) { + __E("[%s:%d] Failed to get layout", __func__, __LINE__); + return; + } + + degree = sec * SEC_ANGLE; + hands = evas_object_data_get(layout, DATA_KEY_HANDS_SEC); + _view_rotate_hand(hands, degree, (BASE_WIDTH / 2), (BASE_HEIGHT / 2)); + + if (s_info.cur_min != min) { + degree = min * MIN_ANGLE; + hands = evas_object_data_get(layout, DATA_KEY_HANDS_MIN); + _view_rotate_hand(hands, degree, (BASE_WIDTH / 2), (BASE_HEIGHT / 2)); + s_info.cur_min = min; + + degree = (hour * HOUR_ANGLE) + data_get_plus_angle(min); + hands = evas_object_data_get(layout, DATA_KEY_HANDS_HOUR); + _view_rotate_hand(hands, degree, (BASE_WIDTH / 2), (BASE_HEIGHT / 2)); + } +} + +/* + * @brief sets the battery value in view + * @param battery level + * @param user data + */ +void view_set_battery_status(int battery_level, void *user_data) +{ + __D("%s", __func__); + Evas_Object* watchface_layout; + Edje_Message_Int msg = {0,}; + + watchface_layout = view_get_watchface_layout(); + + msg.val = battery_level; + edje_object_message_send(elm_layout_edje_get(watchface_layout), EDJE_MESSAGE_INT, + MSG_ID_SET_BATTERY_LEVEL, &msg); +} + +/** + * @brief Set the watch face layout. + */ +void _view_set_watchface_layout(Evas_Object *layout) +{ + if (layout == NULL) { + __E("layout is NULL"); + return; + } + + s_info.watchface_layout = layout; +} + +Evas_Object *view_get_watchface_layout(void) +{ + return s_info.watchface_layout; +} + +/* + * @brief creates layout for the view of parts + * @param parent on which layout needed to be added + * @param filepath of a file set to the layout + * @param group The group that the layout belongs in edje file + * @param part for which the layout needs to be added + */ +Evas_Object *_view_create_layout_for_part(Evas_Object *parent, char *file_path, char *group_name, char *part_name) +{ + Evas_Object *layout = NULL; + + if (parent == NULL) { + __E("parent is NULL."); + return NULL; + } + + layout = elm_layout_add(parent); + elm_win_resize_object_add(parent, layout); + elm_layout_file_set(layout, file_path, group_name); + evas_object_size_hint_align_set(layout, EVAS_HINT_FILL, EVAS_HINT_FILL); + evas_object_size_hint_min_set(layout, BASE_WIDTH, BASE_HEIGHT); + evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + evas_object_show(layout); + return layout; +} + +/* + * @brief adds parts to the watch + * @param type of the hands + * @return part added to the watch + */ +static Evas_Object* _view_add_parts(parts_type_e type) +{ + Evas_Object *parts = NULL; + Evas_Object *layout = NULL; + char *parts_image_path = NULL; + int x = 0, y = 0, w = 0, h = 0; + + layout = s_info.watchface_layout; + parts_image_path = data_get_parts_image_path(type); + data_get_parts_position(type, &x, &y); + w = data_get_parts_width_size(type); + h = data_get_parts_height_size(type); + + __D("Part info: x = %d, y = %d, w = %d, h = %d", x, y, w, h); + + parts = _view_create_parts(layout, parts_image_path, x, y, w, h); + if (parts == NULL) { + __E("Failed to create parts : %d", type); + } + + return parts; +} + +/* + * @brief create view for parts of watch + * @param creates a view for parts neede to add to the watch + * @return returns the part added + */ +Evas_Object *_view_create_parts(Evas_Object *parent, const char *image_path, int x, int y, int w, int h) +{ + Evas_Object *parts = NULL; + Eina_Bool ret = EINA_FALSE; + + if (parent == NULL) { + __E("bg is NULL"); + return NULL; + } + + parts = elm_image_add(parent); + if (parts == NULL) { + __E("Failed to add part image"); + return NULL; + } + + ret = elm_image_file_set(parts, image_path, NULL); + if (ret != EINA_TRUE) { + __E("Failed to set part image"); + evas_object_del(parts); + return NULL; + } + __D("Part Created successfully"); + evas_object_move(parts, x, y); + evas_object_resize(parts, w, h); + evas_object_show(parts); + + /* + * It makes events on this object to also be repeated for the next lower objects' stack. + */ + evas_object_repeat_events_set(parts, EINA_TRUE); + + return parts; +} + +/* + * @brief rotation of hands in view part is shown + * @param Evas object for hand of clock + * @param angle of the hand + * @param x coord of hand + * @param y coord of hand + */ +void _view_rotate_hand(Evas_Object *hand, double degree, Evas_Coord cx, Evas_Coord cy) +{ + Evas_Map *m = NULL; + + if (hand == NULL) { + __E("hand is NULL"); + return; + } + + m = evas_map_new(4); + evas_map_util_points_populate_from_object(m, hand); + evas_map_util_rotate(m, degree, cx, cy); + evas_object_map_set(hand, m); + evas_object_map_enable_set(hand, EINA_TRUE); + evas_map_free(m); +} + + +/* + * @brief creates the base ui for clock + */ +void _view_create_base_gui(int width, int height) +{ + Evas_Object *win; + Evas_Object *layout; + Evas_Object *hands_sec = NULL; + Evas_Object *hands_min = NULL; + Evas_Object *hands_hour = NULL; + char *layout_path = NULL; + + int ret; + ret = watch_app_get_elm_win(&win); + if (ret != APP_ERROR_NONE) { + __E("failed to get window. err = %d", ret); + return; + } + evas_object_resize(win, width, height); + evas_object_show(win); + + layout_path = utils_create_resource_path(MAIN_EDJ); + layout = _view_create_layout_for_part(win, layout_path, MAIN_GRP, NULL); + if (!layout) { + __E("failed to create view layout."); + return; + } + _view_set_watchface_layout(layout); + + hands_hour = _view_add_parts(PARTS_TYPE_HANDS_HOUR); + evas_object_data_set(layout, DATA_KEY_HANDS_HOUR, hands_hour); + hands_min = _view_add_parts(PARTS_TYPE_HANDS_MIN); + evas_object_data_set(layout, DATA_KEY_HANDS_MIN, hands_min); + hands_sec = _view_add_parts(PARTS_TYPE_HANDS_SEC); + evas_object_data_set(layout, DATA_KEY_HANDS_SEC, hands_sec); + +} + +/* + * @brief initializes the watchface basic view + */ +void view_init() +{ + _view_create_base_gui(BASE_WIDTH, BASE_HEIGHT); +} + + + +/** + * @brief Destroy base GUI. + */ +void _view_destroy_base_gui(void) +{ + if (s_info.watchface_layout) { + evas_object_data_del(s_info.watchface_layout, DATA_KEY_HANDS_SEC); + evas_object_data_del(s_info.watchface_layout, DATA_KEY_HANDS_MIN); + evas_object_data_del(s_info.watchface_layout, DATA_KEY_HANDS_HOUR); + evas_object_del(s_info.watchface_layout); + s_info.watchface_layout = NULL; + } + if (s_info.hour_hand) { + evas_object_del(s_info.hour_hand); + s_info.hour_hand = NULL; + } + if (s_info.min_hand) { + evas_object_del(s_info.min_hand); + s_info.min_hand = NULL; + } + if (s_info.sec_hand) { + evas_object_del(s_info.sec_hand); + s_info.sec_hand = NULL; + } +} + +/* + * @brief Destroys the view + */ +void view_destroy() +{ + _view_destroy_base_gui(); +} + diff --git a/tizen-manifest.xml b/tizen-manifest.xml new file mode 100644 index 0000000..be9ded9 --- /dev/null +++ b/tizen-manifest.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<manifest xmlns="http://tizen.org/ns/packages" api-version="5.0" package="org.tizen.analog-watch" version="1.0.0"> + <profile name="wearable"/> + <watch-application ambient-support="true" appid="org.tizen.analog-watch" exec="analog-watch"> + <label>analog-watch</label> + <icon>analog-watch.png</icon> + <metadata key="clocktype" value="function"/> + </watch-application> + <privileges> + <privilege>http://tizen.org/privilege/appmanager.launch</privilege> + <privilege>http://tizen.org/privilege/display</privilege> + <privilege>http://tizen.org/privilege/alarm.set</privilege> + <privilege>http://tizen.org/privilege/datasharing</privilege> + </privileges> +</manifest> |