diff options
author | Jagrat Patidar <j1.patidar@samsung.com> | 2019-09-27 22:08:34 +0530 |
---|---|---|
committer | Jagrat Patidar <j1.patidar@samsung.com> | 2019-09-27 22:49:21 +0530 |
commit | c70ead28419443fd4afc236bd725fd9eadda0a96 (patch) | |
tree | 5d4aa5f70f36897b52c30a94ceaafca3f924168f | |
parent | f49f6c35e9935526301fae86108bc04162f64c02 (diff) | |
download | taskmanager-c70ead28419443fd4afc236bd725fd9eadda0a96.tar.gz taskmanager-c70ead28419443fd4afc236bd725fd9eadda0a96.tar.bz2 taskmanager-c70ead28419443fd4afc236bd725fd9eadda0a96.zip |
Initial Version
Change-Id: I4f1a4423faad1af00f250f796e98acfdca5753cc
Signed-off-by: Jagrat Patidar <j1.patidar@samsung.com>
129 files changed, 7710 insertions, 0 deletions
diff --git a/.cproject b/.cproject new file mode 100644 index 0000000..3b6f5b0 --- /dev/null +++ b/.cproject @@ -0,0 +1,675 @@ +<?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.1636238550"> + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1636238550" moduleId="org.eclipse.cdt.core.settings" name="Debug"> + <externalSettings/> + <extensions> + <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> + <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + </extensions> + </storageModule> + <storageModule moduleId="cdtBuildSystem" version="4.0.0"> + <configuration artifactName="task-mgr" 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="" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1636238550" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.app.debug"> + <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1636238550." name="/" resourcePath=""> + <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug.883508178" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug"> + <targetPlatform id="org.tizen.nativeide.target.sbi.gnu.platform.base.1248373678" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/> + <builder autoBuildTarget="all" buildPath="${workspace_loc:/taskmanager}/Debug" enableAutoBuild="true" id="org.tizen.nativecore.target.sbi.gnu.builder.296325977" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"> + <outputEntries> + <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Debug"/> + <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Release"/> + </outputEntries> + </builder> + <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.781730919" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/> + <tool command="arm-linux-gnueabi-g++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.1901593979" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler"> + <option id="sbi.gnu.cpp.compiler.option.512258114" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="mobile-4.0-device.core.private_gcc62.armel.core.app"/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks.core.1808617238" 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.frameworks_inc.core.1577989445" 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/SDL2""/> + <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/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/asp/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/aul/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/auth-fw""/> + <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/cbhm""/> + <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/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/dlog""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/email-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/geofence""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minicontrol""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/msg-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/pkgmgr""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rua/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/shortcut""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony-client""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/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/ui-viewmgr""/> + <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/web""/> + <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/wifi-direct""/> + <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.1036342512" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.core" valueType="stringList"> + <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/> + <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/> + <listOptionValue builtIn="false" value=" -fPIE"/> + <listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/> + <listOptionValue builtIn="false" value="-mthumb"/> + </option> + <option id="gnu.cpp.compiler.option.preprocessor.def.799913573" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols"> + <listOptionValue builtIn="false" value="_DEBUG"/> + </option> + <option id="gnu.cpp.compiler.option.include.paths.390989497" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/> + </option> + <option id="gnu.cpp.compiler.option.optimization.level.970103545" 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.1021826671" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" valueType="enumerated"/> + <option defaultValue="true" id="sbi.gnu.cpp.compiler.option.misc.pic.core.2004451498" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/> + <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.778943498" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> + </tool> + <tool command="arm-linux-gnueabi-gcc" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.2134198215" name="C Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.c.compiler"> + <option id="sbi.gnu.c.compiler.option.1353709168" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="mobile-4.0-device.core.private_gcc62.armel.core.app"/> + </option> + <option id="sbi.gnu.c.compiler.option.frameworks.core.1667490208" 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.frameworks_inc.core.828982030" 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/SDL2""/> + <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/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/asp/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/aul/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/auth-fw""/> + <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/cbhm""/> + <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/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/dlog""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/email-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/geofence""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minicontrol""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/msg-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/pkgmgr""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rua/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/shortcut""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony-client""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/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/ui-viewmgr""/> + <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/web""/> + <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/wifi-direct""/> + <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.1895121058" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.core" valueType="stringList"> + <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/> + <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/> + <listOptionValue builtIn="false" value=" -fPIE"/> + <listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/> + <listOptionValue builtIn="false" value="-mthumb"/> + </option> + <option id="gnu.c.compiler.option.preprocessor.def.symbols.1029060274" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols"> + <listOptionValue builtIn="false" value="_DEBUG"/> + </option> + <option id="gnu.c.compiler.option.include.paths.605336123" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/> + </option> + <option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.1429460752" 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.1490489490" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" valueType="enumerated"/> + <option defaultValue="true" id="sbi.gnu.c.compiler.option.misc.pic.core.1352330034" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/> + <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1857335358" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> + </tool> + <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.1997070478" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/> + <tool command="arm-linux-gnueabi-g++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.590118649" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker"> + <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.1224668956" 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.2095621724" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/lib}""/> + </option> + <option defaultValue="true" id="sbi.gnu.cpp.linker.option.shared_flag.core.1600294994" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" valueType="boolean"/> + <option defaultValue="true" id="sbi.gnu.cpp.linker.option.noundefined.core.706610649" name="Report unresolved symbol references (-Wl,--no-undefined)" superClass="sbi.gnu.cpp.linker.option.noundefined.core" valueType="boolean"/> + <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.217416643" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> + <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> + <additionalInput kind="additionalinput" paths="$(LIBS)"/> + </inputType> + </tool> + <tool command="arm-linux-gnueabi-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.425783959" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base"> + <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1273443540" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> + </tool> + <tool id="org.tizen.nativecore.tool.fnmapgen.133016108" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/> + <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.2058778559" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/> + <tool id="org.tizen.nativecore.tool.ast.1280625859" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/> + <tool id="org.tizen.nativecore.tool.ast.cpp.158566820" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/> + <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.494491426" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/> + <tool id="org.tizen.nativecore.tool.sbi.po.compiler.1036245955" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/> + <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.1055261921" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"> + <option command="-id " id="sbi.gnu.edc.compiler.option.misc.id.844838677" name="Image Path (-id)" superClass="sbi.gnu.edc.compiler.option.misc.id" valueType="stringList"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/edje/images""/> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/res/edje/images}""/> + </option> + </tool> + </toolChain> + </folderInfo> + <sourceEntries> + <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/> + <entry flags="VALUE_WORKSPACE_PATH" 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.636751648"> + <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.release.636751648" moduleId="org.eclipse.cdt.core.settings" name="Release"> + <externalSettings/> + <extensions> + <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> + <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> + </extensions> + </storageModule> + <storageModule moduleId="cdtBuildSystem" version="4.0.0"> + <configuration artifactName="task-mgr" 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.636751648" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.app.release"> + <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.release.636751648." name="/" resourcePath=""> + <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.release.1452987740" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.release"> + <targetPlatform id="org.tizen.nativeide.target.sbi.gnu.platform.base.261747677" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/> + <builder buildPath="${workspace_loc:/taskmanager}/Release" id="org.tizen.nativecore.target.sbi.gnu.builder.53596617" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/> + <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.2142290975" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/> + <tool command="arm-linux-gnueabi-g++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.897289455" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler"> + <option id="gnu.cpp.compiler.option.optimization.level.309896194" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/> + <option defaultValue="gnu.cpp.compiler.debugging.level.default" id="sbi.gnu.cpp.compiler.option.debugging.level.core.1805234866" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" valueType="enumerated"/> + <option id="sbi.gnu.cpp.compiler.option.648067678" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="mobile-4.0-device.core.private_gcc62.armel.core.app"/> + </option> + <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.1405864344" 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/SDL2""/> + <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/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/asp/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/aul/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/auth-fw""/> + <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/cbhm""/> + <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/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/dlog""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/email-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/geofence""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minicontrol""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/msg-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/pkgmgr""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rua/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/shortcut""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony-client""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/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/ui-viewmgr""/> + <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/web""/> + <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/wifi-direct""/> + <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.1922362583" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.core" valueType="stringList"> + <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/> + <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/> + <listOptionValue builtIn="false" value=" -fPIE"/> + <listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/> + <listOptionValue builtIn="false" value="-mthumb"/> + </option> + <option id="gnu.cpp.compiler.option.include.paths.739475771" 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.860509845" 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.2033522431" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> + </tool> + <tool command="arm-linux-gnueabi-gcc" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.1643922505" 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.138920224" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/> + <option defaultValue="gnu.c.debugging.level.default" id="sbi.gnu.c.compiler.option.debugging.level.core.1964834472" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" valueType="enumerated"/> + <option id="sbi.gnu.c.compiler.option.1636154378" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs"> + <listOptionValue builtIn="false" value="mobile-4.0-device.core.private_gcc62.armel.core.app"/> + </option> + <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.44924057" 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/SDL2""/> + <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/appfw""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/asp/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/aul/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/auth-fw""/> + <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/cbhm""/> + <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/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/dlog""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/email-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/geofence""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minicontrol""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/msg-service""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/pkgmgr""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/rua/""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/service-adaptor""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/shortcut""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony-client""/> + <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/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/ui-viewmgr""/> + <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/web""/> + <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/wifi-direct""/> + <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.1935694196" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.core" valueType="stringList"> + <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/> + <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/> + <listOptionValue builtIn="false" value=" -fPIE"/> + <listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/> + <listOptionValue builtIn="false" value="-mthumb"/> + </option> + <option id="gnu.c.compiler.option.include.paths.1847927517" 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.945958813" 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.2142854692" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> + </tool> + <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.51799566" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/> + <tool command="arm-linux-gnueabi-g++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.682564542" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker"> + <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.576763554" 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.92443445" 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.2074441123" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> + <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> + <additionalInput kind="additionalinput" paths="$(LIBS)"/> + </inputType> + </tool> + <tool command="arm-linux-gnueabi-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.1721932011" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base"> + <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1168614637" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> + </tool> + <tool id="org.tizen.nativecore.tool.fnmapgen.1128693463" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/> + <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.590976228" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/> + <tool id="org.tizen.nativecore.tool.ast.1912083167" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/> + <tool id="org.tizen.nativecore.tool.ast.cpp.37760955" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/> + <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.179841170" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/> + <tool id="org.tizen.nativecore.tool.sbi.po.compiler.970400150" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/> + <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.671155039" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"> + <option command="-id " id="sbi.gnu.edc.compiler.option.misc.id.586085197" name="Image Path (-id)" superClass="sbi.gnu.edc.compiler.option.misc.id" valueType="stringList"> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}}/edje/images""/> + <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/res/edje/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> + </storageModule> + <storageModule moduleId="cdtBuildSystem" version="4.0.0"> + <project id="taskmanager.org.tizen.nativecore.target.sbi.gcc45.app.1363315479" name="Tizen Native Application" projectType="org.tizen.nativecore.target.sbi.gcc45.app"/> + </storageModule> + <storageModule moduleId="scannerConfiguration"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> + <scannerConfigBuildInfo instanceId="org.tizen.nativecore.config.sbi.gcc45.app.release.636751648"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> + </scannerConfigBuildInfo> + <scannerConfigBuildInfo instanceId="org.tizen.nativecore.config.sbi.gcc45.app.debug.1636238550"> + <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> + </scannerConfigBuildInfo> + </storageModule> + <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> + <storageModule moduleId="refreshScope" versionNumber="2"> + <configuration configurationName="Debug"> + <resource resourceType="PROJECT" workspacePath="/taskmanager"/> + </configuration> + <configuration configurationName="Release"> + <resource resourceType="PROJECT" workspacePath="/taskmanager"/> + </configuration> + </storageModule> +</cproject> diff --git a/.exportMap b/.exportMap new file mode 100644 index 0000000..43e310e --- /dev/null +++ b/.exportMap @@ -0,0 +1,4 @@ +{ + global: main; + local: *; +}; diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..364186e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/Debug +/Release diff --git a/.project b/.project new file mode 100644 index 0000000..49e0697 --- /dev/null +++ b/.project @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>taskmanager</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>1453299766335</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>1453299766351</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..468a834 --- /dev/null +++ b/.tproject @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<tproject xmlns="http://www.tizen.org/tproject"> + <platforms> + <platform> + <name>mobile-4.0</name> + </platform> + </platforms> + <package> + <blacklist/> + <resFallback autoGen="true"/> + </package> +</tproject> @@ -0,0 +1,2 @@ +Hong Kwon <hhh.kwon at samsung dot com> +Minho Kim <minho07.kim at samsung dot com> diff --git a/Build/appendix.mk b/Build/appendix.mk new file mode 100644 index 0000000..2e06c34 --- /dev/null +++ b/Build/appendix.mk @@ -0,0 +1 @@ +# Appendix
diff --git a/Build/basedef.mk b/Build/basedef.mk new file mode 100644 index 0000000..a762983 --- /dev/null +++ b/Build/basedef.mk @@ -0,0 +1,34 @@ +# Add inputs and outputs from these tool invocations to the build variables + + +OS_NAME := $(shell $(UNAME)) + + +#ifeq ($(origin BUILD_CONFIG), undefined) +BUILD_CONFIG ?= Debug +#endif + +#ifeq ($(origin ARCH), undefined) +ARCH ?= i386 +#endif + +#ifeq ($(origin PROJPATH), undefined) +PROJPATH ?= . +#endif + + +#ifeq ($(origin PROJ_PATH), undefined) +PROJ_PATH ?= $(PROJPATH) +#endif + +#ifeq ($(strip $(OUTPUT_DIR)),) +#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG) +#endif + +#ifeq ($(strip $(BUILD_ARCH)),) +BUILD_ARCH ?= $(ARCH) +#endif + +#ifeq ($(strip $(ENVENTOR_PATH)),) +ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor +#endif diff --git a/Build/build_c.mk b/Build/build_c.mk new file mode 100644 index 0000000..5fffeea --- /dev/null +++ b/Build/build_c.mk @@ -0,0 +1,113 @@ +# C/C++ build script + + +_FUNC_EXT2O = $(patsubst %.$(3),$(1)/%.o,$(2)) +_FUNC_C2O = $(call _FUNC_EXT2O,$(1),$(2),c) +_FUNC_CPP2O = $(call _FUNC_EXT2O,$(1),$(2),cpp) + + +# parameter : +# $(1) - C/C++ soruce file +# $(2) - output path +# $(3) - .ext +# $(4) - unique id +CONVERT_ESC_EXT_TO_O = $(addprefix $(2)/,$(notdir $(patsubst %.$(3),%-$(4).o,$(1)))) + +#CONVERT_ESC_C_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),c) +#CONVERT_ESC_CPP_TO_O = $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),cpp) + + +# parameter : +# $(1) - encoded one C/C++ soruce file +# $(2) - output path +# $(3) - ext title (C/C++) +# $(4) - ext (c/cpp) +# $(5) - compiler ($(CC)/$(CXX)) +# $(6) - build opt +# $(7) - build opt file +# output : +# $(8) - output files list +define C_BUILD_PROC_RAW +$(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) : $(call DECODE_4MAKE,$(1)) $(7) + @echo ' Building file: $$<' + @echo ' Invoking: $(3) Compiler' + $$(call MAKEDIRS,$$(@D)) + $(5) -c "$$<" -o "$$@" $(6) -Wp,@$(7) + @echo ' Finished building: $$<' +$(9) += $(call CONVERT_ESC_EXT_TO_O,$(1),$(2),$(4),$(8)) +endef + + +# parameter : +# $(1) - output paths +# $(2) - src paths +# $(3) - inc paths +# $(4) - inc files +# $(5) - Defs +# $(6) - UnDefs +# $(7) - compiler opt +# $(8) - compiler opt file +# $(9) - ext title (C/C++) +# $(10) - ext (c/cpp) +# $(11) - compiler ($(CC)/$(CXX)) +# output : +# $(12) - OBJS +# return : +# none +define C_PROC_RAW + +_OUTPUT_DIR := $$(strip $(1))# +_SRCS := $(2)# +_INCS := $(3)# +_INC_FILES := $(4)# +_DEFS := $(5)# +_UNDEFS := $(6)# + +_OPT := $(7) +_OPT_FILE := $(8) + +_EXT_TITLE := $(9) +_EXT := $(10) +_COMPILER := $(11) + +#_OUTPUT_FILES := $(12) + +_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) +_ENC_SRCS := $$(filter %.$$(_EXT),$$(_ENC_SRCS)) + +ifneq ($$(strip $$(_SRCS)),) + +_NORMAL_SRCS := $$(filter-out %*.$$(_EXT),$$(_ENC_SRCS)) +_WIDLCARD_SRCS := $$(filter %*.$$(_EXT),$$(_ENC_SRCS)) + +_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \ + $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var)))) + +ifneq ($$(strip $$(_ALL_SRCS)),) + +_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) + +_CDEFS := $$(CDEFS) +_CDEFS += $$(addprefix -D,$$(_DEFS)) +_CDEFS += $$(addprefix -U,$$(_UNDEFS)) + +_ENC_C_INCS := $$(call ENCODE_4MAKE,$$(_INCS)) +_ENC_C_INCS := $$(addprefix -I,$$(_ENC_C_INCS)) + +_ENC_INC_FILES := $$(call ENCODE_4MAKE,$$(_INC_FILES)) +_ENC_INC_FILES += $$(addprefix -include,$$(_ENC_INC_FILES)) + +_C_INCS := $$(call DECODE_4MAKE,$$(_ENC_C_INCS) $$(_ENC_C_INC_FILES)) + +_DEFS := $$(_CDEFS) $$(_C_INCS) -I"pch" $$(_OPT) + +_UNIQUE_ID = $$(firstword $$(shell echo $$(var) | $$(CKSUM))) + +$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call C_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_EXT_TITLE),$$(_EXT),$$(_COMPILER),$$(_DEFS),$$(_OPT_FILE),$$(_UNIQUE_ID),$(12)))) + +endif # (_(strip _(_ALL_SRCS)),) + +endif # (_(strip _(_SRCS)),) + + +endef diff --git a/Build/build_edc.mk b/Build/build_edc.mk new file mode 100644 index 0000000..41b6b14 --- /dev/null +++ b/Build/build_edc.mk @@ -0,0 +1,81 @@ +# EDC build script + + +FUNC_EDC2EDJ = $(patsubst %.edc,$(2)/%.edj,$(1)) + +# parameter : +# $(1) - C/C++ soruce file +# $(2) - output path +CONVERT_ESC_EDC_TO_EDJ = $(call CONVERT_4MAKE_TO_OUT,$(call FUNC_EDC2EDJ,$(1),$(2))) + + +# parameter : +# $(1) - encoded one C/C++ soruce file +# $(2) - output path +# $(3) - build opt +# output : +# $(4) - output files list +define EDJ_BUILD_PROC_RAW +$(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) : $(call DECODE_4MAKE,$(1)) + @echo ' Building file: $$<' + @echo ' Invoking: EDC Resource Compiler' + $$(call MAKEDIRS,$$(@D)) + $$(EDJE_CC) $(3) "$$<" "$$@" + @echo ' Finished building: $$<' +$(4) += $(call CONVERT_ESC_EDC_TO_EDJ,$(1),$(2)) +endef + + +# parameter : +# $(1) - output paths +# $(2) - src paths +# $(3) - image inc paths +# $(4) - sound inc paths +# $(5) - font inc paths +# output : +# $(6) - OBJS +# return : +# none +define EDJ_PROC_RAW + +_OUTPUT_DIR := $$(strip $(1))# +_SRCS := $(2)# +_IMAGE_DIRS := $(3)# +_SOUND_DIRS := $(4)# +_FONT_DIRS := $(5)# + +ifneq ($$(strip $$(_SRCS)),) + +_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) + +_NORMAL_SRCS := $$(filter-out %*.edc,$$(_ENC_SRCS)) +_WIDLCARD_SRCS := $$(filter %*.edc,$$(_ENC_SRCS)) + +_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \ + $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var)))) + +ifneq ($$(strip $$(_ALL_SRCS)),) + +_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) + +_COMPILER_FLAGS := -id "$$(ENVENTOR_SHARED_RES_PATH)/images" +_COMPILER_FLAGS += -sd "$$(ENVENTOR_SHARED_RES_PATH)/sounds" +_COMPILER_FLAGS += -fd "$$(ENVENTOR_SHARED_RES_PATH)/fonts" + +ifneq ($$(strip $$(_IMAGE_DIRS)),) +_COMPILER_FLAGS += $$(addprefix -id ,$$(_IMAGE_DIRS)) +endif +ifneq ($$(strip $$(_SOUND_DIRS)),) +_COMPILER_FLAGS += $$(addprefix -sd ,$$(_SOUND_DIRS)) +endif +ifneq ($$(strip $$(_FONT_DIRS)),) +_COMPILER_FLAGS += $$(addprefix -fd ,$$(_FONT_DIRS)) +endif + +$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call EDJ_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_COMPILER_FLAGS),$(6)))) + +endif # (_(strip _(_ALL_SRCS)),) + +endif # (_(strip _(_SRCS)),) + +endef diff --git a/Build/build_po.mk b/Build/build_po.mk new file mode 100644 index 0000000..2edf411 --- /dev/null +++ b/Build/build_po.mk @@ -0,0 +1,64 @@ +# PO build script + + +_FUNC_PO2MO = $(patsubst %.po,$(2)/res/locale/%/LC_MESSAGES/$(3).mo,$(notdir $(1))) + + +# parameter : +# $(1) - C/C++ soruce file +# $(2) - output path +# $(3) - app name +CONVERT_ESC_PO_TO_MO = $(call CONVERT_4MAKE_TO_OUT,$(call _FUNC_PO2MO,$(1),$(2),$(3))) + + +# parameter : +# $(1) - encoded one C/C++ soruce file +# $(2) - output path +# $(3) - app name +# output : +# $(4) - output files list +define MO_BUILD_PROC_RAW +$(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) : $(call DECODE_4MAKE,$(1)) + @echo ' Building file: $$<' + @echo ' Invoking: msgfmt String Formatter' + $$(call MAKEDIRS,$$(@D)) + $$(MSGFMT) -o "$$@" "$$<" + @echo ' Finished building: $$<' +$(4) += $(call CONVERT_ESC_PO_TO_MO,$(1),$(2),$(3)) +endef + + +# parameter : +# $(1) - output dir +# $(2) - src paths +# $(3) - app name +# output : +# $(4) - OBJS + +define MO_PROC_RAW + +_OUTPUT_DIR := $(1) +_SRCS := $(2) +_APPNAME := $(3) + +ifneq ($$(strip $$(_SRCS)),) + +_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_SRCS)) + +_NORMAL_SRCS := $$(filter-out %*.po,$$(_ENC_SRCS)) +_WIDLCARD_SRCS := $$(filter %*.po,$$(_ENC_SRCS)) + +_ALL_SRCS := $$(call DECODE_4MAKE,$$(_NORMAL_SRCS)) \ + $$(foreach var,$$(_WIDLCARD_SRCS),$$(call FIND_FILES_4MAKE,$$(call DECODE_4MAKE,$$(var)))) + +ifneq ($$(strip $$(_ALL_SRCS)),) + +_ENC_SRCS := $$(call ENCODE_4MAKE,$$(_ALL_SRCS)) + +$$(foreach var,$$(_ENC_SRCS),$$(eval $$(call MO_BUILD_PROC_RAW,$$(var),$$(_OUTPUT_DIR),$$(_APPNAME),$(4)))) + +endif # (_(strip _(_ALL_SRCS)),) + +endif # (_(strip _(_SRCS)),) + +endef diff --git a/Build/flags.mk b/Build/flags.mk new file mode 100644 index 0000000..9629253 --- /dev/null +++ b/Build/flags.mk @@ -0,0 +1,16 @@ + +DEBUG_OP = -g3 -D_DEBUG +CPP_DEBUG_OP = -D_DEBUG + +OPTIMIZATION_OP = -O0 +CPP_OPTIMIZATION_OP = + +COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP) -Wall -c -fmessage-length=0 -fPIC + +CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) + +LINK_FLAGS = -shared -Wl,--no-undefined + +AR_FLAGS = + +EDC_COMPILE_FLAGS = diff --git a/Build/funcs.mk b/Build/funcs.mk new file mode 100644 index 0000000..3ba778b --- /dev/null +++ b/Build/funcs.mk @@ -0,0 +1,50 @@ + +BSLASH := \\# +NULL_CHAR := # +SPACE := \ # +COLON := :# +DOTDOT := ..# +SPACE_ESC := &sp;# +COLON_ESC := &co;# +SPACE_OUT := ~sp~# +COLON_OUT := ~co~# +DOTDOT_OUT := ~dtdt~# + +BSLASH2SLASH = $(subst $(BSLASH),/,$(1)) + +REMOVE_TAIL = $(patsubst %/,%,$(1)) + +#LOWER_CASE = $(shell echo translit($(1),[A-Z],[a-z])|$(M4)) +LOWER_CASE = $(shell echo $(1)|$(TR) [A-Z] [a-z]) + +#ifneq ($(findstring Windows,$(OS)),) +# ... +#endif + +FIND_FILES = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///') +FIND_FILES_ESC = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///' -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g') +FIND_FILES_4MAKE = $(shell $(FIND) $(1)/$(2) | $(SED) 's/^$(subst /,$(BSLASH)/,$(1))$(BSLASH)///') + +FIND_FILES_ABS = $(shell $(FIND) $(1)) +FIND_FILES_ABS_4MAKE = $(shell $(FIND) $(1) -e 's/$(BSLASH) /$(BSLASH)&sp;/g') +FIND_FILES_ABS_ESC = $(shell $(FIND) $(1) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g') + +FIND_FILES_4MAKE = $(shell $(FIND) $(1) | $(SED) 's/ /\\\ /g') + +#ENCODE_ESC = $(shell echo $(1) | $(SED) -e 's/:/$(BSLASH)&co;/g' -e 's/$(BSLASH) /$(BSLASH)&sp;/g') +#DECODE_ESC = $(shell echo $(1) | $(SED) -e 's/$(BSLASH)&co;/:/g' -e 's/$(BSLASH)&sp;/$(BSLASH) / g') +ENCODE_ESC = $(subst $(SPACE),$(SPACE_ESC),$(subst $(COLON),$(COLON_ESC),$(1))) +DECODE_ESC = $(subst $(COLON_ESC),$(COLON),$(subst $(SPACE_ESC),$(SPACE),$(1))) +ENCODE_4MAKE = $(subst $(SPACE),$(SPACE_ESC),$(1)) +DECODE_4MAKE = $(subst $(SPACE_ESC),$(SPACE),$(1)) + +CONVERT_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE),$(SPACE_OUT),$(1)))) +CONVERT_ESC_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON_ESC),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1)))) +CONVERT_4MAKE_TO_OUT = $(subst $(DOTDOT),$(DOTDOT_OUT),$(subst $(COLON),$(COLON_OUT),$(subst $(SPACE_ESC),$(SPACE_OUT),$(1)))) + +PROC_NO_EXIST = $(if $(wildcard $(1)),,$(call $(2),$(1))) +define MAKEDIRS0 + @echo ' Building directory: $(1)' + @$(MKDIR) $(MKDIR_OP) $(subst $(BSLASH),/,$(1)) +endef +MAKEDIRS = $(call PROC_NO_EXIST,$(1),MAKEDIRS0) diff --git a/Build/makefile b/Build/makefile new file mode 100644 index 0000000..c3c3031 --- /dev/null +++ b/Build/makefile @@ -0,0 +1,34 @@ +# +# Usege : make -f <proj_root>/Build/makefile -C <proj_root> +# + +BUILD_SCRIPT_VERSION := 1.1.0 + +.PHONY : app_version app_build app_clean build_version + + +all : app_build + +clean : app_clean + +version : build_version + +#PROJ_ROOT = . +BUILD_ROOT := $(PROJ_PATH)/Build# + +ifeq ($(MAKE_NAME),mingw32-make) +ifneq ($(SHELL),) +OPTIONS += --eval="SHELL=$(SHELL)" +endif +endif + +app_build : + @echo $(MAKE) -f "$(BUILD_ROOT)/makefile.mk" + @$(MAKE_BIN) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) + +app_clean : + @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) clean + +build_version : + @echo makefile : $(BUILD_SCRIPT_VERSION) + @$(MAKE) -f "$(BUILD_ROOT)/makefile.mk" -C "$(PROJ_PATH)" $(OPTIONS) version diff --git a/Build/makefile.mk b/Build/makefile.mk new file mode 100644 index 0000000..205a3ad --- /dev/null +++ b/Build/makefile.mk @@ -0,0 +1,197 @@ +# +# Usege : make -f <proj_root>/Build/makefile -C <proj_root> +# + +BUILD_SCRIPT_VERSION := 1.2.3 + +.PHONY : app_version app_clean build_version + + +all : app_build + +clean : app_clean + +version : build_version + + +#PROJ_ROOT := $(call BSLASH2SLASH,$(PROJ_PATH)) +PROJ_ROOT := . +BUILD_ROOT := $(PROJ_ROOT)/Build + +include $(BUILD_ROOT)/basedef.mk + +include $(PROJ_ROOT)/project_def.prop +-include $(PROJ_ROOT)/build_def.prop + +include $(BUILD_ROOT)/funcs.mk + +-include $(BUILD_ROOT)/tooldef.mk +-include $(BUILD_ROOT)/flags.mk +-include $(BUILD_ROOT)/platform.mk + + +APPTYPE := $(type) + +OUTPUT_DIR := $(PROJ_ROOT)/$(BUILD_CONFIG) +OBJ_OUTPUT := $(OUTPUT_DIR)/objs + +LOWER_APPNAME := $(call LOWER_CASE,$(APPNAME)) +APPID2 := $(subst $(basename $(APPID)).,,$(APPID)) + +ifeq ($(strip $(APPTYPE)),app) +APPFILE := $(OUTPUT_DIR)/$(LOWER_APPNAME) +endif +ifeq ($(strip $(APPTYPE)),staticLib) +APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).a +endif +ifeq ($(strip $(APPTYPE)),sharedLib) +APPFILE := $(OUTPUT_DIR)/lib$(LOWER_APPNAME).so +endif + +ifneq ($(strip $(PLATFORM_INCS)),) +PLATFORM_INCS_FILE := $(OBJ_OUTPUT)/platform_incs_file.inc +endif + +include $(BUILD_ROOT)/build_c.mk + + +ifeq ($(strip $(APPTYPE)),app) +EXT_OP := -fPIE +endif +ifeq ($(strip $(APPTYPE)),staticLib) +EXT_OP := -fPIE +endif +ifeq ($(strip $(APPTYPE)),sharedLib) +EXT_OP := -fPIC +endif + +C_OPT := $(COMPILE_FLAGS) $(TC_COMPILER_MISC) $(RS_COMPILER_MISC) $(EXT_OP) --sysroot="$(SYSROOT)" -Werror-implicit-function-declaration $(M_OPT) $(USER_C_OPTS) +CPP_OPT := $(CPP_COMPILE_FLAGS) $(TC_COMPILER_MISC) $(RS_COMPILER_MISC) $(EXT_OP) --sysroot="$(SYSROOT)" -Werror-implicit-function-declaration $(M_OPT) $(USER_CPP_OPTS) +C_OPT_FILE := $(PLATFORM_INCS_FILE) + +OBJS := # + +# Global C/C++ +ifeq ($(strip $(USER_ROOT)),) +USER_ROOT := $(PROJ_ROOT) +endif +$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_INC_FILES),$(USER_DEFS),$(USER_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS)) +$(foreach ext,cpp cxx cc c++ C,$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_SRCS),$(USER_INC_DIRS),$(USER_CPP_INC_FILES),$(USER_CPP_DEFS),$(USER_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS))) + +# Individual C/C++ +ifneq ($(strip $(USER_EXT_C_KEYS)),) +$(foreach var,$(USER_EXT_C_KEYS),$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_EXT_$(var)_SRCS),$(USER_EXT_$(var)_INC_DIRS),$(USER_EXT_$(var)_INC_FILES),$(USER_EXT_$(var)_DEFS),$(USER_EXT_$(var)_UNDEFS),$(C_OPT),$(C_OPT_FILE),C,c,$(CC),OBJS))) +$(foreach ext,cpp cxx cc c++ C,$(foreach var,$(USER_EXT_C_KEYS),$(eval $(call C_PROC_RAW,$(OBJ_OUTPUT),$(USER_EXT_$(var)_SRCS),$(USER_EXT_$(var)_INC_DIRS),$(USER_EXT_$(var)_CPP_INC_FILES),$(USER_EXT_$(var)_CPP_DEFS),$(USER_EXT_$(var)_CPP_UNDEFS),$(CPP_OPT),$(C_OPT_FILE),C++,$(ext),$(CXX),OBJS)))) +endif + + +ifneq ($(strip $(USER_LIB_DIRS)),) +_ENC_USER_LIB_DIRS := $(call ENCODE_4MAKE,$(USER_LIB_DIRS)) +_ENC_USER_LIB_DIRS := $(addprefix -L,$(_ENC_USER_LIB_DIRS)) +LIBPATHS := $(call DECODE_4MAKE,$(_ENC_USER_LIB_DIRS)) +endif + +LIBS += $(addprefix -l,$(USER_LIBS)) + +UOBJS += $(USER_OBJS) + +M_OPT = -MMD -MP -MF"$(@:%.o=%.d)" + +DEPS := $(OBJS:.o=.d) + +ifneq ($(strip $(DEPS)),) +-include $(PROJ_ROOT)/Build/$(DEPS) +endif + + +ifeq ($(strip $(APPTYPE)),app) +$(APPFILE) : $(OBJS) $(UOBJS) + @echo ' Building target: $@' + @echo ' Invoking: C/C++ Linker' + $(call MAKEDIRS,$(@D)) + $(CXX) -o $(APPFILE) $(OBJS) $(UOBJS) $(LIBPATHS) -Xlinker --as-needed $(LIBS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -pie -lpthread --sysroot="$(SYSROOT)" -Xlinker --version-script="$(PROJ_ROOT)/.exportMap" $(RS_LIB_PATHS) $(RS_LIBRARIES) -Xlinker -rpath="/opt/usr/apps/$(APPID)/lib" -Werror-implicit-function-declaration $(USER_LINK_OPTS) + @echo ' Finished building target: $@' +endif +ifeq ($(strip $(APPTYPE)),staticLib) +$(APPFILE) : $(OBJS) $(UOBJS) + @echo ' Building target: $@' + @echo ' Invoking: Archive utility' + $(call MAKEDIRS,$(@D)) + $(AR) -r $(APPFILE) $(OBJS) $(UOBJS) $(AR_FLAGS) $(USER_LINK_OPTS) + @echo ' Finished building target: $@' +endif +ifeq ($(strip $(APPTYPE)),sharedLib) +$(APPFILE) : $(OBJS) $(UOBJS) + @echo ' Building target: $@' + @echo ' Invoking: C/C++ Linker' + $(call MAKEDIRS,$(@D)) + $(CXX) -o $(APPFILE) $(OBJS) $(UOBJS) $(LIBPATHS) -Xlinker --as-needed $(LIBS) $(LINK_FLAGS) $(TC_LINKER_MISC) $(RS_LINKER_MISC) -shared -lpthread --sysroot="$(SYSROOT)" $(RS_LIB_PATHS) $(RS_LIBRARIES) $(USER_LINK_OPTS) + @echo ' Finished building target: $@' +endif + + +$(OBJ_OUTPUT) : + $(call MAKEDIRS,$@) + +$(OUTPUT_DIR) : + $(call MAKEDIRS,$@) + + +ifneq ($(strip $(PLATFORM_INCS)),) +$(PLATFORM_INCS_FILE) : $(OBJ_OUTPUT) + @echo ' Building inc file: $@' +ifneq ($(findstring Windows,$(OS)),) +ifneq ($(findstring 3.82,$(MAKE_VERSION)),) + $(file > $@,$(PLATFORM_INCS)) +else + @echo $(PLATFORM_INCS) > $@ +endif +else + @echo $(PLATFORM_INCS) > $@ +endif +endif + + +include $(BUILD_ROOT)/build_edc.mk + +#ifeq ($(strip $(ENVENTOR_SHARED_RES_PATH)),) +ENVENTOR_SHARED_RES_PATH ?= $(ENVENTOR_PATH)/share/enventor +#endif + +EDJ_FILES := + +# Global EDCs +ifneq ($(strip $(USER_EDCS)),) +$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EDCS),$(USER_EDCS_IMAGE_DIRS),$(USER_EDCS_SOUND_DIRS),$(USER_EDCS_FONT_DIRS),EDJ_FILES)) +endif + +# Individual EDCs +ifneq ($(strip $(USER_EXT_EDC_KEYS)),) +$(foreach var,$(USER_EXT_EDC_KEYS),$(eval $(call EDJ_PROC_RAW,$(OUTPUT_DIR),$(USER_EXT_$(var)_EDCS),$(USER_EXT_$(var)_EDCS_IMAGE_DIRS),$(USER_EXT_$(var)_EDCS_SOUND_DIRS),$(USER_EXT_$(var)_EDCS_FONT_DIRS),EDJ_FILES))) +endif + + +include $(BUILD_ROOT)/build_po.mk + +MO_FILES := + +# Global POs +ifneq ($(strip $(USER_POS)),) +$(eval $(call MO_PROC_RAW,$(OUTPUT_DIR),$(USER_POS),$(APPID2),MO_FILES)) +endif + + +secondary-outputs : $(EDJ_FILES) $(MO_FILES) + +-include appendix.mk + +app_build : $(OUTPUT_DIR) $(APPFILE) secondary-outputs + @echo ========= done ========= + + +app_clean : + rm -f $(APPFILE) + rm -rf $(OUTPUT_DIR) + +build_version : + @echo makefile.mk : $(BUILD_SCRIPT_VERSION) diff --git a/Build/platform.mk b/Build/platform.mk new file mode 100644 index 0000000..294a38a --- /dev/null +++ b/Build/platform.mk @@ -0,0 +1,15 @@ +# Add inputs and outputs from these tool invocations to the build variables + +SYSROOT = $(SBI_SYSROOT) + +USR_INCS := $(addprefix -I $(SYSROOT),$(PLATFORM_INCS_EX)) + +ifeq ($(strip $(PLATFORM_LIB_PATHS)),) +RS_LIB_PATHS := "$(SYSROOT)/usr/lib" +else +RS_LIB_PATHS := $(addprefix -L$(SYSROOT),$(PLATFORM_LIB_PATHS)) +endif + +RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX)) + +PLATFORM_INCS = $(USR_INCS) -I"$(SDK_PATH)/library" diff --git a/Build/prepost.mk b/Build/prepost.mk new file mode 100644 index 0000000..03b67f8 --- /dev/null +++ b/Build/prepost.mk @@ -0,0 +1,6 @@ + +# Add pre/post build process +PREBUILD_DESC = +PREBUILD_COMMAND = +POSTBUILD_DESC = +POSTBUILD_COMMAND = diff --git a/Build/tooldef.mk b/Build/tooldef.mk new file mode 100644 index 0000000..c62243c --- /dev/null +++ b/Build/tooldef.mk @@ -0,0 +1,70 @@ +# Add inputs and outputs from these tool invocations to the build variables + +ifneq ($(strip $(SHELL_BIN)),) +SHELL = $(SHELL_BIN) +else +SHELL = sh +endif + +ifneq ($(strip $(MKDIR_BIN)),) +MKDIR = $(MKDIR_BIN) +MKDIR_OP = -p +else +MKDIR = mkdir +MKDIR_OP = -p +endif + +ifneq ($(strip $(UNAME_BIN)),) +UNAME = $(UNAME_BIN) +else +UNAME = uname +endif + +ifneq ($(strip $(M4_BIN)),) +M4 = $(M4_BIN) +else +M4 = m4 +endif + +ifneq ($(strip $(TR_BIN)),) +TR = $(TR_BIN) +else +TR = tr +endif + +ifneq ($(strip $(FIND_BIN)),) +FIND = $(FIND_BIN) +else +FIND = find +endif + +ifneq ($(strip $(SED_BIN)),) +SED = $(SED_BIN) +else +SED = sed +endif + +ifneq ($(strip $(GREP_BIN)),) +GREP = $(GREP_BIN) +else +GREP = grep +endif + +ifneq ($(strip $(EDJE_CC_BIN)),) +EDJE_CC = $(EDJE_CC_BIN) +else +EDJE_CC = edje_cc +endif + +ifneq ($(strip $(MSGFMT_BIN)),) +MSGFMT = $(MSGFMT_BIN) +else +MSGFMT = msgfmt +endif + +ifneq ($(strip $(CKSUM_BIN)),) +CKSUM = $(CKSUM_BIN) +else +CKSUM = cksum +endif + diff --git a/CMake/CMakeLists.txt b/CMake/CMakeLists.txt new file mode 100644 index 0000000..c3dc481 --- /dev/null +++ b/CMake/CMakeLists.txt @@ -0,0 +1,65 @@ +CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +PROJECT(task-mgr C) + +SET(INSTALL_EXEC_PREFIX "${INSTALL_PREFIX}/bin") +SET(INSTALL_RESDIR "${INSTALL_PREFIX}/res") +SET(INSTALL_IMAGEDIR "${INSTALL_RESDIR}/images") +SET(EDJEDIR "${INSTALL_RESDIR}/edje") +SET(LOCALEDIR "${INSTALL_RESDIR}/locale") +SET(CMAKE_VERBOSE_MAKEFILE 0) + +SET(PROJECT_ROOT_DIR "${CMAKE_SOURCE_DIR}/..") +SET(PROJECT_RESOURCES_DIR "${PROJECT_ROOT_DIR}/res") +SET(PROJECT_EDC_DIR "${PROJECT_RESOURCES_DIR}/edje") +SET(PROJECT_IMAGES_DIR "${PROJECT_RESOURCES_DIR}/images") +SET(PROJECT_PO_DIR "${PROJECT_RESOURCES_DIR}/po") + +INCLUDE(FindPkgConfig) +pkg_check_modules(MENU_PKGS REQUIRED + appcore-efl + evas + edje + elementary + ecore + eina + capi-appfw-application + capi-system-info + capi-appfw-package-manager + capi-appfw-app-manager + dlog + pkgmgr-info + feedback + rua + vconf +) + +FOREACH (flag ${MENU_PKGS_CFLAGS}) + SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") +ENDFOREACH(flag) + +SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden -Wall -Winline -g -fno-builtin-malloc -fPIE") +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}") +SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie") + +INCLUDE_DIRECTORIES(${PROJECT_ROOT_DIR}/inc) + +ADD_EXECUTABLE(${PROJECT_NAME} + ${PROJECT_ROOT_DIR}/src/item.c + ${PROJECT_ROOT_DIR}/src/list.c + ${PROJECT_ROOT_DIR}/src/main.c + ${PROJECT_ROOT_DIR}/src/scroller.c + ${PROJECT_ROOT_DIR}/src/util.c +) + +TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} -lm) +TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${MENU_PKGS_LDFLAGS}) + +# Install +INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${INSTALL_EXEC_PREFIX}) + +INSTALL(FILES ${PROJECT_ROOT_DIR}/tizen-manifest.xml DESTINATION ${SYS_PACKAGES_DIR} RENAME org.tizen.task-mgr.xml) +INSTALL(DIRECTORY DESTINATION ${PREFIX}/data) +INSTALL(FILES ${PROJECT_ROOT_DIR}/shared/res/task-mgr.png DESTINATION ${SYS_ICONS_DIR}) + +# End of a file +ADD_SUBDIRECTORY(res) diff --git a/CMake/res/CMakeLists.txt b/CMake/res/CMakeLists.txt new file mode 100644 index 0000000..def54bc --- /dev/null +++ b/CMake/res/CMakeLists.txt @@ -0,0 +1,3 @@ +ADD_SUBDIRECTORY(edje) +ADD_SUBDIRECTORY(po) + diff --git a/CMake/res/edje/CMakeLists.txt b/CMake/res/edje/CMakeLists.txt new file mode 100644 index 0000000..ef72254 --- /dev/null +++ b/CMake/res/edje/CMakeLists.txt @@ -0,0 +1,23 @@ +ADD_CUSTOM_TARGET(layout.edj + COMMAND edje_cc -id ${PROJECT_EDC_DIR}/images + ${PROJECT_EDC_DIR}/layout.edc layout.edj + DEPENDS ${PROJECT_EDC_DIR}/layout.edc +) +ADD_DEPENDENCIES(${PROJECT_NAME} layout.edj) +INSTALL(FILES layout.edj DESTINATION ${EDJEDIR}) + +ADD_CUSTOM_TARGET(item.edj + COMMAND edje_cc -id ${PROJECT_EDC_DIR}/images + ${PROJECT_EDC_DIR}/item.edc item.edj + DEPENDS ${PROJECT_EDC_DIR}/item.edc +) +ADD_DEPENDENCIES(${PROJECT_NAME} item.edj) +INSTALL(FILES item.edj DESTINATION ${EDJEDIR}) + +ADD_CUSTOM_TARGET(box.edj + COMMAND edje_cc -id ${PROJECT_EDC_DIR}/images + ${PROJECT_EDC_DIR}/box.edc box.edj + DEPENDS ${PROJECT_EDC_DIR}/box.edc +) +ADD_DEPENDENCIES(${PROJECT_NAME} box.edj) +INSTALL(FILES box.edj DESTINATION ${EDJEDIR}) diff --git a/CMake/res/po/CMakeLists.txt b/CMake/res/po/CMakeLists.txt new file mode 100644 index 0000000..1ac0fc9 --- /dev/null +++ b/CMake/res/po/CMakeLists.txt @@ -0,0 +1,26 @@ +# for i18n + +SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po + es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hi.po hr.po + hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po + nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po + tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po) +SET(MSGFMT "/usr/bin/msgfmt") + +MESSAGE(STATUS "po files ---") +FOREACH(pofile ${POFILES}) + SET(pofile ${PROJECT_PO_DIR}/${pofile}) + MESSAGE(STATUS " ${pofile}") + GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE) + GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE) + SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo) + ADD_CUSTOM_COMMAND( + OUTPUT ${moFile} + COMMAND ${MSGFMT} -o ${moFile} ${absPofile} + DEPENDS ${absPofile} + ) + INSTALL(FILES ${moFile} DESTINATION ${LOCALEDIR}/${lang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo) + SET(moFiles ${moFiles} ${moFile}) +ENDFOREACH(pofile) + +ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles}) diff --git a/Doxyfile b/Doxyfile new file mode 100644 index 0000000..7aed4b1 --- /dev/null +++ b/Doxyfile @@ -0,0 +1,2304 @@ +# Doxyfile 1.8.6 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project. +# +# All text after a double hash (##) is considered a comment and is placed in +# front of the TAG it is preceding. +# +# All text after a single hash (#) is considered a comment and will be ignored. +# The format is: +# TAG = value [value, ...] +# For lists, items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (\" \"). + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all text +# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv +# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv +# for the list of possible encodings. +# The default value is: UTF-8. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by +# double-quotes, unless you are using Doxywizard) that should identify the +# project for which the documentation is generated. This name is used in the +# title of most generated pages and in a few other places. +# The default value is: My Project. + +PROJECT_NAME = "Task Manager" + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. This +# could be handy for archiving the generated documentation or if some version +# control system is used. + +PROJECT_NUMBER = + +# Using the PROJECT_BRIEF tag one can provide an optional one line description +# for a project that appears at the top of each page and should give viewer a +# quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = + +# With the PROJECT_LOGO tag one can specify an logo or icon that is included in +# the documentation. The maximum height of the logo should not exceed 55 pixels +# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo +# to the output directory. + +PROJECT_LOGO = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path +# into which the generated documentation will be written. If a relative path is +# entered, it will be relative to the location where doxygen was started. If +# left blank the current directory will be used. + +OUTPUT_DIRECTORY = + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub- +# directories (in 2 levels) under the output directory of each output format and +# will distribute the generated files over these directories. Enabling this +# option can be useful when feeding doxygen a huge amount of source files, where +# putting all generated files in the same directory would otherwise causes +# performance problems for the file system. +# The default value is: NO. + +CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, +# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), +# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, +# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), +# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, +# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, +# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, +# Ukrainian and Vietnamese. +# The default value is: English. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member +# descriptions after the members that are listed in the file and class +# documentation (similar to Javadoc). Set to NO to disable this. +# The default value is: YES. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief +# description of a member or function before the detailed description +# +# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. +# The default value is: YES. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator that is +# used to form the text in various listings. Each string in this list, if found +# as the leading text of the brief description, will be stripped from the text +# and the result, after processing the whole list, is used as the annotated +# text. Otherwise, the brief description is used as-is. If left blank, the +# following values are used ($name is automatically replaced with the name of +# the entity):The $name class, The $name widget, The $name file, is, provides, +# specifies, contains, represents, a, an and the. + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# doxygen will generate a detailed section even if there is only a brief +# description. +# The default value is: NO. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. +# The default value is: NO. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path +# before files name in the file list and in the header files. If set to NO the +# shortest path that makes the file name unique will be used +# The default value is: YES. + +FULL_PATH_NAMES = YES + +# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. +# Stripping is only done if one of the specified strings matches the left-hand +# part of the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the path to +# strip. +# +# Note that you can specify absolute paths here, but also relative paths, which +# will be relative from the directory where doxygen is started. +# This tag requires that the tag FULL_PATH_NAMES is set to YES. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the +# path mentioned in the documentation of a class, which tells the reader which +# header file to include in order to use a class. If left blank only the name of +# the header file containing the class definition is used. Otherwise one should +# specify the list of include paths that are normally passed to the compiler +# using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but +# less readable) file names. This can be useful is your file systems doesn't +# support long names like on DOS, Mac, or CD-ROM. +# The default value is: NO. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the +# first line (until the first dot) of a Javadoc-style comment as the brief +# description. If set to NO, the Javadoc-style will behave just like regular Qt- +# style comments (thus requiring an explicit @brief command for a brief +# description.) +# The default value is: NO. + +JAVADOC_AUTOBRIEF = NO + +# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first +# line (until the first dot) of a Qt-style comment as the brief description. If +# set to NO, the Qt-style will behave just like regular Qt-style comments (thus +# requiring an explicit \brief command for a brief description.) +# The default value is: NO. + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a +# multi-line C++ special comment block (i.e. a block of //! or /// comments) as +# a brief description. This used to be the default behavior. The new default is +# to treat a multi-line C++ comment block as a detailed description. Set this +# tag to YES if you prefer the old behavior instead. +# +# Note that setting this tag to YES also means that rational rose comments are +# not recognized any more. +# The default value is: NO. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the +# documentation from any documented member that it re-implements. +# The default value is: YES. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce a +# new page for each member. If set to NO, the documentation of a member will be +# part of the file/class/namespace that contains it. +# The default value is: NO. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen +# uses this value to replace tabs by spaces in code fragments. +# Minimum value: 1, maximum value: 16, default value: 4. + +TAB_SIZE = 4 + +# This tag can be used to specify a number of aliases that act as commands in +# the documentation. An alias has the form: +# name=value +# For example adding +# "sideeffect=@par Side Effects:\n" +# will allow you to put the command \sideeffect (or @sideeffect) in the +# documentation, which will result in a user-defined paragraph with heading +# "Side Effects:". You can put \n's in the value part of an alias to insert +# newlines. + +ALIASES = + +# This tag can be used to specify a number of word-keyword mappings (TCL only). +# A mapping has the form "name=value". For example adding "class=itcl::class" +# will allow you to use the command class in the itcl::class meaning. + +TCL_SUBST = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. For +# instance, some of the names that are used will be different. The list of all +# members will be omitted, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or +# Python sources only. Doxygen will then generate output that is more tailored +# for that language. For instance, namespaces will be presented as packages, +# qualified scopes will look different, etc. +# The default value is: NO. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources. Doxygen will then generate output that is tailored for Fortran. +# The default value is: NO. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for VHDL. +# The default value is: NO. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given +# extension. Doxygen has a built-in mapping, but you can override or extend it +# using this tag. The format is ext=language, where ext is a file extension, and +# language is one of the parsers supported by doxygen: IDL, Java, Javascript, +# C#, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL. For instance to make +# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C +# (default is Fortran), use: inc=Fortran f=C. +# +# Note For files without extension you can use no_extension as a placeholder. +# +# Note that for custom extensions you also need to set FILE_PATTERNS otherwise +# the files are not read by doxygen. + +EXTENSION_MAPPING = + +# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments +# according to the Markdown format, which allows for more readable +# documentation. See http://daringfireball.net/projects/markdown/ for details. +# The output of markdown processing is further processed by doxygen, so you can +# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in +# case of backward compatibilities issues. +# The default value is: YES. + +MARKDOWN_SUPPORT = YES + +# When enabled doxygen tries to link words that correspond to documented +# classes, or namespaces to their corresponding documentation. Such a link can +# be prevented in individual cases by by putting a % sign in front of the word +# or globally by setting AUTOLINK_SUPPORT to NO. +# The default value is: YES. + +AUTOLINK_SUPPORT = YES + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should set this +# tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); +# versus func(std::string) {}). This also make the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. +# The default value is: NO. + +BUILTIN_STL_SUPPORT = NO + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. +# The default value is: NO. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: +# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen +# will parse them like normal C++ but will assume all classes use public instead +# of private inheritance when no explicit protection keyword is present. +# The default value is: NO. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate +# getter and setter methods for a property. Setting this option to YES will make +# doxygen to replace the get and set methods by a property in the documentation. +# This will only work if the methods are indeed getting or setting a simple +# type. If this is not the case, or you want to show the methods anyway, you +# should set this option to NO. +# The default value is: YES. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. +# The default value is: NO. + +DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES to allow class member groups of the same type +# (for instance a group of public functions) to be put as a subgroup of that +# type (e.g. under the Public Functions section). Set it to NO to prevent +# subgrouping. Alternatively, this can be done per class using the +# \nosubgrouping command. +# The default value is: YES. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions +# are shown inside the group in which they are included (e.g. using \ingroup) +# instead of on a separate page (for HTML and Man pages) or section (for LaTeX +# and RTF). +# +# Note that this feature does not work in combination with +# SEPARATE_MEMBER_PAGES. +# The default value is: NO. + +INLINE_GROUPED_CLASSES = NO + +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions +# with only public data fields or simple typedef fields will be shown inline in +# the documentation of the scope in which they are defined (i.e. file, +# namespace, or group documentation), provided this scope is documented. If set +# to NO, structs, classes, and unions are shown on a separate page (for HTML and +# Man pages) or section (for LaTeX and RTF). +# The default value is: NO. + +INLINE_SIMPLE_STRUCTS = NO + +# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or +# enum is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically be +# useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. +# The default value is: NO. + +TYPEDEF_HIDES_STRUCT = NO + +# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This +# cache is used to resolve symbols given their name and scope. Since this can be +# an expensive process and often the same symbol appears multiple times in the +# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small +# doxygen will become slower. If the cache is too large, memory is wasted. The +# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range +# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 +# symbols. At the end of a run doxygen will report the cache usage and suggest +# the optimal cache size from a speed point of view. +# Minimum value: 0, maximum value: 9, default value: 0. + +LOOKUP_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. Private +# class members and static file members will be hidden unless the +# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. +# Note: This will also disable the warnings about undocumented members that are +# normally produced when WARNINGS is set to YES. +# The default value is: NO. + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class will +# be included in the documentation. +# The default value is: NO. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal +# scope will be included in the documentation. +# The default value is: NO. + +EXTRACT_PACKAGE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file will be +# included in the documentation. +# The default value is: NO. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined +# locally in source files will be included in the documentation. If set to NO +# only classes defined in header files are included. Does not have any effect +# for Java sources. +# The default value is: YES. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local methods, +# which are defined in the implementation section but not in the interface are +# included in the documentation. If set to NO only methods in the interface are +# included. +# The default value is: NO. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base name of +# the file that contains the anonymous namespace. By default anonymous namespace +# are hidden. +# The default value is: NO. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all +# undocumented members inside documented classes or files. If set to NO these +# members will be included in the various overviews, but no documentation +# section is generated. This option has no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. If set +# to NO these classes will be included in the various overviews. This option has +# no effect if EXTRACT_ALL is enabled. +# The default value is: NO. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend +# (class|struct|union) declarations. If set to NO these declarations will be +# included in the documentation. +# The default value is: NO. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any +# documentation blocks found inside the body of a function. If set to NO these +# blocks will be appended to the function's detailed documentation block. +# The default value is: NO. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation that is typed after a +# \internal command is included. If the tag is set to NO then the documentation +# will be excluded. Set it to YES to include the internal documentation. +# The default value is: NO. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file +# names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. +# The default value is: system dependent. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with +# their full class and namespace scopes in the documentation. If set to YES the +# scope will be hidden. +# The default value is: NO. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of +# the files that are included by a file in the documentation of that file. +# The default value is: YES. + +SHOW_INCLUDE_FILES = YES + +# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each +# grouped member an include statement to the documentation, telling the reader +# which file to include in order to use the member. +# The default value is: NO. + +SHOW_GROUPED_MEMB_INC = NO + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include +# files with double quotes in the documentation rather than with sharp brackets. +# The default value is: NO. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the +# documentation for inline members. +# The default value is: YES. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the +# (detailed) documentation of file and class members alphabetically by member +# name. If set to NO the members will appear in declaration order. +# The default value is: YES. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief +# descriptions of file, namespace and class members alphabetically by member +# name. If set to NO the members will appear in declaration order. Note that +# this will also influence the order of the classes in the class list. +# The default value is: NO. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the +# (brief and detailed) documentation of class members so that constructors and +# destructors are listed first. If set to NO the constructors will appear in the +# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. +# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief +# member documentation. +# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting +# detailed member documentation. +# The default value is: NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy +# of group names into alphabetical order. If set to NO the group names will +# appear in their defined order. +# The default value is: NO. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by +# fully-qualified names, including namespaces. If set to NO, the class list will +# be sorted only by class name, not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the alphabetical +# list. +# The default value is: NO. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper +# type resolution of all parameters of a function it will reject a match between +# the prototype and the implementation of a member function even if there is +# only one candidate or it is obvious which candidate to choose by doing a +# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still +# accept a match between prototype and implementation in such cases. +# The default value is: NO. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable ( YES) or disable ( NO) the +# todo list. This list is created by putting \todo commands in the +# documentation. +# The default value is: YES. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable ( YES) or disable ( NO) the +# test list. This list is created by putting \test commands in the +# documentation. +# The default value is: YES. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug +# list. This list is created by putting \bug commands in the documentation. +# The default value is: YES. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable ( YES) or disable ( NO) +# the deprecated list. This list is created by putting \deprecated commands in +# the documentation. +# The default value is: YES. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional documentation +# sections, marked by \if <section_label> ... \endif and \cond <section_label> +# ... \endcond blocks. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the +# initial value of a variable or macro / define can have for it to appear in the +# documentation. If the initializer consists of more lines than specified here +# it will be hidden. Use a value of 0 to hide initializers completely. The +# appearance of the value of individual variables and macros / defines can be +# controlled using \showinitializer or \hideinitializer command in the +# documentation regardless of this setting. +# Minimum value: 0, maximum value: 10000, default value: 30. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at +# the bottom of the documentation of classes and structs. If set to YES the list +# will mention the files that were used to generate the documentation. +# The default value is: YES. + +SHOW_USED_FILES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This +# will remove the Files entry from the Quick Index and from the Folder Tree View +# (if specified). +# The default value is: YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces +# page. This will remove the Namespaces entry from the Quick Index and from the +# Folder Tree View (if specified). +# The default value is: YES. + +SHOW_NAMESPACES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command command input-file, where command is the value of the +# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided +# by doxygen. Whatever the program writes to standard output is used as the file +# version. For an example see the documentation. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. To create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. You can +# optionally specify a file name after the option, if omitted DoxygenLayout.xml +# will be used as the name of the layout file. +# +# Note that if you run doxygen from a directory containing a file called +# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE +# tag is left empty. + +LAYOUT_FILE = + +# The CITE_BIB_FILES tag can be used to specify one or more bib files containing +# the reference definitions. This must be a list of .bib files. The .bib +# extension is automatically appended if omitted. This requires the bibtex tool +# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. +# For LaTeX the style of the bibliography can be controlled using +# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the +# search path. Do not use file names with spaces, bibtex cannot handle them. See +# also \cite for info how to create references. + +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# Configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated to +# standard output by doxygen. If QUIET is set to YES this implies that the +# messages are off. +# The default value is: NO. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated to standard error ( stderr) by doxygen. If WARNINGS is set to YES +# this implies that the warnings are on. +# +# Tip: Turn warnings on while writing the documentation. +# The default value is: YES. + +WARNINGS = YES + +# If the WARN_IF_UNDOCUMENTED tag is set to YES, then doxygen will generate +# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag +# will automatically be disabled. +# The default value is: YES. + +WARN_IF_UNDOCUMENTED = YES + +# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some parameters +# in a documented function, or documenting parameters that don't exist or using +# markup commands wrongly. +# The default value is: YES. + +WARN_IF_DOC_ERROR = YES + +# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that +# are documented, but have no documentation for their parameters or return +# value. If set to NO doxygen will only warn about wrong or incomplete parameter +# documentation, but not about the absence of documentation. +# The default value is: NO. + +WARN_NO_PARAMDOC = NO + +# The WARN_FORMAT tag determines the format of the warning messages that doxygen +# can produce. The string should contain the $file, $line, and $text tags, which +# will be replaced by the file and line number from which the warning originated +# and the warning text. Optionally the format may contain $version, which will +# be replaced by the version of the file (if it could be obtained via +# FILE_VERSION_FILTER) +# The default value is: $file:$line: $text. + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning and error +# messages should be written. If left blank the output is written to standard +# error (stderr). + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# Configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag is used to specify the files and/or directories that contain +# documented source files. You may enter file names like myfile.cpp or +# directories like /usr/src/myproject. Separate the files or directories with +# spaces. +# Note: If this tag is empty the current directory is searched. + +INPUT = src inc/conf.h inc/main.h inc/list.h inc/scroller.h \ + inc/item.h inc + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses +# libiconv (or the iconv built into libc) for the transcoding. See the libiconv +# documentation (see: http://www.gnu.org/software/libiconv) for the list of +# possible encodings. +# The default value is: UTF-8. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and +# *.h) to filter out the source-files in the directories. If left blank the +# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii, +# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp, +# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown, +# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf, +# *.qsf, *.as and *.js. + +FILE_PATTERNS = *c, *h + +# The RECURSIVE tag can be used to specify whether or not subdirectories should +# be searched for input files as well. +# The default value is: NO. + +RECURSIVE = NO + +# The EXCLUDE tag can be used to specify files and/or directories that should be +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. +# +# Note that relative paths are relative to the directory from which doxygen is +# run. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. +# The default value is: NO. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test +# +# Note that the wildcards are matched against the file with absolute path, so to +# exclude all test directories use the pattern */test/* + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or directories +# that contain example code fragments that are included (see the \include +# command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and +# *.h) to filter out the source-files in the directories. If left blank all +# files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude commands +# irrespective of the value of the RECURSIVE tag. +# The default value is: NO. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or directories +# that contain images that are to be included in the documentation (see the +# \image command). + +IMAGE_PATH = docs_files + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command: +# +# <filter> <input-file> +# +# where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the +# name of an input file. Doxygen will then use the output that the filter +# program writes to standard output. If FILTER_PATTERNS is specified, this tag +# will be ignored. +# +# Note that the filter must not add or remove lines; it is applied before the +# code is scanned, but not when the output code is generated. If lines are added +# or removed, the anchors will not be placed correctly. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: pattern=filter +# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how +# filters are used. If the FILTER_PATTERNS tag is empty or if none of the +# patterns match the file name, INPUT_FILTER is applied. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER ) will also be used to filter the input files that are used for +# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). +# The default value is: NO. + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and +# it is also possible to disable source filtering for a specific pattern using +# *.ext= (so without naming a filter). +# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. + +FILTER_SOURCE_PATTERNS = + +# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that +# is part of the input, its contents will be placed on the main page +# (index.html). This can be useful if you have a project on for instance GitHub +# and want to reuse the introduction page also for the doxygen output. + +USE_MDFILE_AS_MAINPAGE = + +#--------------------------------------------------------------------------- +# Configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will be +# generated. Documented entities will be cross-referenced with these sources. +# +# Note: To get rid of all source code in the generated output, make sure that +# also VERBATIM_HEADERS is set to NO. +# The default value is: NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body of functions, +# classes and enums directly into the documentation. +# The default value is: NO. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any +# special comment blocks from generated source code fragments. Normal C, C++ and +# Fortran comments will always remain visible. +# The default value is: YES. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES then for each documented +# function all documented functions referencing it will be listed. +# The default value is: NO. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES then for each documented function +# all documented entities called/used by that function will be listed. +# The default value is: NO. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set +# to YES, then the hyperlinks from functions in REFERENCES_RELATION and +# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will +# link to the documentation. +# The default value is: YES. + +REFERENCES_LINK_SOURCE = YES + +# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the +# source code will show a tooltip with additional information such as prototype, +# brief description and links to the definition and documentation. Since this +# will make the HTML file larger and loading of large files a bit slower, you +# can opt to disable this feature. +# The default value is: YES. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +SOURCE_TOOLTIPS = YES + +# If the USE_HTAGS tag is set to YES then the references to source code will +# point to the HTML generated by the htags(1) tool instead of doxygen built-in +# source browser. The htags tool is part of GNU's global source tagging system +# (see http://www.gnu.org/software/global/global.html). You will need version +# 4.8.6 or higher. +# +# To use it do the following: +# - Install the latest version of global +# - Enable SOURCE_BROWSER and USE_HTAGS in the config file +# - Make sure the INPUT points to the root of the source tree +# - Run doxygen as normal +# +# Doxygen will invoke htags (and that will in turn invoke gtags), so these +# tools must be available from the command line (i.e. in the search path). +# +# The result: instead of the source browser generated by doxygen, the links to +# source code will now point to the output of htags. +# The default value is: NO. +# This tag requires that the tag SOURCE_BROWSER is set to YES. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a +# verbatim copy of the header file for each class for which an include is +# specified. Set to NO to disable this. +# See also: Section \class. +# The default value is: YES. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# Configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all +# compounds will be generated. Enable this if the project contains a lot of +# classes, structs, unions or interfaces. +# The default value is: YES. + +ALPHABETICAL_INDEX = YES + +# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in +# which the alphabetical index list will be split. +# Minimum value: 1, maximum value: 20, default value: 5. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all classes will +# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag +# can be used to specify a prefix (or a list of prefixes) that should be ignored +# while generating the index headers. +# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES doxygen will generate HTML output +# The default value is: YES. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of +# it. +# The default directory is: html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each +# generated HTML page (for example: .htm, .php, .asp). +# The default value is: .html. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a user-defined HTML header file for +# each generated HTML page. If the tag is left blank doxygen will generate a +# standard header. +# +# To get valid HTML the header file that includes any scripts and style sheets +# that doxygen needs, which is dependent on the configuration options used (e.g. +# the setting GENERATE_TREEVIEW). It is highly recommended to start with a +# default header using +# doxygen -w html new_header.html new_footer.html new_stylesheet.css +# YourConfigFile +# and then modify the file new_header.html. See also section "Doxygen usage" +# for information on how to generate the default header that doxygen normally +# uses. +# Note: The header is subject to change so you typically have to regenerate the +# default header when upgrading to a newer version of doxygen. For a description +# of the possible markers and block names see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each +# generated HTML page. If the tag is left blank doxygen will generate a standard +# footer. See HTML_HEADER for more information on how to generate a default +# footer and what special commands can be used inside the footer. See also +# section "Doxygen usage" for information on how to generate the default footer +# that doxygen normally uses. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style +# sheet that is used by each HTML page. It can be used to fine-tune the look of +# the HTML output. If left blank doxygen will generate a default style sheet. +# See also section "Doxygen usage" for information on how to generate the style +# sheet that doxygen normally uses. +# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as +# it is more robust and this tag (HTML_STYLESHEET) will in the future become +# obsolete. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_STYLESHEET = + +# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional user- +# defined cascading style sheet that is included after the standard style sheets +# created by doxygen. Using this option one can overrule certain style aspects. +# This is preferred over using HTML_STYLESHEET since it does not replace the +# standard style sheet and is therefor more robust against future updates. +# Doxygen will copy the style sheet file to the output directory. For an example +# see the documentation. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that the +# files will be copied as-is; there are no commands or markers available. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen +# will adjust the colors in the stylesheet and background images according to +# this color. Hue is specified as an angle on a colorwheel, see +# http://en.wikipedia.org/wiki/Hue for more information. For instance the value +# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 +# purple, and 360 is red again. +# Minimum value: 0, maximum value: 359, default value: 220. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors +# in the HTML output. For a value of 0 the output will use grayscales only. A +# value of 255 will produce the most vivid colors. +# Minimum value: 0, maximum value: 255, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the +# luminance component of the colors in the HTML output. Values below 100 +# gradually make the output lighter, whereas values above 100 make the output +# darker. The value divided by 100 is the actual gamma applied, so 80 represents +# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not +# change the gamma. +# Minimum value: 40, maximum value: 240, default value: 80. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting this +# to NO can help when comparing the output of multiple runs. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_TIMESTAMP = YES + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_DYNAMIC_SECTIONS = NO + +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries +# shown in the various tree structured indices initially; the user can expand +# and collapse entries dynamically later on. Doxygen will expand the tree to +# such a level that at most the specified number of entries are visible (unless +# a fully collapsed tree already exceeds this amount). So setting the number of +# entries 1 will produce a full collapsed tree by default. 0 is a special value +# representing an infinite number of entries and will result in a full expanded +# tree by default. +# Minimum value: 0, maximum value: 9999, default value: 100. +# This tag requires that the tag GENERATE_HTML is set to YES. + +HTML_INDEX_NUM_ENTRIES = 100 + +# If the GENERATE_DOCSET tag is set to YES, additional index files will be +# generated that can be used as input for Apple's Xcode 3 integrated development +# environment (see: http://developer.apple.com/tools/xcode/), introduced with +# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a +# Makefile in the HTML output directory. Running make will produce the docset in +# that directory and running make install will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at +# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# for more information. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_DOCSET = NO + +# This tag determines the name of the docset feed. A documentation feed provides +# an umbrella under which multiple documentation sets from a single provider +# (such as a company or product suite) can be grouped. +# The default value is: Doxygen generated docs. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# This tag specifies a string that should uniquely identify the documentation +# set bundle. This should be a reverse domain-name style string, e.g. +# com.mycompany.MyDocSet. Doxygen will append .docset to the name. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify +# the documentation publisher. This should be a reverse domain-name style +# string, e.g. com.mycompany.MyDocSet.documentation. +# The default value is: org.doxygen.Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_ID = org.doxygen.Publisher + +# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. +# The default value is: Publisher. +# This tag requires that the tag GENERATE_DOCSET is set to YES. + +DOCSET_PUBLISHER_NAME = Publisher + +# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three +# additional HTML index files: index.hhp, index.hhc, and index.hhk. The +# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop +# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on +# Windows. +# +# The HTML Help Workshop contains a compiler that can convert all HTML output +# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML +# files are now used as the Windows 98 help format, and will replace the old +# Windows help format (.hlp) on all Windows platforms in the future. Compressed +# HTML files also contain an index, a table of contents, and you can search for +# words in the documentation. The HTML workshop also contains a viewer for +# compressed HTML files. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_HTMLHELP = NO + +# The CHM_FILE tag can be used to specify the file name of the resulting .chm +# file. You can add a path in front of the file if the result should not be +# written to the html output directory. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_FILE = + +# The HHC_LOCATION tag can be used to specify the location (absolute path +# including file name) of the HTML help compiler ( hhc.exe). If non-empty +# doxygen will try to run the HTML help compiler on the generated index.hhp. +# The file has to be specified with full path. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +HHC_LOCATION = + +# The GENERATE_CHI flag controls if a separate .chi index file is generated ( +# YES) or that it should be included in the master .chm file ( NO). +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +GENERATE_CHI = NO + +# The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc) +# and project file content. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +CHM_INDEX_ENCODING = + +# The BINARY_TOC flag controls whether a binary table of contents is generated ( +# YES) or a normal table of contents ( NO) in the .chm file. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members to +# the table of contents of the HTML help documentation and to the tree view. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTMLHELP is set to YES. + +TOC_EXPAND = NO + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that +# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help +# (.qch) of the generated HTML documentation. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify +# the file name of the resulting .qch file. The path specified is relative to +# the HTML output folder. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help +# Project output. For more information please see Qt Help Project / Namespace +# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt +# Help Project output. For more information please see Qt Help Project / Virtual +# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- +# folders). +# The default value is: doc. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_VIRTUAL_FOLDER = doc + +# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom +# filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see Qt Help Project / Custom +# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- +# filters). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's filter section matches. Qt Help Project / Filter Attributes (see: +# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHP_SECT_FILTER_ATTRS = + +# The QHG_LOCATION tag can be used to specify the location of Qt's +# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the +# generated .qhp file. +# This tag requires that the tag GENERATE_QHP is set to YES. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be +# generated, together with the HTML files, they form an Eclipse help plugin. To +# install this plugin and make it available under the help contents menu in +# Eclipse, the contents of the directory containing the HTML and XML files needs +# to be copied into the plugins directory of eclipse. The name of the directory +# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. +# After copying Eclipse needs to be restarted before the help appears. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the Eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have this +# name. Each documentation set should have its own identifier. +# The default value is: org.doxygen.Project. +# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# If you want full control over the layout of the generated HTML pages it might +# be necessary to disable the index and replace it with your own. The +# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top +# of each HTML page. A value of NO enables the index and the value YES disables +# it. Since the tabs in the index contain the same information as the navigation +# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +DISABLE_INDEX = NO + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. If the tag +# value is set to YES, a side panel will be generated containing a tree-like +# index structure (just like the one that is generated for HTML Help). For this +# to work a browser that supports JavaScript, DHTML, CSS and frames is required +# (i.e. any modern browser). Windows users are probably better off using the +# HTML help feature. Via custom stylesheets (see HTML_EXTRA_STYLESHEET) one can +# further fine-tune the look of the index. As an example, the default style +# sheet generated by doxygen has an example that shows how to put an image at +# the root of the tree instead of the PROJECT_NAME. Since the tree basically has +# the same information as the tab index, you could consider setting +# DISABLE_INDEX to YES when enabling this option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +GENERATE_TREEVIEW = NO + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that +# doxygen will group on one line in the generated HTML documentation. +# +# Note that a value of 0 will completely suppress the enum values from appearing +# in the overview section. +# Minimum value: 0, maximum value: 20, default value: 4. +# This tag requires that the tag GENERATE_HTML is set to YES. + +ENUM_VALUES_PER_LINE = 4 + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used +# to set the initial width (in pixels) of the frame in which the tree is shown. +# Minimum value: 0, maximum value: 1500, default value: 250. +# This tag requires that the tag GENERATE_HTML is set to YES. + +TREEVIEW_WIDTH = 250 + +# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open links to +# external symbols imported via tag files in a separate window. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +EXT_LINKS_IN_WINDOW = NO + +# Use this tag to change the font size of LaTeX formulas included as images in +# the HTML documentation. When you change the font size after a successful +# doxygen run you need to manually remove any form_*.png images from the HTML +# output directory to force them to be regenerated. +# Minimum value: 8, maximum value: 50, default value: 10. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are not +# supported properly for IE 6.0, but are supported on all modern browsers. +# +# Note that when changing this option you need to delete any form_*.png files in +# the HTML output directory before the changes have effect. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +FORMULA_TRANSPARENT = YES + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see +# http://www.mathjax.org) which uses client side Javascript for the rendering +# instead of using prerendered bitmaps. Use this if you do not have LaTeX +# installed or if you want to formulas look prettier in the HTML output. When +# enabled you may also need to install MathJax separately and configure the path +# to it using the MATHJAX_RELPATH option. +# The default value is: NO. +# This tag requires that the tag GENERATE_HTML is set to YES. + +USE_MATHJAX = NO + +# When MathJax is enabled you can set the default output format to be used for +# the MathJax output. See the MathJax site (see: +# http://docs.mathjax.org/en/latest/output.html) for more details. +# Possible values are: HTML-CSS (which is slower, but has the best +# compatibility), NativeMML (i.e. MathML) and SVG. +# The default value is: HTML-CSS. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_FORMAT = HTML-CSS + +# When MathJax is enabled you need to specify the location relative to the HTML +# output directory using the MATHJAX_RELPATH option. The destination directory +# should contain the MathJax.js script. For instance, if the mathjax directory +# is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax +# Content Delivery Network so you can quickly see the result without installing +# MathJax. However, it is strongly recommended to install a local copy of +# MathJax from http://www.mathjax.org before deployment. +# The default value is: http://cdn.mathjax.org/mathjax/latest. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest + +# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax +# extension names that should be enabled during MathJax rendering. For example +# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_EXTENSIONS = + +# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces +# of code that will be used on startup of the MathJax code. See the MathJax site +# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an +# example see the documentation. +# This tag requires that the tag USE_MATHJAX is set to YES. + +MATHJAX_CODEFILE = + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box for +# the HTML output. The underlying search engine uses javascript and DHTML and +# should work on any modern browser. Note that when using HTML help +# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) +# there is already a search function so this one should typically be disabled. +# For large projects the javascript based search engine can be slow, then +# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to +# search using the keyboard; to jump to the search box use <access key> + S +# (what the <access key> is depends on the OS and browser, but it is typically +# <CTRL>, <ALT>/<option>, or both). Inside the search box use the <cursor down +# key> to jump into the search results window, the results can be navigated +# using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel +# the search. The filter options can be selected when the cursor is inside the +# search box by pressing <Shift>+<cursor down>. Also here use the <cursor keys> +# to select a filter and <Enter> or <escape> to activate or cancel the filter +# option. +# The default value is: YES. +# This tag requires that the tag GENERATE_HTML is set to YES. + +SEARCHENGINE = YES + +# When the SERVER_BASED_SEARCH tag is enabled the search engine will be +# implemented using a web server instead of a web client using Javascript. There +# are two flavours of web server based searching depending on the +# EXTERNAL_SEARCH setting. When disabled, doxygen will generate a PHP script for +# searching and an index file used by the script. When EXTERNAL_SEARCH is +# enabled the indexing and searching needs to be provided by external tools. See +# the section "External Indexing and Searching" for details. +# The default value is: NO. +# This tag requires that the tag SEARCHENGINE is set to YES. + +SERVER_BASED_SEARCH = NO + +# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP +# script for searching. Instead the search results are written to an XML file +# which needs to be processed by an external indexer. Doxygen will invoke an +# external search engine pointed to by the SEARCHENGINE_URL option to obtain the +# search results. +# +# Doxygen ships with an example indexer ( doxyindexer) and search engine +# (doxysearch.cgi) which are based on the open source search engine library +# Xapian (see: http://xapian.org/). +# +# See the section "External Indexing and Searching" for details. +# The default value is: NO. +# This tag requires that the tag SEARCHENGINE is set to YES. + +EXTERNAL_SEARCH = NO + +# The SEARCHENGINE_URL should point to a search engine hosted by a web server +# which will return the search results when EXTERNAL_SEARCH is enabled. +# +# Doxygen ships with an example indexer ( doxyindexer) and search engine +# (doxysearch.cgi) which are based on the open source search engine library +# Xapian (see: http://xapian.org/). See the section "External Indexing and +# Searching" for details. +# This tag requires that the tag SEARCHENGINE is set to YES. + +SEARCHENGINE_URL = + +# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed +# search data is written to a file for indexing by an external tool. With the +# SEARCHDATA_FILE tag the name of this file can be specified. +# The default file is: searchdata.xml. +# This tag requires that the tag SEARCHENGINE is set to YES. + +SEARCHDATA_FILE = searchdata.xml + +# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the +# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is +# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple +# projects and redirect the results back to the right project. +# This tag requires that the tag SEARCHENGINE is set to YES. + +EXTERNAL_SEARCH_ID = + +# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen +# projects other than the one defined by this configuration file, but that are +# all added to the same external search index. Each project needs to have a +# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of +# to a relative location where the documentation can be found. The format is: +# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ... +# This tag requires that the tag SEARCHENGINE is set to YES. + +EXTRA_SEARCH_MAPPINGS = + +#--------------------------------------------------------------------------- +# Configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output. +# The default value is: YES. + +GENERATE_LATEX = YES + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of +# it. +# The default directory is: latex. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. +# +# Note that when enabling USE_PDFLATEX this option is only used for generating +# bitmaps for formulas in the HTML output, but not in the Makefile that is +# written to the output directory. +# The default file is: latex. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate +# index for LaTeX. +# The default file is: makeindex. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES doxygen generates more compact LaTeX +# documents. This may be useful for small projects and may help to save some +# trees in general. +# The default value is: NO. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used by the +# printer. +# Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x +# 14 inches) and executive (7.25 x 10.5 inches). +# The default value is: a4. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +PAPER_TYPE = a4 + +# The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names +# that should be included in the LaTeX output. To get the times font for +# instance you can specify +# EXTRA_PACKAGES=times +# If left blank no extra packages will be included. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for the +# generated LaTeX document. The header should contain everything until the first +# chapter. If it is left blank doxygen will generate a standard header. See +# section "Doxygen usage" for information on how to let doxygen write the +# default header to a separate file. +# +# Note: Only use a user-defined header if you know what you are doing! The +# following commands have a special meaning inside the header: $title, +# $datetime, $date, $doxygenversion, $projectname, $projectnumber. Doxygen will +# replace them by respectively the title of the page, the current date and time, +# only the current date, the version number of doxygen, the project name (see +# PROJECT_NAME), or the project number (see PROJECT_NUMBER). +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_HEADER = + +# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the +# generated LaTeX document. The footer should contain everything after the last +# chapter. If it is left blank doxygen will generate a standard footer. +# +# Note: Only use a user-defined footer if you know what you are doing! +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_FOOTER = + +# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the LATEX_OUTPUT output +# directory. Note that the files will be copied as-is; there are no commands or +# markers available. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_EXTRA_FILES = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is +# prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will +# contain links (just like the HTML output) instead of page references. This +# makes the output suitable for online browsing using a PDF viewer. +# The default value is: YES. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +PDF_HYPERLINKS = YES + +# If the LATEX_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate +# the PDF file directly from the LaTeX files. Set this option to YES to get a +# higher quality PDF documentation. +# The default value is: YES. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +USE_PDFLATEX = YES + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode +# command to the generated LaTeX files. This will instruct LaTeX to keep running +# if errors occur, instead of asking the user for help. This option is also used +# when generating formulas in HTML. +# The default value is: NO. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_BATCHMODE = NO + +# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the +# index chapters (such as File Index, Compound Index, etc.) in the output. +# The default value is: NO. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_HIDE_INDICES = NO + +# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source +# code with syntax highlighting in the LaTeX output. +# +# Note that which sources are shown also depends on other settings such as +# SOURCE_BROWSER. +# The default value is: NO. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_SOURCE_CODE = NO + +# The LATEX_BIB_STYLE tag can be used to specify the style to use for the +# bibliography, e.g. plainnat, or ieeetr. See +# http://en.wikipedia.org/wiki/BibTeX and \cite for more info. +# The default value is: plain. +# This tag requires that the tag GENERATE_LATEX is set to YES. + +LATEX_BIB_STYLE = plain + +#--------------------------------------------------------------------------- +# Configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES doxygen will generate RTF output. The +# RTF output is optimized for Word 97 and may not look too pretty with other RTF +# readers/editors. +# The default value is: NO. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of +# it. +# The default directory is: rtf. +# This tag requires that the tag GENERATE_RTF is set to YES. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES doxygen generates more compact RTF +# documents. This may be useful for small projects and may help to save some +# trees in general. +# The default value is: NO. +# This tag requires that the tag GENERATE_RTF is set to YES. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will +# contain hyperlink fields. The RTF file will contain links (just like the HTML +# output) instead of page references. This makes the output suitable for online +# browsing using Word or some other Word compatible readers that support those +# fields. +# +# Note: WordPad (write) and others do not support links. +# The default value is: NO. +# This tag requires that the tag GENERATE_RTF is set to YES. + +RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's config +# file, i.e. a series of assignments. You only have to provide replacements, +# missing definitions are set to their default value. +# +# See also section "Doxygen usage" for information on how to generate the +# default style sheet that doxygen normally uses. +# This tag requires that the tag GENERATE_RTF is set to YES. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an RTF document. Syntax is +# similar to doxygen's config file. A template extensions file can be generated +# using doxygen -e rtf extensionFile. +# This tag requires that the tag GENERATE_RTF is set to YES. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# Configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES doxygen will generate man pages for +# classes and files. +# The default value is: NO. + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of +# it. A directory man3 will be created inside the directory specified by +# MAN_OUTPUT. +# The default directory is: man. +# This tag requires that the tag GENERATE_MAN is set to YES. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to the generated +# man pages. In case the manual section does not start with a number, the number +# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is +# optional. +# The default value is: .3. +# This tag requires that the tag GENERATE_MAN is set to YES. + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it +# will generate one additional man file for each entity documented in the real +# man page(s). These additional files only source the real man page, but without +# them the man command would be unable to find the correct page. +# The default value is: NO. +# This tag requires that the tag GENERATE_MAN is set to YES. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# Configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES doxygen will generate an XML file that +# captures the structure of the code including all documentation. +# The default value is: NO. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a +# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of +# it. +# The default directory is: xml. +# This tag requires that the tag GENERATE_XML is set to YES. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify a XML schema, which can be used by a +# validating XML parser to check the syntax of the XML files. +# This tag requires that the tag GENERATE_XML is set to YES. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify a XML DTD, which can be used by a +# validating XML parser to check the syntax of the XML files. +# This tag requires that the tag GENERATE_XML is set to YES. + +XML_DTD = + +# If the XML_PROGRAMLISTING tag is set to YES doxygen will dump the program +# listings (including syntax highlighting and cross-referencing information) to +# the XML output. Note that enabling this will significantly increase the size +# of the XML output. +# The default value is: YES. +# This tag requires that the tag GENERATE_XML is set to YES. + +XML_PROGRAMLISTING = YES + +#--------------------------------------------------------------------------- +# Configuration options related to the DOCBOOK output +#--------------------------------------------------------------------------- + +# If the GENERATE_DOCBOOK tag is set to YES doxygen will generate Docbook files +# that can be used to generate PDF. +# The default value is: NO. + +GENERATE_DOCBOOK = NO + +# The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in +# front of it. +# The default directory is: docbook. +# This tag requires that the tag GENERATE_DOCBOOK is set to YES. + +DOCBOOK_OUTPUT = docbook + +#--------------------------------------------------------------------------- +# Configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES doxygen will generate an AutoGen +# Definitions (see http://autogen.sf.net) file that captures the structure of +# the code including all documentation. Note that this feature is still +# experimental and incomplete at the moment. +# The default value is: NO. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# Configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES doxygen will generate a Perl module +# file that captures the structure of the code including all documentation. +# +# Note that this feature is still experimental and incomplete at the moment. +# The default value is: NO. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES doxygen will generate the necessary +# Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI +# output from the Perl module output. +# The default value is: NO. +# This tag requires that the tag GENERATE_PERLMOD is set to YES. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be nicely +# formatted so it can be parsed by a human reader. This is useful if you want to +# understand what is going on. On the other hand, if this tag is set to NO the +# size of the Perl module output will be much smaller and Perl will parse it +# just the same. +# The default value is: YES. +# This tag requires that the tag GENERATE_PERLMOD is set to YES. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file are +# prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful +# so different doxyrules.make files included by the same Makefile don't +# overwrite each other's variables. +# This tag requires that the tag GENERATE_PERLMOD is set to YES. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES doxygen will evaluate all +# C-preprocessor directives found in the sources and include files. +# The default value is: YES. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES doxygen will expand all macro names +# in the source code. If set to NO only conditional compilation will be +# performed. Macro expansion can be done in a controlled way by setting +# EXPAND_ONLY_PREDEF to YES. +# The default value is: NO. +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then +# the macro expansion is limited to the macros specified with the PREDEFINED and +# EXPAND_AS_DEFINED tags. +# The default value is: NO. +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES the includes files in the +# INCLUDE_PATH will be searched if a #include is found. +# The default value is: YES. +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by the +# preprocessor. +# This tag requires that the tag SEARCH_INCLUDES is set to YES. + +INCLUDE_PATH = src inc + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will be +# used. +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. + +INCLUDE_FILE_PATTERNS = *.h *.cpp + +# The PREDEFINED tag can be used to specify one or more macro names that are +# defined before the preprocessor is started (similar to the -D option of e.g. +# gcc). The argument of the tag is a list of macros of the form: name or +# name=definition (no spaces). If the definition and the "=" are omitted, "=1" +# is assumed. To prevent a macro definition from being undefined via #undef or +# recursively expanded use the := operator instead of the = operator. +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this +# tag can be used to specify a list of macro names that should be expanded. The +# macro definition that is found in the sources will be used. Use the PREDEFINED +# tag if you want to use a different macro definition that overrules the +# definition found in the source code. +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will +# remove all refrences to function-like macros that are alone on a line, have an +# all uppercase name, and do not end with a semicolon. Such function macros are +# typically used for boiler-plate code, and will confuse the parser if not +# removed. +# The default value is: YES. +# This tag requires that the tag ENABLE_PREPROCESSING is set to YES. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration options related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES tag can be used to specify one or more tag files. For each tag +# file the location of the external documentation should be added. The format of +# a tag file without this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where loc1 and loc2 can be relative or absolute paths or URLs. See the +# section "Linking to external documentation" for more information about the use +# of tag files. +# Note: Each tag file must have an unique name (where the name does NOT include +# the path). If a tag file is not located in the directory in which doxygen is +# run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create a +# tag file that is based on the input files it reads. See section "Linking to +# external documentation" for more information about the usage of tag files. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external class will be listed in the +# class index. If set to NO only the inherited external classes will be listed. +# The default value is: NO. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed in +# the modules index. If set to NO, only the current project's groups will be +# listed. +# The default value is: YES. + +EXTERNAL_GROUPS = YES + +# If the EXTERNAL_PAGES tag is set to YES all external pages will be listed in +# the related pages index. If set to NO, only the current project's pages will +# be listed. +# The default value is: YES. + +EXTERNAL_PAGES = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of 'which perl'). +# The default file (with absolute path) is: /usr/bin/perl. + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES doxygen will generate a class diagram +# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to +# NO turns the diagrams off. Note that this option also works with HAVE_DOT +# disabled, but it is recommended to install and use dot, since it yields more +# powerful graphs. +# The default value is: YES. + +CLASS_DIAGRAMS = YES + +# You can define message sequence charts within doxygen comments using the \msc +# command. Doxygen will then run the mscgen tool (see: +# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the +# documentation. The MSCGEN_PATH tag allows you to specify the directory where +# the mscgen tool resides. If left empty the tool is assumed to be found in the +# default search path. + +MSCGEN_PATH = + +# You can include diagrams made with dia in doxygen documentation. Doxygen will +# then run dia to produce the diagram and insert it in the documentation. The +# DIA_PATH tag allows you to specify the directory where the dia binary resides. +# If left empty dia is assumed to be found in the default search path. + +DIA_PATH = + +# If set to YES, the inheritance and collaboration graphs will hide inheritance +# and usage relations if the target is undocumented or is not a class. +# The default value is: YES. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz (see: +# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent +# Bell Labs. The other options in this section have no effect if this option is +# set to NO +# The default value is: NO. + +HAVE_DOT = NO + +# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed +# to run in parallel. When set to 0 doxygen will base this on the number of +# processors available in the system. You can set it explicitly to a value +# larger than 0 to get control over the balance between CPU load and processing +# speed. +# Minimum value: 0, maximum value: 32, default value: 0. +# This tag requires that the tag HAVE_DOT is set to YES. + +DOT_NUM_THREADS = 0 + +# When you want a differently looking font n the dot files that doxygen +# generates you can specify the font name using DOT_FONTNAME. You need to make +# sure dot is able to find the font, which can be done by putting it in a +# standard location or by setting the DOTFONTPATH environment variable or by +# setting DOT_FONTPATH to the directory containing the font. +# The default value is: Helvetica. +# This tag requires that the tag HAVE_DOT is set to YES. + +DOT_FONTNAME = Helvetica + +# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of +# dot graphs. +# Minimum value: 4, maximum value: 24, default value: 10. +# This tag requires that the tag HAVE_DOT is set to YES. + +DOT_FONTSIZE = 10 + +# By default doxygen will tell dot to use the default font as specified with +# DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set +# the path where dot can find it using this tag. +# This tag requires that the tag HAVE_DOT is set to YES. + +DOT_FONTPATH = + +# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for +# each documented class showing the direct and indirect inheritance relations. +# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO. +# The default value is: YES. +# This tag requires that the tag HAVE_DOT is set to YES. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a +# graph for each documented class showing the direct and indirect implementation +# dependencies (inheritance, containment, and class references variables) of the +# class with other documented classes. +# The default value is: YES. +# This tag requires that the tag HAVE_DOT is set to YES. + +COLLABORATION_GRAPH = YES + +# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for +# groups, showing the direct groups dependencies. +# The default value is: YES. +# This tag requires that the tag HAVE_DOT is set to YES. + +GROUP_GRAPHS = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. +# The default value is: NO. +# This tag requires that the tag HAVE_DOT is set to YES. + +UML_LOOK = NO + +# If the UML_LOOK tag is enabled, the fields and methods are shown inside the +# class node. If there are many fields or methods and many nodes the graph may +# become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the +# number of items for each type to make the size more manageable. Set this to 0 +# for no limit. Note that the threshold may be exceeded by 50% before the limit +# is enforced. So when you set the threshold to 10, up to 15 fields may appear, +# but if the number exceeds 15, the total amount of fields shown is limited to +# 10. +# Minimum value: 0, maximum value: 100, default value: 10. +# This tag requires that the tag HAVE_DOT is set to YES. + +UML_LIMIT_NUM_FIELDS = 10 + +# If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and +# collaboration graphs will show the relations between templates and their +# instances. +# The default value is: NO. +# This tag requires that the tag HAVE_DOT is set to YES. + +TEMPLATE_RELATIONS = NO + +# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to +# YES then doxygen will generate a graph for each documented file showing the +# direct and indirect include dependencies of the file with other documented +# files. +# The default value is: YES. +# This tag requires that the tag HAVE_DOT is set to YES. + +INCLUDE_GRAPH = YES + +# If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are +# set to YES then doxygen will generate a graph for each documented file showing +# the direct and indirect include dependencies of the file with other documented +# files. +# The default value is: YES. +# This tag requires that the tag HAVE_DOT is set to YES. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH tag is set to YES then doxygen will generate a call +# dependency graph for every global function or class method. +# +# Note that enabling this option will significantly increase the time of a run. +# So in most cases it will be better to enable call graphs for selected +# functions only using the \callgraph command. +# The default value is: NO. +# This tag requires that the tag HAVE_DOT is set to YES. + +CALL_GRAPH = NO + +# If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller +# dependency graph for every global function or class method. +# +# Note that enabling this option will significantly increase the time of a run. +# So in most cases it will be better to enable caller graphs for selected +# functions only using the \callergraph command. +# The default value is: NO. +# This tag requires that the tag HAVE_DOT is set to YES. + +CALLER_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical +# hierarchy of all classes instead of a textual one. +# The default value is: YES. +# This tag requires that the tag HAVE_DOT is set to YES. + +GRAPHICAL_HIERARCHY = YES + +# If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the +# dependencies a directory has on other directories in a graphical way. The +# dependency relations are determined by the #include relations between the +# files in the directories. +# The default value is: YES. +# This tag requires that the tag HAVE_DOT is set to YES. + +DIRECTORY_GRAPH = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. +# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order +# to make the SVG files visible in IE 9+ (other browsers do not have this +# requirement). +# Possible values are: png, jpg, gif and svg. +# The default value is: png. +# This tag requires that the tag HAVE_DOT is set to YES. + +DOT_IMAGE_FORMAT = png + +# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to +# enable generation of interactive SVG images that allow zooming and panning. +# +# Note that this requires a modern browser other than Internet Explorer. Tested +# and working are Firefox, Chrome, Safari, and Opera. +# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make +# the SVG files visible. Older versions of IE do not have SVG support. +# The default value is: NO. +# This tag requires that the tag HAVE_DOT is set to YES. + +INTERACTIVE_SVG = NO + +# The DOT_PATH tag can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found in the path. +# This tag requires that the tag HAVE_DOT is set to YES. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the \dotfile +# command). +# This tag requires that the tag HAVE_DOT is set to YES. + +DOTFILE_DIRS = + +# The MSCFILE_DIRS tag can be used to specify one or more directories that +# contain msc files that are included in the documentation (see the \mscfile +# command). + +MSCFILE_DIRS = + +# The DIAFILE_DIRS tag can be used to specify one or more directories that +# contain dia files that are included in the documentation (see the \diafile +# command). + +DIAFILE_DIRS = + +# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes +# that will be shown in the graph. If the number of nodes in a graph becomes +# larger than this value, doxygen will truncate the graph, which is visualized +# by representing a node as a red box. Note that doxygen if the number of direct +# children of the root node in a graph is already larger than +# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that +# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. +# Minimum value: 0, maximum value: 10000, default value: 50. +# This tag requires that the tag HAVE_DOT is set to YES. + +DOT_GRAPH_MAX_NODES = 50 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs +# generated by dot. A depth value of 3 means that only nodes reachable from the +# root by following a path via at most 3 edges will be shown. Nodes that lay +# further from the root node will be omitted. Note that setting this option to 1 +# or 2 may greatly reduce the computation time needed for large code bases. Also +# note that the size of a graph can be further restricted by +# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. +# Minimum value: 0, maximum value: 1000, default value: 0. +# This tag requires that the tag HAVE_DOT is set to YES. + +MAX_DOT_GRAPH_DEPTH = 0 + +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent +# background. This is disabled by default, because dot on Windows does not seem +# to support this out of the box. +# +# Warning: Depending on the platform used, enabling this option may lead to +# badly anti-aliased labels on the edges of a graph (i.e. they become hard to +# read). +# The default value is: NO. +# This tag requires that the tag HAVE_DOT is set to YES. + +DOT_TRANSPARENT = NO + +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# files in one run (i.e. multiple -o and -T options on the command line). This +# makes dot run faster, but since only newer versions of dot (>1.8.10) support +# this, this feature is disabled by default. +# The default value is: NO. +# This tag requires that the tag HAVE_DOT is set to YES. + +DOT_MULTI_TARGETS = YES + +# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page +# explaining the meaning of the various boxes and arrows in the dot generated +# graphs. +# The default value is: YES. +# This tag requires that the tag HAVE_DOT is set to YES. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES doxygen will remove the intermediate dot +# files that are used to generate the various graphs. +# The default value is: YES. +# This tag requires that the tag HAVE_DOT is set to YES. + +DOT_CLEANUP = YES @@ -0,0 +1,204 @@ +Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + @@ -0,0 +1,3 @@ +Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. +Except as noted, this software is licensed under Apache License, Version 2. +Please, see the LICENSE file for Apache License terms and conditions.
\ No newline at end of file diff --git a/build_def.prop b/build_def.prop new file mode 100644 index 0000000..03b67f8 --- /dev/null +++ b/build_def.prop @@ -0,0 +1,6 @@ + +# Add pre/post build process +PREBUILD_DESC = +PREBUILD_COMMAND = +POSTBUILD_DESC = +POSTBUILD_COMMAND = diff --git a/docs_files/taskmanager.png b/docs_files/taskmanager.png Binary files differnew file mode 100644 index 0000000..34d2f6d --- /dev/null +++ b/docs_files/taskmanager.png diff --git a/docs_files/taskmanager_no.png b/docs_files/taskmanager_no.png Binary files differnew file mode 100644 index 0000000..87e4185 --- /dev/null +++ b/docs_files/taskmanager_no.png diff --git a/inc/conf.h b/inc/conf.h new file mode 100644 index 0000000..7d6b4dc --- /dev/null +++ b/inc/conf.h @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __TASK_MGR_CONF_H__ +#define __TASK_MGR_CONF_H__ + +/** + * @defgroup Defines Defines + */ + +/** + * @addtogroup Defines + * @{ + */ + +//size +#define BASE_WIDTH 540 /**<Width of the base layout */ +#define BASE_HEIGHT 960 /**<Height of the base layout */ + +#define CLEAR_ICON_WIDTH 62 /**<Width of the clear icon item*/ +#define CLEAR_ICON_HEIGHT 62 /**<Height of the clear icon item*/ +#define CLEAR_LINE_WIDTH 2 /**<Width of the clear icon line*/ +#define CLEAR_LINE_HEIGHT 118 /**<Height of the clear icon line*/ +#define CLEAR_ITEM_WIDTH CLEAR_ICON_WIDTH /**<Width of the clear all item icon*/ +#define CLEAR_ITEM_HEIGHT CLEAR_LINE_HEIGHT /**<Height of the clear all item icon*/ + +#define ITEM_ICON_WIDTH 118 /**<Width of the item icon*/ +#define ITEM_ICON_HEIGHT 118 /**<Height of the item icon*/ +#define ITEM_LINE_WIDTH 2 /**<Width of the item line*/ +#define ITEM_LINE_HEIGHT 180 /**<Height of the item line*/ +#define ITEM_WIDTH ITEM_ICON_WIDTH /**<Width of the entire list item*/ +#define ITEM_HEIGHT ITEM_LINE_HEIGHT /**<Height of the entire list item*/ + +#define PADDING_TOP 210 /**<Padding from the top of the view to clear item*/ + +#define SWIPE_THRESHOLD 0.1 /**<Item swipe threshold. If item position exceeds this value, related + application is killed*/ +#define SWIPE_LEFT_THRESHOLD SWIPE_THRESHOLD /**<Item left swipe threshold*/ +#define SWIPE_RIGHT_THRESHOLD (1.0 - SWIPE_THRESHOLD) /**<Items right swipe threshold*/ + +//color +#define BG_COLOR (255*0.5) /**<Background color transparency*/ + +//edc +#define EDJE_DIR "edje" /**<Name of the edje files directory*/ +#define LAYOUT_EDJ EDJE_DIR"/layout.edj" /**<Relative path to the main layout edj file*/ +#define BOX_LAYOUT_EDJ EDJE_DIR"/box.edj" /**<Relative path to the box layout edj file*/ +#define ITEM_LAYOUT_EDJ EDJE_DIR"/item.edj" /**<Relative path to the item edj file*/ + +#define IMAGES_DIR "images" /**<Name of the image files directory*/ +#define DEFAULT_ICON IMAGES_DIR"/default.png" /**<Relative path to the item default icon image*/ + +#define BOX_GROUP_NAME "box" /**<Name of the box edje group*/ + +/** + * @} + */ + +#endif //__TASK_MGR_CONF_H__ diff --git a/inc/item.h b/inc/item.h new file mode 100644 index 0000000..b744bdc --- /dev/null +++ b/inc/item.h @@ -0,0 +1,93 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __TASK_MGR_ITEM_H__ +#define __TASK_MGR_ITEM_H__ + +#include <rua_manager.h> + +#include "list.h" +#include "util.h" + +/** + * @defgroup Item Item + */ + +/** + * @addtogroup Item + * @{ + */ + +/** + * @brief Gets application item data. + * + * @param item The item of the data to be get + * + * @return rua_info_h or NULL on failure + */ +extern rua_info_h item_get_info(Evas_Object *item); + +/** + * @brief Sets clear all item disabled. + * + * @param scroller The object of the scroller + */ +extern void item_clear_all_disabled_set(Evas_Object *scroller); + +/** + * @brief Creates clear all item. + * + * @param scroller The object of the scroller + */ +extern Evas_Object *item_clear_all_create(Evas_Object *scroller); + +/** + * @brief Destroys clear all item. + * + * @param scroller The object of the scroller + */ +extern void item_clear_all_destroy(Evas_Object *scroller); + +/** + * @brief Creates new applications item. + * + * @param scroller The object of the scroller + * @param info Pointer to the info structure of the item + * + * @return The Evas_Object of the item + */ +extern Evas_Object *item_create(Evas_Object *scroller, rua_info_h info); + +/** + * @brief Destroys applications item. + * + * @param item The item to be destroyed + */ +extern void item_destroy(Evas_Object *item); + +/** + * @brief Terminates application related with item. + * + * @param item The item of the application to be terminated + */ +extern void item_terminate(Evas_Object *item); + +/** + * @} + */ + + +#endif //__TASK_MGR_ITEM_H__ diff --git a/inc/list.h b/inc/list.h new file mode 100644 index 0000000..e50e213 --- /dev/null +++ b/inc/list.h @@ -0,0 +1,59 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __TASK_MGR_LIST_H__ +#define __TASK_MGR_LIST_H__ + +#include <stdbool.h> +#include <Eina.h> +#include "util.h" + +/** + * @defgroup List List + */ + +/** + * @addtogroup List + * @{ + */ + +/** + * @brief Gets currently running applications list. + * + * @return List of the currently running applications. + */ +extern Eina_List *list_pkg_list_get(void); + +/** + * @brief Initializes application list. + * + * @return TASK_MANAGER_ERROR_NONE on success, + * otherwise a negative error value + */ +extern task_mgr_error_e list_init(void); + +/** + * @brief Destroys application list. + * + * @param pkg_list The list to be destroyed + */ +extern void list_destroy(Eina_List *pkg_list); + +/** + * @} + */ + +#endif //__TASK_MGR_LIST_H__ diff --git a/inc/log.h b/inc/log.h new file mode 100644 index 0000000..26f8013 --- /dev/null +++ b/inc/log.h @@ -0,0 +1,125 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __TASK_MGR_LOG_H__ +#define __TASK_MGR_LOG_H__ + +#include <unistd.h> +#include <dlog.h> + +/** + * @defgroup Utils Utilities + */ + +/** + * @addtogroup Utils + * @{ + */ + +#undef LOG_TAG +#define LOG_TAG "TASK_MGR" + +#if !defined(_SD) +#define _SD(fmt, arg...) SECURE_LOGD(fmt"\n", ##arg) +#endif + +#if !defined(_SW) +#define _SW(fmt, arg...) SECURE_LOGW(fmt"\n", ##arg) +#endif + +#if !defined(_SE) +#define _SE(fmt, arg...) SECURE_LOGE(fmt"\n", ##arg) +#endif + +#define retvm_if_timer(timer, expr, val, fmt, arg...) do { \ + if (expr) { \ + _E(fmt, ##arg); \ + _E("(%s) -> %s() return", #expr, __FUNCTION__); \ + timer = NULL; \ + return (val); \ + } \ +} while (0) + +#define retvm_if(expr, val, fmt, arg...) do { \ + if(expr) { \ + _E(fmt, ##arg); \ + _E("(%s) -> %s() return", #expr, __FUNCTION__); \ + return val; \ + } \ +} while (0) + +#define retv_if(expr, val) do { \ + if(expr) { \ + _E("(%s) -> %s() return", #expr, __FUNCTION__); \ + return (val); \ + } \ +} while (0) + +#define retm_if(expr, fmt, arg...) do { \ + if(expr) { \ + _E(fmt, ##arg); \ + _E("(%s) -> %s() return", #expr, __FUNCTION__); \ + return; \ + } \ +} while (0) + +#define ret_if(expr) do { \ + if(expr) { \ + _E("(%s) -> %s() return", #expr, __FUNCTION__); \ + return; \ + } \ +} while (0) + +#define goto_if(expr, val) do { \ + if(expr) { \ + _E("(%s) -> goto", #expr); \ + goto val; \ + } \ +} while (0) + +#define break_if(expr) { \ + if(expr) { \ + _E("(%s) -> break", #expr); \ + break; \ + } \ +} + +#define continue_if(expr) { \ + if(expr) { \ + _E("(%s) -> continue", #expr); \ + continue; \ + } \ +} + +#define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__) + +#if !defined(_D) +#define _D(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, "%s: %s[%d] " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg) +#endif + +#if !defined(_W) +#define _W(fmt, arg...) dlog_print(DLOG_WARN, LOG_TAG, "%s: %s[%d] " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg) +#endif + +#if !defined(_E) +#define _E(fmt, arg...) dlog_print(DLOG_ERROR, LOG_TAG, "%s: %s[%d] " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg) +#endif + +/** + * @} + */ + +#endif //__TASK_MGR_LOG_H__ diff --git a/inc/main.h b/inc/main.h new file mode 100644 index 0000000..12ff1dd --- /dev/null +++ b/inc/main.h @@ -0,0 +1,121 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __TASK_MGR_H__ +#define __TASK_MGR_H__ + +/** + * @mainpage Task Manager documentation + * + * @section desc Detailed description + * + * @image html taskmanager.png "List of the Task Manager applications" + * \n + * @image html taskmanager_no.png "No application could be found" + * + * Task Manager is application that provides application lifecycle management + * functionality and is launched on device home button longpress. It allows + * relaunching or killing currently running and lets see list of all lately + * used applications in launch time order. + * + * This application is made up the scroller and box of the items. Every item + * consists of icon and name of the application. The scroller might be scrolled + * up and down depending on the length of the list of items. If the list is + * longer than screen height, scroller is enabled to be scrolled otherwise box + * is aligned to the bottom edge of the screen. The first item of the list is + * clear item. The clear item does not represent any of the installed on the + * device applications. The purpose of it is to provide instant kill of all + * currently running applications. Clicking on the clear item icon will shut + * down all applications and clear the whole list leaving it empty. Each of + * displayed application might be killed separately. Task Manager listens on + * user’s swipe gesture. If user puts finger on application’s icon and swipes + * it horizontally, it will shut down related application and the swiped icon + * will be removed from the list. To launch any of the related with item application, + * it is required to simple click on it. Task Manager loads application list on + * launch and shows proper information if no application is found. + * + * External applications can’t effect on Task Manager directly.However external + * collaboration with application manager API, application info API and rua + * database may effect on Task Manager. For example calling rua_clear_history() + * function will clear the whole rua history, and Task Manager will not be able + * to load the list of items in launch time order. + * + * @subsection adding Enabling application to be shown + * + * Every developer may decide whether his application should or should not be + * shown on Task Manager’s list. To disable application management by Task Manager + * it is needed to set in tizen-manifest.xml file in ui-application section flag + * taskmanage=”false” as below: + * + * @code + * + * <ui-application appid="org.tizen.task-mgr" exec="task-mgr" hw-acceleration="on" + * process-pool="true" multiple="false" nodisplay="true" + * taskmanage="false" type="capp"> + * <label>task-mgr</label> + * <icon>taskmanager.png</icon> + * </ui-application> + * + * @endcode + * + * Setting taskmanage flag to “true” provides opposite behavior. + * + * @subsection data Data + * + * Task Manager reads all records from rua history database. After that selects + * all manageable applications and from received app_info_h handler, gets required + * icon path and name of the applicaiton. + * + */ + +/** + * @defgroup Main Main + */ + +/** + * @addtogroup Main + * @{ + */ + +/** + * @brief Task Manager main info structure. + */ +typedef struct { + Evas *e; + Evas_Object *win; + Evas_Object *layout; + Evas_Object *scroller; + Evas_Object *box; + + Eina_List *pkg_list; + + int root_w; + int root_h; +} main_s; +typedef main_s *main_h; + +/** + * @brief Gets application main information. + * + * @return The main application information handle + */ +extern main_h main_get_info(void); + +/** + * @} + */ + +#endif //__TASK_MGR_H__ diff --git a/inc/scroller.h b/inc/scroller.h new file mode 100644 index 0000000..64849bf --- /dev/null +++ b/inc/scroller.h @@ -0,0 +1,112 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __TASK_MGR_SCROLLER_H__ +#define __TASK_MGR_SCROLLER_H__ + +#include "util.h" + +/** + * @defgroup Scroller Scroller + */ + +/** + * @addtogroup Scroller + * @{ + */ + +/** + * @brief Pushes new item into the scroller. + * + * @param scroller The Evas_Object of the scroller + * @param item The object of the item + * + * @return task_mgr_error_e type value. + */ +extern task_mgr_error_e scroller_push_item(Evas_Object *scroller, Evas_Object *item); + +/** + * @brief Pops item from the scroller. + * + * @param scroller The Evas_Object of the scroller + * @param item The object of the item + * @param terminate Termination request + */ +extern void scroller_pop_item(Evas_Object *scroller, Evas_Object *item, int terminate); + +/** + * @brief Pushes all application list items into the scroller. + * + * @param list Currently running application list + * @param scroller The Evas_Object of the scroller + */ +extern task_mgr_error_e scroller_push_all_item(Evas_Object *scroller, Eina_List *list); + +/** + * @brief Pops all application list items from the scroller. + * + * @param scroller The Evas_Object of the scroller + * @param terminate Termination request + */ +extern void scroller_pop_all_item(Evas_Object *scroller, int terminate); + +/** + * @brief Gets number of items in scroller. + * + * @param scroller The Evas_Object of the scroller + */ +extern int scroller_count(Evas_Object *scroller); + +/** + * @brief Gets current scroller scrolling state. + * + * @param scroller The Evas_Object of the scroller + */ +extern Eina_Bool scroller_is_scrolling(Evas_Object *scroller); + +/** + * @brief Freezes the scroller. + * + * @param scroller The Evas_Object of the scroller + */ +extern void scroller_freeze(Evas_Object *scroller); + +/** + * @brief Unfreezes the scroller. + * + * @param scroller The Evas_Object of the scroller + */ +extern void scroller_unfreeze(Evas_Object *scroller); + +/** + * @brief Creates scroller. + * + * @param layout Parent of the scroller. + */ +extern Evas_Object *scroller_create(Evas_Object *layout); + +/** + * @brief Destroys scroller. + * + * @param scroller The Evas_Object of the scroller + */ +extern void scroller_destroy(Evas_Object *scroller); + +/** + * @} + */ + +#endif //__TASK_MGR_SCROLLER_H__ diff --git a/inc/util.h b/inc/util.h new file mode 100644 index 0000000..934b21d --- /dev/null +++ b/inc/util.h @@ -0,0 +1,101 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + #ifndef __TASK_MGR_UTIL_H__ + #define __TASK_MGR_UTIL_H__ + +#include <rua_manager.h> + +/* data key */ +#define DATA_KEY_RUNNING_LIST "rn_list" +#define DATA_KEY_IS_SCROLLING "is_scing" +#define DATA_KEY_ITEM_INFO "it_if" + +/* Multi-language */ +#if !defined(_) +#define _(str) gettext(str) +#endif + +/** + * @defgroup Utils Utilities + */ + +/** + * @addtogroup Utils + * @{ + */ + +/** + * @brief Enumerations for Task Manager Error. + */ +typedef enum { + TASK_MGR_ERROR_NONE = 0, + TASK_MGR_ERROR_FAIL = -1, + TASK_MGR_ERROR_DB_FAILED = -2, + TASK_MGR_ERROR_OUT_OF_MEMORY = -3, + TASK_MGR_ERROR_INVALID_PARAMETER = -4, +} task_mgr_error_e; + +/** + * @brief Enumerations for resource directories. + */ +typedef enum { + APP_DIR_DATA = 0, + APP_DIR_CACHE, + APP_DIR_RESOURCE, + APP_DIR_SHARED_DATA, + APP_DIR_SHARED_RESOURCE, + APP_DIR_SHARED_TRUSTED, + APP_DIR_EXTERNAL_DATA, + APP_DIR_EXTERNAL_CACHE, + APP_DIR_EXTERNAL_SHARED_DATA, +} app_subdir; + +/** + * @brief Shutdowns given currently running application. + * + * @param[in] info The RUA information handle + * + * @return app_manager_error_e type value or EINA_FALSE on failure + */ +extern Eina_Bool util_kill_app(rua_info_h info); + +/** + * @brief Resumes the given application. + * + * @param[in] info The RUA information handle + * + * @return EINA_TRUE or EINA_FALSE on failure + */ +extern Eina_Bool util_launch_app(rua_info_h info); + +/** + * @brief Returns absolute path to resource file located in applications directory + * + * @param dir The type of directory + * @param relative The relative path to resource starting from given sub directory + * + * @return absolute path string + * + * @note returns statically allocated string + */ +extern const char *util_get_file_path(app_subdir dir, const char *relative); + +/** + * @} + */ + +#endif //__TASK_MGR_UTIL_H__ diff --git a/org.tizen.task-mgr.manifest b/org.tizen.task-mgr.manifest new file mode 100644 index 0000000..a76fdba --- /dev/null +++ b/org.tizen.task-mgr.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_" /> + </request> +</manifest> diff --git a/packaging/org.tizen.task-mgr.spec b/packaging/org.tizen.task-mgr.spec new file mode 100644 index 0000000..7aacf2f --- /dev/null +++ b/packaging/org.tizen.task-mgr.spec @@ -0,0 +1,78 @@ +%define alias org.tizen.task-mgr +Name: org.tizen.task-mgr-profile_mobile +Summary: Taskmanager application +Version: 0.0.1 +Release: 1 +Provides: org.tizen.task-mgr = %{version}-%{release} +Group: Applications/Core Applications +License: Apache-2.0 +Source0: %{name}-%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: edje-tools +BuildRequires: gettext-tools +BuildRequires: hash-signer +BuildRequires: pkgconfig(appcore-efl) +BuildRequires: pkgconfig(capi-appfw-application) +BuildRequires: pkgconfig(ecore) +BuildRequires: pkgconfig(eina) +BuildRequires: pkgconfig(evas) +BuildRequires: pkgconfig(edje) +BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(elementary) +BuildRequires: pkgconfig(capi-system-info) +BuildRequires: pkgconfig(capi-appfw-package-manager) +BuildRequires: pkgconfig(capi-appfw-app-manager) +BuildRequires: pkgconfig(pkgmgr-info) +BuildRequires: pkgconfig(feedback) +BuildRequires: pkgconfig(rua) +BuildRequires: pkgconfig(libtzplatform-config) +BuildRequires: pkgconfig(vconf) + +%description +Taskmanager application reference implementation. + +%prep +%setup -q + +%build + +%define _pkg_dir %{TZ_SYS_RO_APP}/%{alias} +%define _pkg_shared_dir %{_pkg_dir}/shared +%define _pkg_data_dir %{_pkg_dir}/data +%define _sys_icons_dir %{_pkg_shared_dir}/res +%define _sys_packages_dir %{TZ_SYS_RO_PACKAGES} +%define _sys_license_dir %{TZ_SYS_SHARE}/license + +cd CMake +cmake . -DINSTALL_PREFIX=%{_pkg_dir} \ + -DSYS_ICONS_DIR=%{_sys_icons_dir} \ + -DSYS_PACKAGES_DIR=%{_sys_packages_dir} +make %{?jobs:-j%jobs} +cd - + +%install +cd CMake +%make_install +cd - + +%define tizen_sign 1 +%define tizen_sign_base %{_pkg_dir} +%define tizen_sign_level platform +%define tizen_author_sign 1 +%define tizen_dist_sign 1 +%find_lang task-mgr + +%post + +%postun -p /sbin/ldconfig + +%files -f task-mgr.lang +%manifest %{alias}.manifest +%defattr(-,root,root,-) +%{_pkg_dir}/bin/task-mgr +%{_pkg_dir}/res/* +%{_sys_packages_dir}/%{alias}.xml +%{_sys_icons_dir}/task-mgr.png +%{_pkg_dir}/author-signature.xml +%{_pkg_dir}/signature1.xml diff --git a/project_def.prop b/project_def.prop new file mode 100644 index 0000000..fe9f4c8 --- /dev/null +++ b/project_def.prop @@ -0,0 +1,63 @@ + +# Project Name +APPNAME = task-mgr + +# Project Type +type = app + +# Project Profile +profile = mobile-4.0 + +# C/CPP Sources +USER_SRCS = src/list.c src/item.c src/main.c src/util.c src/scroller.c + +# EDC Sources +USER_EDCS = + +# PO Sources +USER_POS = res/po/ru_RU.po res/po/el_GR.po res/po/as.po res/po/ca.po res/po/fr.po res/po/nl.po res/po/pt_BR.po res/po/sk.po res/po/sv.po res/po/uz.po res/po/tl.po res/po/ro.po res/po/eu.po res/po/kk.po res/po/lt.po res/po/nb.po res/po/sl.po res/po/ja_JP.po res/po/et.po res/po/ne.po res/po/or.po res/po/zh_TW.po res/po/az.po res/po/cs.po res/po/pa.po res/po/pl.po res/po/ga.po res/po/lv.po res/po/th.po res/po/de.po res/po/en_GB.po res/po/ms.po res/po/si.po res/po/it_IT.po res/po/zh_HK.po res/po/es_ES.po res/po/bg.po res/po/kn.po res/po/mr.po res/po/fr_CA.po res/po/gl.po res/po/hy.po res/po/no.po res/po/te.po res/po/ur.po res/po/vi.po res/po/en_US.po res/po/da.po res/po/en.po res/po/es_US.po res/po/hi.po res/po/en_PH.po res/po/gu.po res/po/mk.po res/po/bn.po res/po/my.po res/po/tr_TR.po res/po/hr.po res/po/km.po res/po/lo.po res/po/pt_PT.po res/po/sr.po res/po/uk.po res/po/zh_CN.po res/po/ar.po res/po/hu.po res/po/ta.po res/po/ko_KR.po res/po/is.po res/po/ka.po res/po/id.po res/po/ml.po res/po/fi.po res/po/he.po + +# User Defines +USER_DEFS = +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} edje/images res/edje/images +USER_EDCS_SOUND_DIRS = ${OUTPUT_DIR} edje/sounds +USER_EDCS_FONT_DIRS = ${OUTPUT_DIR} edje/fonts + +# EDC Flags +USER_EXT_EDC_KEYS = EDC0 + +USER_EXT_EDC0_EDCS = res/edje/conf.edc res/edje/layout.edc res/edje/box.edc res/edje/item.edc +USER_EXT_EDC0_EDCS_IMAGE_DIRS = ${OUTPUT_DIR} edje/images res/edje/images +USER_EXT_EDC0_EDCS_SOUND_DIRS = ${OUTPUT_DIR} edje/sounds +USER_EXT_EDC0_EDCS_FONT_DIRS = ${OUTPUT_DIR} edje/fonts + +# Resource Filter +USER_RES_INCLUDE = +USER_RES_EXCLUDE = Debug/res/locale/fa/LC_MESSAGES Debug/res/locale/mn_MN Debug/res/locale/es_MX/LC_MESSAGES Debug/res/locale/zh_SG/LC_MESSAGES Debug/res/locale/mn_MN/LC_MESSAGES Debug/res/locale/nl_NL Debug/res/locale/fr_FR Debug/res/locale/de_DE Debug/res/locale/de_DE/LC_MESSAGES Debug/res/locale/es_MX Debug/res/locale/zh_SG Debug/res/locale/nl_NL/LC_MESSAGES Debug/res/locale/fr_FR/LC_MESSAGES Debug/res/locale/fa + diff --git a/res/edje/box.edc b/res/edje/box.edc new file mode 100644 index 0000000..1136612 --- /dev/null +++ b/res/edje/box.edc @@ -0,0 +1,76 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + +#include "conf.edc" + +collections { + base_scale: 2.6; + group { + name: "box"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + min: BASE_WIDTH BASE_HEIGHT; + color: 0 0 0 0; + } + } + part { + name: "box"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + align: 0.5 1.0; + } + description { + state: "hidden" 1.0; + inherit: "default" 0.0; + rel2 { relative: 1.0 2.0; } + } + } + } //parts + programs { + program { + signal: "all,apps,hide"; + source: "task-mgr"; + action: STATE_SET "hidden" 1.0; + target: "box"; + transition: DECEL 0.5; + after: "all,apps,hidden,emit"; + } + program { + signal: "all,apps,show"; + source: "task-mgr"; + action: STATE_SET "default" 0.0; + target: "box"; + transition: DECEL 0.5; + } + program { + name: "all,apps,hidden,emit"; + action: SIGNAL_EMIT "all,apps,hidden" "box"; + } + } + } //group +} //collections diff --git a/res/edje/conf.edc b/res/edje/conf.edc new file mode 100644 index 0000000..7d6b4dc --- /dev/null +++ b/res/edje/conf.edc @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __TASK_MGR_CONF_H__ +#define __TASK_MGR_CONF_H__ + +/** + * @defgroup Defines Defines + */ + +/** + * @addtogroup Defines + * @{ + */ + +//size +#define BASE_WIDTH 540 /**<Width of the base layout */ +#define BASE_HEIGHT 960 /**<Height of the base layout */ + +#define CLEAR_ICON_WIDTH 62 /**<Width of the clear icon item*/ +#define CLEAR_ICON_HEIGHT 62 /**<Height of the clear icon item*/ +#define CLEAR_LINE_WIDTH 2 /**<Width of the clear icon line*/ +#define CLEAR_LINE_HEIGHT 118 /**<Height of the clear icon line*/ +#define CLEAR_ITEM_WIDTH CLEAR_ICON_WIDTH /**<Width of the clear all item icon*/ +#define CLEAR_ITEM_HEIGHT CLEAR_LINE_HEIGHT /**<Height of the clear all item icon*/ + +#define ITEM_ICON_WIDTH 118 /**<Width of the item icon*/ +#define ITEM_ICON_HEIGHT 118 /**<Height of the item icon*/ +#define ITEM_LINE_WIDTH 2 /**<Width of the item line*/ +#define ITEM_LINE_HEIGHT 180 /**<Height of the item line*/ +#define ITEM_WIDTH ITEM_ICON_WIDTH /**<Width of the entire list item*/ +#define ITEM_HEIGHT ITEM_LINE_HEIGHT /**<Height of the entire list item*/ + +#define PADDING_TOP 210 /**<Padding from the top of the view to clear item*/ + +#define SWIPE_THRESHOLD 0.1 /**<Item swipe threshold. If item position exceeds this value, related + application is killed*/ +#define SWIPE_LEFT_THRESHOLD SWIPE_THRESHOLD /**<Item left swipe threshold*/ +#define SWIPE_RIGHT_THRESHOLD (1.0 - SWIPE_THRESHOLD) /**<Items right swipe threshold*/ + +//color +#define BG_COLOR (255*0.5) /**<Background color transparency*/ + +//edc +#define EDJE_DIR "edje" /**<Name of the edje files directory*/ +#define LAYOUT_EDJ EDJE_DIR"/layout.edj" /**<Relative path to the main layout edj file*/ +#define BOX_LAYOUT_EDJ EDJE_DIR"/box.edj" /**<Relative path to the box layout edj file*/ +#define ITEM_LAYOUT_EDJ EDJE_DIR"/item.edj" /**<Relative path to the item edj file*/ + +#define IMAGES_DIR "images" /**<Name of the image files directory*/ +#define DEFAULT_ICON IMAGES_DIR"/default.png" /**<Relative path to the item default icon image*/ + +#define BOX_GROUP_NAME "box" /**<Name of the box edje group*/ + +/** + * @} + */ + +#endif //__TASK_MGR_CONF_H__ diff --git a/res/edje/images/clear_all_button_icon.png b/res/edje/images/clear_all_button_icon.png Binary files differnew file mode 100644 index 0000000..4ba500c --- /dev/null +++ b/res/edje/images/clear_all_button_icon.png diff --git a/res/edje/images/clear_all_button_icon_disable.png b/res/edje/images/clear_all_button_icon_disable.png Binary files differnew file mode 100644 index 0000000..6f48ef4 --- /dev/null +++ b/res/edje/images/clear_all_button_icon_disable.png diff --git a/res/edje/item.edc b/res/edje/item.edc new file mode 100644 index 0000000..dedf3a2 --- /dev/null +++ b/res/edje/item.edc @@ -0,0 +1,239 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "conf.edc" + + +styles { + style { + name: "item_style"; + base: "font=Tizen:style=Bold font_size=30 color=#ffffff align=left style=shadow shadow_color=#000000bf wrap=mixed"; + tag: "br" "\n"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } +} + +images { + image: "clear_all_button_icon.png" COMP; + image: "clear_all_button_icon_disable.png" COMP; +} + +collections { + base_scale: 2.6; + group { + name: "item"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 0 0 0 0; + min: ITEM_WIDTH ITEM_HEIGHT; + max: ITEM_WIDTH ITEM_HEIGHT; + } + } + part { + name: "line"; + type: RECT; + scale: 1; + description { + state: "default"; + color: 255 255 255 255; + align: 0.5 1.0; + min: CLEAR_LINE_WIDTH 0; + max: CLEAR_LINE_WIDTH -1; + } + } + part { + name: "inner"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 0.5 0.0; + } + } + } + } + group { + name: "item_inner"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 0 0 0 0; + min: ITEM_WIDTH ITEM_HEIGHT; + max: ITEM_WIDTH ITEM_HEIGHT; + visible: 1; + } + } + part { + name: "icon"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + min: ITEM_ICON_WIDTH ITEM_ICON_HEIGHT; + max: ITEM_ICON_WIDTH ITEM_ICON_HEIGHT; + fixed: 1 1; + align: 0.5 0.0; + } + } + part { + name: "name"; + type: TEXTBLOCK; + description { + state: "default" 0.0; + color: 255 255 255 255; + rel1 { relative: 1.0 0.0; to: "icon"; offset: 20 0; } + rel2 { relative: 1.0 1.0; to: "icon"; } + text { + text: ""; + style: "item_style"; + min: 1 0; + ellipsis: -1; + } + align: 0.0 0.5; + } + } + part { + name: "focus"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1.to: "icon"; + rel2.to: "icon"; + } + } + } //parts + } //group + + group { + name: "clear_item"; + parts { + part { + name: "padding.top"; + type: SPACER; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + min: 0 PADDING_TOP; + max: -1 PADDING_TOP; + align: 0.0 0.0; + } + } + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 1.0; to: "padding.top"; } + rel2 { relative: 1.0 1.0; } + color: 0 0 0 0; + min: ITEM_WIDTH CLEAR_ITEM_HEIGHT; + max: ITEM_WIDTH CLEAR_ITEM_HEIGHT; + } + } + part { + name: "line"; + type: RECT; + scale: 1; + description { + state: "default"; + rel1 { + relative: 0.0 0.5; + to_y: "clear_img"; + } + color: 255 255 255 255; + min: CLEAR_LINE_WIDTH 0; + max: CLEAR_LINE_WIDTH -1; + align: 0.5 1.0; + } + } + part { + name: "clear_img"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + image { + normal: "clear_all_button_icon.png"; + } + min: CLEAR_ICON_WIDTH CLEAR_ICON_HEIGHT; + max: CLEAR_ICON_WIDTH CLEAR_ICON_HEIGHT; + align: 0.5 0.0; + fixed: 1 1; + } + } + part { + name: "name"; + type: TEXTBLOCK; + description { + state: "default" 0.0; + color: 255 255 255 255; + rel1 { relative: 1.0 0.0; to: "clear_img"; offset: 48 0; } + rel2 { relative: 1.0 1.0; to: "clear_img"; } + text { + text: "Clear all"; + style: "item_style"; + min: 1 0; + ellipsis: -1; + } + align: 0.0 0.5; + fixed: 1 0; + } + } + part { + name: "focus"; + type: SWALLOW; + description { + state: "default" 0.0; + rel1.to: "clear_img"; + rel2.to: "clear_img"; + } + } + } //parts + programs { + program { + name: "event,click"; + signal: "mouse,clicked,1"; + source: "clear_img"; + action: SIGNAL_EMIT "click" "clear_item"; + } + } + } //group +} //collections diff --git a/res/edje/layout.edc b/res/edje/layout.edc new file mode 100644 index 0000000..4632001 --- /dev/null +++ b/res/edje/layout.edc @@ -0,0 +1,101 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + #include "conf.edc" + +styles { + style { + name: "no_item_style"; + base: "font=Tizen:style=Bold font_size=30 color=#ffffff align=center style=shadow shadow_color=#000000bf wrap=mixed"; + tag: "br" "\n"; + tag: "hilight" "+ font_weight=Bold"; + tag: "b" "+ font_weight=Bold"; + tag: "tab" "\t"; + } +} + +collections { + base_scale: 2.6; + group { + name: "layout"; + parts { + part { + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 BG_COLOR; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + min: BASE_WIDTH BASE_HEIGHT; + visible: 1; + } + } + part { + name: "scroller"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + align: 0.5 1.0; + visible: 1; + } + } + part { + name: "no,apps,txt"; + type: TEXTBLOCK; + scale: 1; + description { + state: "default" 0.0; + color: 255 255 255 255; + text { + text: " "; + style: "no_item_style"; + align: 0.5 0.5; + } + visible: 0; + } + description { + state: "show" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } //parts + programs { + program { + signal: "mouse,clicked,*"; + source: "no,apps,txt"; + action: SIGNAL_EMIT "no,apps,clicked" "no,apps,txt"; + } + program { + signal: "no,apps,txt,show"; + source: "no,apps,txt"; + action: STATE_SET "show" 0.0; + target: "no,apps,txt"; + } + program { + signal: "no,apps,txt,hide"; + source: "no,apps,txt"; + action: STATE_SET "default" 0.0; + target: "no,apps,txt"; + } + } + } //group +} //collections diff --git a/res/po/CMakeLists.txt b/res/po/CMakeLists.txt new file mode 100644 index 0000000..2d1db70 --- /dev/null +++ b/res/po/CMakeLists.txt @@ -0,0 +1,23 @@ +# for i18n + +SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po) + +SET(MSGFMT "/usr/bin/msgfmt") + +FOREACH(pofile ${POFILES}) + SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}) + MESSAGE("PO: ${pofile}") + GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE) + GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE) + SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo) + ADD_CUSTOM_COMMAND( + OUTPUT ${moFile} + COMMAND ${MSGFMT} -o ${moFile} ${absPofile} + DEPENDS ${absPofile} + ) + INSTALL(FILES ${moFile} DESTINATION ${LOCALEDIR}/${lang}/LC_MESSAGES RENAME ${PROJECT_NAME}.mo) + SET(moFiles ${moFiles} ${moFile}) +ENDFOREACH(pofile) + +MESSAGE(".mo files: ${moFiles}") +ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles}) diff --git a/res/po/POTFILES.in b/res/po/POTFILES.in new file mode 100644 index 0000000..2477469 --- /dev/null +++ b/res/po/POTFILES.in @@ -0,0 +1,10 @@ +# List of source files containing translatable strings. +taskmanager.c +_eina.c +_genlist.c +_info.c +_logic.c +_mem.c +_progressbar.c +_util_efl.c + diff --git a/res/po/ar.po b/res/po/ar.po new file mode 100644 index 0000000..c76c684 --- /dev/null +++ b/res/po/ar.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "ما من تطبيقات" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "مسح الكل" + diff --git a/res/po/as.po b/res/po/as.po new file mode 100644 index 0000000..5a9a639 --- /dev/null +++ b/res/po/as.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "সকলো পৰিষ্কাৰ" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "কোনো এপ্লিকেশ্বন নাই" + diff --git a/res/po/az.po b/res/po/az.po new file mode 100644 index 0000000..8f6018f --- /dev/null +++ b/res/po/az.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Proqram yoxdur" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Hamısını sil" + diff --git a/res/po/bg.po b/res/po/bg.po new file mode 100644 index 0000000..fa86804 --- /dev/null +++ b/res/po/bg.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Няма приложения" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Изтр. всч" + diff --git a/res/po/bn.po b/res/po/bn.po new file mode 100644 index 0000000..4bba988 --- /dev/null +++ b/res/po/bn.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "সমস্ত পরিষ্কার" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "কোনও অ্যাপ্লিকেশন নেই" + diff --git a/res/po/ca.po b/res/po/ca.po new file mode 100644 index 0000000..49f2492 --- /dev/null +++ b/res/po/ca.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Cap aplicació" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Esbor tot" + diff --git a/res/po/cs.po b/res/po/cs.po new file mode 100644 index 0000000..56e9638 --- /dev/null +++ b/res/po/cs.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Žádné aplikace" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Smazat vše" + diff --git a/res/po/da.po b/res/po/da.po new file mode 100644 index 0000000..e148964 --- /dev/null +++ b/res/po/da.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Ingen applikationer" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Slet alle" + diff --git a/res/po/de.po b/res/po/de.po new file mode 100644 index 0000000..258f00a --- /dev/null +++ b/res/po/de.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Keine Anwendungen" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Alle löschen" + diff --git a/res/po/el_GR.po b/res/po/el_GR.po new file mode 100644 index 0000000..e940058 --- /dev/null +++ b/res/po/el_GR.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Καμία εφαρμογή" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Διαγραφή όλων" + diff --git a/res/po/en.po b/res/po/en.po new file mode 100644 index 0000000..4e306b9 --- /dev/null +++ b/res/po/en.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "No applications" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Clear all" + diff --git a/res/po/en_GB.po b/res/po/en_GB.po new file mode 100644 index 0000000..8191061 --- /dev/null +++ b/res/po/en_GB.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "No recently used apps" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Clear all" + diff --git a/res/po/en_PH.po b/res/po/en_PH.po new file mode 100644 index 0000000..8191061 --- /dev/null +++ b/res/po/en_PH.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "No recently used apps" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Clear all" + diff --git a/res/po/en_US.po b/res/po/en_US.po new file mode 100644 index 0000000..c06cf3d --- /dev/null +++ b/res/po/en_US.po @@ -0,0 +1,15 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "No recently used apps" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Clear all" + +msgid "IDS_TASKMGR_APP_ITEM_DESCRIPTION" +msgstr "Double tap to open %s. Double tap and hold, then drag left or right to close %s." + +msgid "IDS_TASKMGR_CLEAR_ALL_DESCRIPTION" +msgstr "Double tap to close all apps." + +msgid "IDS_TASKMGR_RECENT_APPLICATIONS" +msgstr "Recent applications." diff --git a/res/po/es_ES.po b/res/po/es_ES.po new file mode 100644 index 0000000..12512bb --- /dev/null +++ b/res/po/es_ES.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "No hay aplicaciones" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Borrar todo" + diff --git a/res/po/es_US.po b/res/po/es_US.po new file mode 100644 index 0000000..a27881d --- /dev/null +++ b/res/po/es_US.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "No hay aplicaciones" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Eliminar todo" + diff --git a/res/po/et.po b/res/po/et.po new file mode 100644 index 0000000..e872566 --- /dev/null +++ b/res/po/et.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Rakendusi pole" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Tühjenda kõik" + diff --git a/res/po/eu.po b/res/po/eu.po new file mode 100644 index 0000000..1b7e332 --- /dev/null +++ b/res/po/eu.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Ez dago aplikaziorik" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Garbitu guztiak" + diff --git a/res/po/fi.po b/res/po/fi.po new file mode 100644 index 0000000..5cc04fe --- /dev/null +++ b/res/po/fi.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Sovelluksia ei ole" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Tyhj. kaikki" + diff --git a/res/po/fr.po b/res/po/fr.po new file mode 100644 index 0000000..b197df9 --- /dev/null +++ b/res/po/fr.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Aucune application" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Effacer tout" + diff --git a/res/po/fr_CA.po b/res/po/fr_CA.po new file mode 100644 index 0000000..201e938 --- /dev/null +++ b/res/po/fr_CA.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Aucune application" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Effacer tout" + diff --git a/res/po/ga.po b/res/po/ga.po new file mode 100644 index 0000000..168a951 --- /dev/null +++ b/res/po/ga.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Níl feidhmchláir ann" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Glan gach" + diff --git a/res/po/gl.po b/res/po/gl.po new file mode 100644 index 0000000..47c2415 --- /dev/null +++ b/res/po/gl.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Non hai aplicacións" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Borrar todo" + diff --git a/res/po/gu.po b/res/po/gu.po new file mode 100644 index 0000000..14b18dd --- /dev/null +++ b/res/po/gu.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "બધું સાફ કરો" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "કોઇ એપ્લિકેશનો નથી" + diff --git a/res/po/he.po b/res/po/he.po new file mode 100644 index 0000000..d13bad1 --- /dev/null +++ b/res/po/he.po @@ -0,0 +1,18 @@ +msgid "IDS_COM_BODY_HIGH_VOLUMES_MAY_HARM_YOUR_HEARING_IF_YOU_LISTEN_FOR_A_LONG_TIME" +msgstr "עוצמות קול גבוהות עלולות לפגוע בשמיעה אם מאזינים להן למשך זמן רב" + +msgid "IDS_COM_BODY_ANDROID" +msgstr "Android" + +msgid "IDS_COM_BODY_JAVA" +msgstr "Java" + +msgid "IDS_COM_BODY_WARNING" +msgstr "אזהרה" + +msgid "IDS_COM_BODY_MEDIA" +msgstr "מדיה" + +msgid "IDS_COM_OPT_HEADPHONES_ABB" +msgstr "אוזניות" + diff --git a/res/po/hi.po b/res/po/hi.po new file mode 100644 index 0000000..71da8fb --- /dev/null +++ b/res/po/hi.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "कोई एप्लीकेशंस नहीं" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "सभी साफ करें" + diff --git a/res/po/hr.po b/res/po/hr.po new file mode 100644 index 0000000..a7f00cd --- /dev/null +++ b/res/po/hr.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Nema aplikacija" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Obriši sve" + diff --git a/res/po/hu.po b/res/po/hu.po new file mode 100644 index 0000000..069f0d5 --- /dev/null +++ b/res/po/hu.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Nincs alkalmazás" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Össz. Törlése" + diff --git a/res/po/hy.po b/res/po/hy.po new file mode 100644 index 0000000..86c6e78 --- /dev/null +++ b/res/po/hy.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Ծրագրեր չկան" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Մաքրել բոլորը" + diff --git a/res/po/id.po b/res/po/id.po new file mode 100644 index 0000000..a46cb87 --- /dev/null +++ b/res/po/id.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Hps semua" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Tidak ada aplikasi" + diff --git a/res/po/is.po b/res/po/is.po new file mode 100644 index 0000000..307e80b --- /dev/null +++ b/res/po/is.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Engin forrit" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Hreinsa allt" + diff --git a/res/po/it_IT.po b/res/po/it_IT.po new file mode 100644 index 0000000..9293b06 --- /dev/null +++ b/res/po/it_IT.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Nessuna applicazione" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Cancella tutto" + diff --git a/res/po/ja_JP.po b/res/po/ja_JP.po new file mode 100644 index 0000000..0caa36f --- /dev/null +++ b/res/po/ja_JP.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "アプリケーションがありません" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "全て消去" + diff --git a/res/po/ka.po b/res/po/ka.po new file mode 100644 index 0000000..a453b3d --- /dev/null +++ b/res/po/ka.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "აპლიკაციები არ არის" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "ყველას წაშლა" + diff --git a/res/po/kk.po b/res/po/kk.po new file mode 100644 index 0000000..aeb5331 --- /dev/null +++ b/res/po/kk.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Бағдарламалар жоқ" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Барлығын өшіру" + diff --git a/res/po/km.po b/res/po/km.po new file mode 100644 index 0000000..9c7abf1 --- /dev/null +++ b/res/po/km.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "ជម្រះទាំងអស់" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "គ្មានកម្មវិធី" + diff --git a/res/po/kn.po b/res/po/kn.po new file mode 100644 index 0000000..c3c4e99 --- /dev/null +++ b/res/po/kn.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "ಎಲ್ಲವನ್ನೂ ತೆರವುಗೊಳಿಸಿ" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "ಅನ್ವಯಿಸುವಿಕೆಗಳಿಲ್ಲ" + diff --git a/res/po/ko_KR.po b/res/po/ko_KR.po new file mode 100644 index 0000000..b9e373f --- /dev/null +++ b/res/po/ko_KR.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "모두 삭제" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "애플리케이션이 없습니다" + diff --git a/res/po/lo.po b/res/po/lo.po new file mode 100644 index 0000000..47135f6 --- /dev/null +++ b/res/po/lo.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "ລຶບທັງໝົດ" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "ບໍ່ມີແອພພລິເຄຊັນ" + diff --git a/res/po/lt.po b/res/po/lt.po new file mode 100644 index 0000000..2151b51 --- /dev/null +++ b/res/po/lt.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Nėra programų" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Valyti viską" + diff --git a/res/po/lv.po b/res/po/lv.po new file mode 100644 index 0000000..d6198b3 --- /dev/null +++ b/res/po/lv.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Nav programmu" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Notīrīt visu" + diff --git a/res/po/mk.po b/res/po/mk.po new file mode 100644 index 0000000..1e419bb --- /dev/null +++ b/res/po/mk.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Нема апликации" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Бриши сѐ" + diff --git a/res/po/ml.po b/res/po/ml.po new file mode 100644 index 0000000..47fe3ea --- /dev/null +++ b/res/po/ml.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "എല്ലാം മായ്ക്കുക" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "ആപ്ലിക്കേഷനുകൾ ഒന്നുമില്ല" + diff --git a/res/po/mr.po b/res/po/mr.po new file mode 100644 index 0000000..165cfe0 --- /dev/null +++ b/res/po/mr.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "सर्व साफ करा" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "कोणतेही अनुप्रयोग नाहीत" + diff --git a/res/po/ms.po b/res/po/ms.po new file mode 100644 index 0000000..0d21481 --- /dev/null +++ b/res/po/ms.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Padam semua" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Tiada aplikasi" + diff --git a/res/po/my.po b/res/po/my.po new file mode 100644 index 0000000..b8ef63e --- /dev/null +++ b/res/po/my.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "အားလံုးကိုရွင္းပစ္ပါ" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "အပလီေကးရွင္းမ်ား မရွိပါ" + diff --git a/res/po/nb.po b/res/po/nb.po new file mode 100644 index 0000000..df5a7e4 --- /dev/null +++ b/res/po/nb.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Ingen apper" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Tøm alle" + diff --git a/res/po/ne.po b/res/po/ne.po new file mode 100644 index 0000000..681208e --- /dev/null +++ b/res/po/ne.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "सबै सफा" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "कुनै अनुप्रयोगहरू छैनन्" + diff --git a/res/po/nl.po b/res/po/nl.po new file mode 100644 index 0000000..962b310 --- /dev/null +++ b/res/po/nl.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Geen applicaties" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Wis alles" + diff --git a/res/po/no.po b/res/po/no.po new file mode 100644 index 0000000..b14a452 --- /dev/null +++ b/res/po/no.po @@ -0,0 +1,18 @@ +msgid "IDS_COM_BODY_HIGH_VOLUMES_MAY_HARM_YOUR_HEARING_IF_YOU_LISTEN_FOR_A_LONG_TIME" +msgstr "Høy lydstyrke kan skade hørselen din hvis du lytter til det over lengre perioder" + +msgid "IDS_COM_BODY_ANDROID" +msgstr "Android" + +msgid "IDS_COM_BODY_JAVA" +msgstr "Java" + +msgid "IDS_COM_BODY_WARNING" +msgstr "Advarsel" + +msgid "IDS_COM_BODY_MEDIA" +msgstr "Medier" + +msgid "IDS_COM_OPT_HEADPHONES_ABB" +msgstr "Hodetelefoner" + diff --git a/res/po/or.po b/res/po/or.po new file mode 100644 index 0000000..81ef792 --- /dev/null +++ b/res/po/or.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "ସମସ୍ତ ଖାଲି" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "କୌଣସି ଆପ୍ଲିକେସନ୍ ନାହିଁ" + diff --git a/res/po/pa.po b/res/po/pa.po new file mode 100644 index 0000000..ff32502 --- /dev/null +++ b/res/po/pa.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "ਸਾਰੇ ਸਾਫ਼ ਕਰੋ" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "ਕੋਈ ਅਨੁਪ੍ਰਯੋਗ ਨਹੀਂ" + diff --git a/res/po/pl.po b/res/po/pl.po new file mode 100644 index 0000000..c241654 --- /dev/null +++ b/res/po/pl.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Brak aplikacji" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Wyczyść wszys." + diff --git a/res/po/pt_BR.po b/res/po/pt_BR.po new file mode 100644 index 0000000..3c7c604 --- /dev/null +++ b/res/po/pt_BR.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Nenhum aplicativo" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Limpar tudo" + diff --git a/res/po/pt_PT.po b/res/po/pt_PT.po new file mode 100644 index 0000000..c0ef50e --- /dev/null +++ b/res/po/pt_PT.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Sem aplicações" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Limpar tudo" + diff --git a/res/po/ro.po b/res/po/ro.po new file mode 100644 index 0000000..556c104 --- /dev/null +++ b/res/po/ro.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Nicio aplicaţie" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Şterg. totală" + diff --git a/res/po/ru_RU.po b/res/po/ru_RU.po new file mode 100644 index 0000000..70aa611 --- /dev/null +++ b/res/po/ru_RU.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Нет приложений" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Очистить все" + diff --git a/res/po/si.po b/res/po/si.po new file mode 100644 index 0000000..eb02f6a --- /dev/null +++ b/res/po/si.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "සියල්ල මකන්න" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "යෙදුම් නොමැත" + diff --git a/res/po/sk.po b/res/po/sk.po new file mode 100644 index 0000000..51d85eb --- /dev/null +++ b/res/po/sk.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Žiadne aplikácie" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Vymazať všetko" + diff --git a/res/po/sl.po b/res/po/sl.po new file mode 100644 index 0000000..3b0b9ef --- /dev/null +++ b/res/po/sl.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Ni aplikacij" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Počisti vse" + diff --git a/res/po/sr.po b/res/po/sr.po new file mode 100644 index 0000000..a7f00cd --- /dev/null +++ b/res/po/sr.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Nema aplikacija" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Obriši sve" + diff --git a/res/po/sv.po b/res/po/sv.po new file mode 100644 index 0000000..6e5da6b --- /dev/null +++ b/res/po/sv.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Inga program" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Rensa allt" + diff --git a/res/po/ta.po b/res/po/ta.po new file mode 100644 index 0000000..1d90368 --- /dev/null +++ b/res/po/ta.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "அனைத்தும் துடை" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "பயன்பாடுகள் ஏதுமில்லை" + diff --git a/res/po/taskmgr.pot b/res/po/taskmgr.pot new file mode 100644 index 0000000..54670e3 --- /dev/null +++ b/res/po/taskmgr.pot @@ -0,0 +1,58 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2011-11-23 18:20+0900\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: _genlist.c:153 +#, c-format +msgid "IDS_TASKMGR_WARNNING_TERMINATE_ALL_TASKS" +msgstr "" + +#: _genlist.c:170 +#, c-format +msgid "IDS_TASKMGR_ASK_DELETE_ALL_HISTORY" +msgstr "" + +#: _genlist.c:186 +#, c-format +msgid "IDS_TASKMGR_ASK_TERMINATE_TASK" +msgstr "" + +#: _genlist.c:203 +#, c-format +msgid "IDS_TASKMGR_ASK_CLEAR_HISTORY" +msgstr "" + +#: _genlist.c:264 +msgid "IDS_TASKMGR_CANNOT_LAUNCH_APPLICATION" +msgstr "" + +#: _info.c:122 +msgid "IDS_TASKMGR_INFO_MESSAGE" +msgstr "" + +#: _logic.c:150 +msgid "IDS_TASKMGR_HEADER_TASK_SWITCHER" +msgstr "" + +#: _util_efl.c:181 +msgid "Warning!" +msgstr "" + +#: _util_efl.c:184 +msgid "IDS_COM_POP_CANCEL" +msgstr "" diff --git a/res/po/te.po b/res/po/te.po new file mode 100644 index 0000000..17fc33a --- /dev/null +++ b/res/po/te.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "అన్ని క్లియర్ చేయి" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "అప్లికేషన్లు లేవు" + diff --git a/res/po/th.po b/res/po/th.po new file mode 100644 index 0000000..ca8a8e2 --- /dev/null +++ b/res/po/th.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "ลบทั้งหมด" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "ไม่มีแอพพลิเคชั่น" + diff --git a/res/po/tl.po b/res/po/tl.po new file mode 100644 index 0000000..0360f7b --- /dev/null +++ b/res/po/tl.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "I-clear lahat" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Walang mga application" + diff --git a/res/po/tr_TR.po b/res/po/tr_TR.po new file mode 100644 index 0000000..31482e1 --- /dev/null +++ b/res/po/tr_TR.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Uygulama yok" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Tümünü sil" + diff --git a/res/po/uk.po b/res/po/uk.po new file mode 100644 index 0000000..613712a --- /dev/null +++ b/res/po/uk.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Немає програм" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Очистити все" + diff --git a/res/po/update-po.sh b/res/po/update-po.sh new file mode 100644 index 0000000..3421bc3 --- /dev/null +++ b/res/po/update-po.sh @@ -0,0 +1,57 @@ +#!/bin/sh + +PACKAGE=taskmgr +SRCROOT=../src +POTFILES=POTFILES.in + +#ALL_LINGUAS= am az be ca cs da de el en_CA en_GB es et fi fr hr hu it ja ko lv mk ml ms nb ne nl pa pl pt pt_BR ru rw sk sl sr sr@Latn sv ta tr uk vi zh_CN zh_TW +ALL_LINGUAS="en_US en_GB ja ko zh_CN" + +XGETTEXT=/usr/bin/xgettext +MSGMERGE=/usr/bin/msgmerge + +echo -n "Make ${PACKAGE}.pot " +if [ ! -e $POTFILES ] ; then + echo "$POTFILES not found" + exit 1 +fi + +$XGETTEXT --default-domain=${PACKAGE} --directory=${SRCROOT} \ + --add-comments --keyword=_ --keyword=N_ --files-from=$POTFILES \ +&& test ! -f ${PACKAGE}.po \ + || (rm -f ${PACKAGE}.pot && mv ${PACKAGE}.po ${PACKAGE}.pot) + +if [ $? -ne 0 ]; then + echo "error" + exit 1 +else + echo "done" +fi + +for LANG in $ALL_LINGUAS; do + echo "$LANG : " + + if [ ! -e $LANG.po ] ; then + cp ${PACKAGE}.pot ${LANG}.po + echo "${LANG}.po created" + else + if $MSGMERGE ${LANG}.po ${PACKAGE}.pot -o ${LANG}.new.po ; then + if cmp ${LANG}.po ${LANG}.new.po > /dev/null 2>&1; then + rm -f ${LANG}.new.po + else + if mv -f ${LANG}.new.po ${LANG}.po; then + echo "" + else + echo "msgmerge for $LANG.po failed: cannot move $LANG.new.po to $LANG.po" 1>&2 + rm -f ${LANG}.new.po + exit 1 + fi + fi + else + echo "msgmerge for $LANG failed!" + rm -f ${LANG}.new.po + fi + fi + echo "" +done + diff --git a/res/po/ur.po b/res/po/ur.po new file mode 100644 index 0000000..45681b8 --- /dev/null +++ b/res/po/ur.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "سب صاف کریں" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "کوئی ایپلیکیشنز نہیں" + diff --git a/res/po/uz.po b/res/po/uz.po new file mode 100644 index 0000000..f3d44d2 --- /dev/null +++ b/res/po/uz.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Ilovalar yo‘q" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Barini tozala" + diff --git a/res/po/vi.po b/res/po/vi.po new file mode 100644 index 0000000..fe134b3 --- /dev/null +++ b/res/po/vi.po @@ -0,0 +1,6 @@ +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "Xóa tất cả" + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "Không có ứng dụng" + diff --git a/res/po/zh_CN.po b/res/po/zh_CN.po new file mode 100644 index 0000000..d6ccc3f --- /dev/null +++ b/res/po/zh_CN.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "无应用程序" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "全部清除" + diff --git a/res/po/zh_HK.po b/res/po/zh_HK.po new file mode 100644 index 0000000..302324f --- /dev/null +++ b/res/po/zh_HK.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "無應用程式" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "全部清除" + diff --git a/res/po/zh_TW.po b/res/po/zh_TW.po new file mode 100644 index 0000000..302324f --- /dev/null +++ b/res/po/zh_TW.po @@ -0,0 +1,7 @@ + +msgid "IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS" +msgstr "無應用程式" + +msgid "IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2" +msgstr "全部清除" + diff --git a/shared/res/task-mgr.png b/shared/res/task-mgr.png Binary files differnew file mode 100644 index 0000000..9765b1b --- /dev/null +++ b/shared/res/task-mgr.png diff --git a/src/item.c b/src/item.c new file mode 100644 index 0000000..76a6501 --- /dev/null +++ b/src/item.c @@ -0,0 +1,731 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include <Elementary.h> +#include <app_manager.h> +#include <stdbool.h> +#include <rua_manager.h> + +#include "conf.h" +#include "item.h" +#include "list.h" +#include "log.h" +#include "main.h" +#include "scroller.h" +#include "util.h" + +#define PRIVATE_DATA_KEY_CLEAR "p_clr" +#define PRIVATE_DATA_KEY_NEXT_ITEM "p_n_it" +#define PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING "p_in_mv" +#define PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING "p_an_mv" +#define PRIVATE_DATA_KEY_ITEM_X "p_it_x" +#define PRIVATE_DATA_KEY_ITEM_Y "p_it_y" +#define PRIVATE_DATA_KEY_ITEM_W "p_it_w" +#define PRIVATE_DATA_KEY_ITEM_H "p_it_h" +#define PRIVATE_DATA_KEY_DOWN_X "p_dw_x" +#define PRIVATE_DATA_KEY_DOWN_Y "p_dw_y" +#define PRIVATE_DATA_KEY_DOWN_TIME "p_dw_t" +#define PRIVATE_DATA_KEY_SCROLLED "p_sc" +#define PRIVATE_DATA_KEY_PRESSED "p_pre" +#define PRIVATE_DATA_KEY_ITEM_MOVED "p_it_mv" + +#define PRIVATE_MOVE_THRESHOLD 30 +#define PRIVATE_FLICK_TIME 100 +#define PRIVATE_ITEM_ALPHA 0.8 +#define PRIVATE_ITEM_ALPHA_MAX 100 + + + +rua_info_h item_get_info(Evas_Object *item) +{ + retv_if(!item, NULL); + rua_info_h info = NULL; + + info = evas_object_data_get(item, DATA_KEY_ITEM_INFO); + + return info; +} + + + +void item_clear_all_disabled_set(Evas_Object *scroller) +{ + Evas_Object *clear_item = NULL; + ret_if(!scroller); + + clear_item = evas_object_data_get(scroller, PRIVATE_DATA_KEY_CLEAR); + ret_if(!clear_item); + elm_layout_signal_emit(main_get_info()->layout, "no,apps,txt,show", "no,apps,txt"); + item_clear_all_destroy(scroller); +} + + + +static void _clear_all_clicked_cb(void *data, Evas_Object *obj, void *event_info) +{ + Evas_Object *scroller = data; + ret_if(!scroller); + scroller_pop_all_item(scroller, 1); +} + + + +Evas_Object *item_clear_all_create(Evas_Object *scroller) +{ + retv_if(!scroller, NULL); + + Evas_Object *clear_item = NULL; + Evas_Object *focus = NULL; + + clear_item = elm_layout_add(scroller); + retv_if(!clear_item, NULL); + + if (!elm_layout_file_set(clear_item, util_get_file_path(APP_DIR_RESOURCE, ITEM_LAYOUT_EDJ), "clear_item")) { + _E("Failed to set the layout"); + evas_object_del(clear_item); + return NULL; + } + + elm_object_part_text_set(clear_item, "name", _("IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2")); + + evas_object_data_set(scroller, PRIVATE_DATA_KEY_CLEAR, clear_item); + + evas_object_show(clear_item); + + focus = elm_button_add(clear_item); + elm_object_style_set(focus, "focus"); + elm_object_part_content_set(clear_item, "focus", focus); + evas_object_smart_callback_add(focus, "clicked", _clear_all_clicked_cb, scroller); + elm_atspi_accessible_name_set(focus, _("IDS_TASKMGR_BUTTON_CLOSE_ALL_ABB2")); + elm_atspi_accessible_description_set(focus, _("IDS_TASKMGR_CLEAR_ALL_DESCRIPTION")); + + return clear_item; +} + + + +void item_clear_all_destroy(Evas_Object *scroller) +{ + ret_if(!scroller); + + Evas_Object *clear_item = NULL; + + clear_item = evas_object_data_del(scroller, PRIVATE_DATA_KEY_CLEAR); + if (clear_item) evas_object_del(clear_item); +} + + + +static Evas_Object *_content_set_item_inner(Evas_Object *item_outer) +{ + Evas_Object *box = NULL; + Evas_Object *item_inner = NULL; + Evas_Object *next_item = NULL; + + box = main_get_info()->box; + retv_if(!box, NULL); + + item_inner = evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING); + retv_if(!item_inner, NULL); + + next_item = evas_object_data_del(item_outer, PRIVATE_DATA_KEY_NEXT_ITEM); + + elm_box_unpack(box, item_outer); + elm_object_part_content_set(item_outer, "inner", item_inner); + + if (!next_item) { + elm_box_pack_end(box, item_outer); + } else { + elm_box_pack_before(box, item_outer, next_item); + } + return item_outer; +} + + + +static Evas_Object *_content_unset_item_inner(Evas_Object *item_outer) +{ + Evas_Object *box = NULL; + Evas_Object *item_inner = NULL; + Evas_Object *tmp_item = NULL; + Eina_List *list = NULL; + const Eina_List *l = NULL; + const Eina_List *ln = NULL; + + + box = main_get_info()->box; + retv_if(!box, NULL); + + item_inner = elm_object_part_content_unset(item_outer, "inner"); + retv_if(!item_inner, NULL); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING, item_inner); + + list = elm_box_children_get(box); + retv_if(!list, NULL); + + EINA_LIST_FOREACH_SAFE(list, l, ln, tmp_item) { + if (item_outer != tmp_item) continue; + Evas_Object *next_item = eina_list_data_get(ln); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_NEXT_ITEM, next_item); + break; + } + eina_list_free(list); + + return item_outer; +} + + + +#define ANIM_RATE 5 +#define ANIM_RATE_SPARE ANIM_RATE - 1 +static Eina_Bool _anim_move_item(void *data) +{ + Evas_Object *scroller = NULL; + Evas_Object *item_inner = NULL; + Evas_Object *item_outer = NULL; + + int cur_x, cur_y; + int end_x, end_y; + int end_pos, cur_pos; + int vec_pos; + + item_outer = data; + goto_if(!data, ERROR); + + scroller = main_get_info()->scroller; + goto_if(!scroller, ERROR); + + item_inner = evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING); + goto_if(!item_inner, ERROR); + + evas_object_geometry_get(item_inner, &cur_x, &cur_y, NULL, NULL); + evas_object_geometry_get(item_outer, &end_x, &end_y, NULL, NULL); + + end_pos = end_x; + vec_pos = (end_x - cur_x)/ANIM_RATE; + cur_x += vec_pos; + cur_pos = cur_x; + + if ((end_pos - cur_pos) < 0) { /* Move : Right -> Left */ + evas_object_move(item_inner, cur_x, cur_y); + int alp = 255 - ((cur_pos - end_pos) * PRIVATE_ITEM_ALPHA) - 1; + if (alp < PRIVATE_ITEM_ALPHA_MAX) alp = PRIVATE_ITEM_ALPHA_MAX; + evas_object_color_set(item_inner, alp, alp, alp, alp); + + if (cur_pos - ANIM_RATE_SPARE <= end_pos) { + evas_object_move(item_inner, end_x, end_y); + goto_if(!_content_set_item_inner(item_outer), ERROR); + /* unfreeze the scroller after setting the content */ + scroller_unfreeze(scroller); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + return ECORE_CALLBACK_CANCEL; + } + } else { /* Move : Left -> Right */ + evas_object_move(item_inner, cur_x, cur_y); + int alp = 255 - ((end_pos - cur_pos) * PRIVATE_ITEM_ALPHA) - 1; + if (alp < PRIVATE_ITEM_ALPHA_MAX) alp = PRIVATE_ITEM_ALPHA_MAX; + evas_object_color_set(item_inner, alp, alp, alp, alp); + + if (cur_pos + ANIM_RATE_SPARE >= end_pos) { + evas_object_move(item_inner, end_x, end_y); + goto_if(NULL == _content_set_item_inner(item_outer), ERROR); + /* unfreeze the scroller after setting the content */ + scroller_unfreeze(scroller); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + return ECORE_CALLBACK_CANCEL; + } + } + return ECORE_CALLBACK_RENEW; + +ERROR: + if (item_outer) { + scroller_unfreeze(scroller); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + } + return ECORE_CALLBACK_CANCEL; +} + + + +#define SLIPPED_LENGTH 40 +static Eina_Bool _anim_slipped_item(void *data) +{ + Evas_Object *scroller = NULL; + Evas_Object *item_outer = data; + + int item_outer_w, item_outer_h; + + goto_if(!item_outer, ERROR); + + scroller = main_get_info()->scroller; + goto_if(!scroller, ERROR); + + item_outer_w = (int)evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_W); + item_outer_h = (int)evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_H); + + item_outer_h -= SLIPPED_LENGTH; + evas_object_size_hint_min_set(item_outer, item_outer_w, item_outer_h); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_ITEM_H, (void *)item_outer_h); + + if (item_outer_h <= 0) { + scroller_pop_item(scroller, item_outer, 1); + + if (scroller_count(scroller) < 2) { + item_clear_all_disabled_set(scroller); + } + goto ERROR; + } + + return ECORE_CALLBACK_RENEW; + +ERROR: + if (item_outer) { + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_W); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_H); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + } + return ECORE_CALLBACK_CANCEL; +} + + + +#define TERMINATE_LENGTH 60 +static Eina_Bool _anim_terminate_item(void *data) +{ + Evas_Object *item_outer = data; + Evas_Object *item_inner = NULL; + + int item_x, item_y, item_w, item_h, is_boundary = 0; + int outer_x, outer_y; + + goto_if(!item_outer, ERROR); + + item_inner = evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING); + if (!item_inner) { + item_inner = elm_object_part_content_unset(item_outer, "inner"); + retv_if(!item_inner, ECORE_CALLBACK_CANCEL); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING, item_inner); + } + + evas_object_geometry_get(item_inner, &item_x, &item_y, &item_w, &item_h); + evas_object_geometry_get(item_outer, &outer_x, &outer_y, NULL, NULL); + + if (item_x >= outer_x) { + item_x += TERMINATE_LENGTH; + } else { + item_x -= TERMINATE_LENGTH; + } + + if (item_x >= main_get_info()->root_w || (item_x + item_w) <= 0) { + is_boundary = 1; + } + + evas_object_move(item_inner, item_x, item_y); + + if (is_boundary) { + Evas_Object *scroller = NULL; + Ecore_Animator *anim = NULL; + + scroller = main_get_info()->scroller; + goto_if(!scroller, ERROR); + + /* unfreeze the scroller after setting the content */ + scroller_unfreeze(scroller); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + evas_object_color_set(item_inner, 255, 255, 255, 0); + elm_object_part_content_set(item_outer, "inner", item_inner); + + anim = evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + if (anim) { + ecore_animator_del(anim); + anim = NULL; + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + } + anim = ecore_animator_add(_anim_slipped_item, item_outer); + goto_if(!anim, ERROR); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING, anim); + return ECORE_CALLBACK_CANCEL; + } + return ECORE_CALLBACK_RENEW; + +ERROR: + if (item_outer) { + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + } + return ECORE_CALLBACK_CANCEL; +} + + + +static void _down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) +{ + Evas_Event_Mouse_Down *ei = event_info; + Evas_Object *item_outer = data; + Evas_Object *item_inner = NULL; + + int x = ei->output.x; + int y = ei->output.y; + int down_time = ei->timestamp; + int rect_x, rect_y, rect_w, rect_h; + + ret_if(!item_outer); + + _D("Down (%d, %d)", x, y); + + item_inner = elm_object_part_content_get(item_outer, "inner"); + if (!item_inner) { + item_inner = evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING); + ret_if(!item_inner); + elm_object_part_content_set(item_outer, "inner", item_inner); + } + + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_PRESSED, (void *) 1); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_DOWN_X, (void *) -1); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_DOWN_Y, (void *) -1); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_DOWN_TIME, (void *)down_time); + + evas_object_geometry_get(item_outer, &rect_x, &rect_y, &rect_w, &rect_h); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_ITEM_X, (void *) rect_x); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_ITEM_Y, (void *) rect_y); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_ITEM_W, (void *) rect_w); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_ITEM_H, (void *) rect_h); +} + + + +#define LAUNCHING_LENGTH 60 +#define SCROLLER_THRESHOLD 15 +static void _move_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) +{ + Evas_Event_Mouse_Move *ei = event_info; + Evas_Object *item_outer = data; + + Evas_Object *layout = NULL; + Evas_Object *item_inner = NULL; + Evas_Object *scroller = NULL; + Ecore_Animator *anim = NULL; + + int down_x, down_y; + int outer_x, outer_y; + int cur_x, cur_y, vec_x, vec_y; + int alpha = 0; + + if (!item_outer) return; + if (!evas_object_data_get(item_outer, PRIVATE_DATA_KEY_PRESSED)) return; + + scroller = main_get_info()->scroller; + ret_if(!scroller); + if (scroller_is_scrolling(scroller)) { + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_SCROLLED, (void *)1); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_PRESSED); + + return; + } + + layout = main_get_info()->layout; + ret_if(!layout); + + anim = evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + if (anim) return; + + down_x = (int) evas_object_data_get(item_outer, PRIVATE_DATA_KEY_DOWN_X); + down_y = (int) evas_object_data_get(item_outer, PRIVATE_DATA_KEY_DOWN_Y); + + if (down_x < 0 || down_y < 0) { + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_DOWN_X, (void *)ei->cur.output.x); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_DOWN_Y, (void *)ei->cur.output.y); + down_x = ei->cur.output.x; + down_y = ei->cur.output.y; + } + + + outer_x = (int)evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_X); + outer_y = (int)evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_Y); + + cur_x = ei->cur.output.x; + cur_y = ei->cur.output.y; + + vec_x = cur_x - down_x; + vec_y = cur_y - down_y; + + outer_x += vec_x; + + if (!evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_MOVED)) { + if (abs(vec_y) > abs(vec_x) + SCROLLER_THRESHOLD) { + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_SCROLLED, (void *)1); + return; + } + if (abs(vec_x) <= PRIVATE_MOVE_THRESHOLD) return; + if (abs(vec_y) >= SCROLLER_THRESHOLD) return; + } + + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_ITEM_MOVED, (void *) 1); + item_inner = evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING); + if (!item_inner) { + /* freeze the scroller before unsetting the content */ + scroller_freeze(scroller); + ret_if(!_content_unset_item_inner(item_outer)); + } + + alpha = 255 - (abs(vec_x) * PRIVATE_ITEM_ALPHA); + if (alpha < PRIVATE_ITEM_ALPHA_MAX) { + alpha = PRIVATE_ITEM_ALPHA_MAX; + } + + evas_object_color_set(item_inner, alpha, alpha, alpha, alpha); + evas_object_move(item_inner, outer_x, outer_y); +} + + + +static void _item_terminate_anim(Evas_Object *item_outer) +{ + Ecore_Animator *anim = NULL; + + anim = evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + if (anim) { + ecore_animator_del(anim); + anim = NULL; + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + } + + anim = ecore_animator_add(_anim_terminate_item, item_outer); + ret_if(!anim); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING, anim); +} + + + +static void _up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) +{ + Evas_Event_Mouse_Up *ei = event_info; + Evas_Object *item_outer = data; + + Evas_Object *scroller = NULL; + + int x = ei->output.x; + int y = ei->output.y; + + int up_time = ei->timestamp; + int down_time = 0; + int init_pos, item_pos; + + int icon_x, icon_y, icon_w, icon_h; + int screen_w; + + _D("Up (%d, %d)", x, y); + + ret_if(!item_outer); + + scroller = main_get_info()->scroller; + ret_if(!scroller); + + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_PRESSED); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_DOWN_Y); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_DOWN_X); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_MOVED); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_SCROLLED); + + down_time = (int) evas_object_data_del(item_outer, PRIVATE_DATA_KEY_DOWN_TIME); + + /* This means the inner item has not been moved */ + Evas_Object *item_inner = evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_INNER_FOR_MOVING); + if (!item_inner) return; + + init_pos = (int) evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_X); + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_Y); + evas_object_geometry_get(item_inner, &item_pos, NULL, NULL, NULL); + + Evas_Object *item_icon = elm_object_part_content_get(obj, "icon"); + if (!item_icon) + return; + + evas_object_geometry_get(obj, &icon_x, &icon_y, &icon_w, &icon_h); + elm_win_screen_size_get(main_get_info()->win, NULL, NULL, &screen_w, NULL); + + if (icon_x < screen_w * SWIPE_LEFT_THRESHOLD || icon_x + icon_w > screen_w * SWIPE_RIGHT_THRESHOLD + || (up_time - down_time < PRIVATE_FLICK_TIME && abs(item_pos - init_pos) > 0)) { + _item_terminate_anim(item_outer); + + } else if (item_pos != init_pos) { + Ecore_Animator *anim = NULL; + anim = evas_object_data_get(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + if (anim) { + ecore_animator_del(anim); + anim = NULL; + evas_object_data_del(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING); + } + + anim = ecore_animator_add(_anim_move_item, item_outer); + ret_if(NULL == anim); + evas_object_data_set(item_outer, PRIVATE_DATA_KEY_ITEM_ANIM_FOR_MOVING, anim); + } +} + + + +static void _clicked_cb(void *data, Evas_Object *obj, void *event_info) +{ + _D("Clicked"); + + ret_if(!data); + Evas_Object *item = data; + Evas_Object *item_inner = NULL; + rua_info_h info; + + item_inner = elm_object_part_content_get(item, "inner"); + if (!item_inner) return; + + info = item_get_info(item); + ret_if(!info); + + util_launch_app(info); +} + + + +Evas_Object *item_create(Evas_Object *scroller, rua_info_h info) +{ + char description[512] = {0, }; + const char *format = _("IDS_TASKMGR_APP_ITEM_DESCRIPTION"); + char *icon_path; + char *name; + + retv_if(NULL == scroller, NULL); + retv_if(NULL == info, NULL); + + rua_info_get_icon(info, &icon_path); + rua_info_get_instance_name(info, &name); + if (!name) { + rua_info_get_label(info, &name); + if (!name) + rua_info_get_app_id(info, &name); + } + + Evas_Object *focus = NULL; + Evas_Object *icon = NULL; + Evas_Object *item = NULL; + Evas_Object *item_inner = NULL; + + item = elm_layout_add(scroller); + retv_if(NULL == item, NULL); + elm_layout_file_set(item, util_get_file_path(APP_DIR_RESOURCE, ITEM_LAYOUT_EDJ), "item"); + evas_object_show(item); + + item_inner = elm_layout_add(scroller); + goto_if(NULL == item_inner, ERROR); + elm_layout_file_set(item_inner, util_get_file_path(APP_DIR_RESOURCE, ITEM_LAYOUT_EDJ), "item_inner"); + evas_object_show(item_inner); + elm_object_part_content_set(item, "inner", item_inner); + evas_object_event_callback_add(item_inner, EVAS_CALLBACK_MOUSE_DOWN, _down_cb, item); + evas_object_event_callback_add(item_inner, EVAS_CALLBACK_MOUSE_MOVE, _move_cb, item); + evas_object_event_callback_add(item_inner, EVAS_CALLBACK_MOUSE_UP, _up_cb, item); + + icon = evas_object_image_add(main_get_info()->e); + goto_if(NULL == icon, ERROR); + evas_object_image_file_set(icon, icon_path, NULL); + evas_object_image_filled_set(icon, EINA_TRUE); + evas_object_show(icon); + elm_object_part_content_set(item_inner, "icon", icon); + elm_object_part_text_set(item_inner, "name", name); + + focus = elm_button_add(scroller); + goto_if(NULL == focus, ERROR); + elm_object_style_set(focus, "focus"); + elm_object_part_content_set(item_inner, "focus", focus); + evas_object_smart_callback_add(focus, "clicked", _clicked_cb, item); + elm_atspi_accessible_name_set(focus, name); + elm_atspi_accessible_reading_info_type_set(focus, + (ELM_ACCESSIBLE_READING_INFO_TYPE_NAME + | ELM_ACCESSIBLE_READING_INFO_TYPE_STATE + | ELM_ACCESSIBLE_READING_INFO_TYPE_DESCRIPTION)); + snprintf(description, sizeof(description), format, name, name); + elm_atspi_accessible_description_set(focus, description); + + evas_object_data_set(item, DATA_KEY_ITEM_INFO, info); + + free(name); + free(icon_path); + + return item; + +ERROR: + free(name); + free(icon_path); + item_destroy(item); + return NULL; +} + + + +void item_destroy(Evas_Object *item) +{ + ret_if(!item); + + Evas_Object *focus = NULL; + Evas_Object *icon = NULL; + Evas_Object *item_inner = NULL; + + focus = elm_object_part_content_unset(item, "focus"); + if (focus) { + evas_object_del(focus); + } + + item_inner = elm_object_part_content_unset(item, "inner"); + if (!item_inner) { + _E("cannot get the object"); + evas_object_del(item); + return; + } + + icon = elm_object_part_content_unset(item_inner, "icon"); + if (icon) { + evas_object_del(icon); + } else { + _E("cannot get the object"); + } + + evas_object_data_del(item, DATA_KEY_ITEM_INFO); + + evas_object_del(item_inner); + evas_object_del(item); +} + + + +void item_terminate(Evas_Object *item) +{ + int ret; + rua_info_h info; + + ret_if(!item); + + info = item_get_info(item); + if (info == NULL) + return; + + util_kill_app(info); + + ret = rua_manager_delete_rua_info(info); + if (ret < 0) { + _E("Cannot delete history. error(%d)", ret); + } +} diff --git a/src/list.c b/src/list.c new file mode 100644 index 0000000..abb215c --- /dev/null +++ b/src/list.c @@ -0,0 +1,85 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include <Elementary.h> +#include <app_manager.h> +#include <rua_manager.h> + +#include "list.h" +#include "log.h" +#include "main.h" +#include "util.h" +#include "conf.h" + +static Eina_List *app_list; + +extern Eina_List *list_pkg_list_get(void) +{ + return app_list; +} + +static bool __rua_info_foreach_cb(rua_info_h info, void *user_data) +{ + rua_info_h clone; + bool taskmanage; + int ret; + + ret = rua_info_is_managed_by_task_manager(info, &taskmanage); + if (ret != RUA_ERROR_NONE) { + _E("Failed to check taskmanage. error(%d)", ret); + return false; + } + + if (!taskmanage) + return true; + + ret = rua_info_clone(info, &clone); + if (ret != RUA_ERROR_NONE) { + _E("Failed to clone rua info. error(%d)", ret); + return false; + } + + app_list = eina_list_append(app_list, clone); + + return true; +} + +extern task_mgr_error_e list_init(void) +{ + int ret; + + ret = rua_manager_foreach_rua_info(__rua_info_foreach_cb, NULL); + if (ret != RUA_ERROR_NONE) { + _E("Failed to retrieve rua info. error(%d)", ret); + return TASK_MGR_ERROR_FAIL; + } + + return TASK_MGR_ERROR_NONE; +} + +extern void list_destroy(Eina_List *app_list) +{ + rua_info_h info; + + _D(""); + + if (!app_list) + return; + + EINA_LIST_FREE(app_list, info) { + rua_info_destroy(info); + } +} diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..3d9c6c2 --- /dev/null +++ b/src/main.c @@ -0,0 +1,321 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include <app.h> +#include <Elementary.h> +#include <malloc.h> +#include <vconf.h> + +#include "conf.h" +#include "item.h" +#include "list.h" +#include "log.h" +#include "main.h" +#include "scroller.h" +#include "util.h" + +#define KEY_BACK "XF86Back" +#define KEY_HOME "XF86Home" +#define PRIVATE_DATA_KEY_LIST_TIMER "pri_list_tm" + +static main_s main_info = { + .e = NULL, + .win = NULL, + .layout = NULL, + .scroller = NULL, + .box = NULL, + .pkg_list = NULL, + + .root_w = 0, + .root_h = 0, +}; +/* main_h main_info_h = &main_info; */ + + + +main_h main_get_info(void) +{ + return &main_info; +} + + + +static Eina_Bool _key_pressed(void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type type, void *event_info) +{ + Evas_Event_Key_Down *ev = event_info; + + if (type == EVAS_CALLBACK_KEY_DOWN && ((strncmp(KEY_BACK, ev->key, strlen(KEY_BACK)) == 0) || + (strncmp(KEY_HOME, ev->key, strlen(KEY_HOME)) == 0))) { + _D("KEY PRESSED: %s", ev->key); + + elm_exit(); + return EINA_TRUE; + } else { + return EINA_FALSE; + } +} + +void _bg_clicked_cb(void *data, Evas_Object *obj, const char *emission, const char *source) +{ + if (!main_info.scroller || scroller_count(main_info.scroller) > 1) + return; + + ui_app_exit(); +} + +static task_mgr_error_e _create_layout(Evas_Object *parent) +{ + _D(""); + Evas_Object *layout = NULL; + Eina_Bool ret = EINA_FALSE; + + /* create layout */ + layout = elm_layout_add(parent); + goto_if(!layout, ERROR); + + ret = elm_layout_file_set(layout, util_get_file_path(APP_DIR_RESOURCE, LAYOUT_EDJ), "layout"); + goto_if(EINA_FALSE == ret, ERROR); + + evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + evas_object_move(layout, 0, 0); + evas_object_resize(layout, main_info.root_w, main_info.root_h); + evas_object_show(layout); + + elm_object_signal_callback_add(layout, "no,apps,clicked", "no,apps,txt", _bg_clicked_cb, NULL); + + main_info.layout = layout; + + /* create scroller */ + main_info.scroller = scroller_create(layout); + goto_if(!main_info.scroller, ERROR); + + return TASK_MGR_ERROR_NONE; + +ERROR: + if (layout) evas_object_del(layout); + evas_object_del(main_info.win); + return TASK_MGR_ERROR_FAIL; +} + + + +static void _destroy_layout(void) +{ + if (main_info.layout) { + evas_object_del(main_info.layout); + main_info.layout = NULL; + } +} + + + +static Eina_Bool _access_action_cb(void *data, Evas_Object *obj, Elm_Access_Action_Info *action_info) +{ + if (action_info->action_type == ELM_ACCESS_ACTION_ACTIVATE) { + if (!main_info.scroller || scroller_count(main_info.scroller) > 1) + return EINA_FALSE; + + ui_app_exit(); + } + + return EINA_TRUE; +} + + +static Eina_Bool _list_timer_cb(void *data) +{ + _D(""); + Evas_Object *clear_item = NULL; + task_mgr_error_e ret = TASK_MGR_ERROR_NONE; + + if (main_info.pkg_list) { + _D("Already loaded"); + goto END; + } + + ret = list_init(); + if (ret != TASK_MGR_ERROR_NONE) { + _E("Could not initialize list module"); + goto END; + } + + elm_object_part_text_set(main_info.layout, "no,apps,txt", _("IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS")); + + Evas_Object *label = (Evas_Object *)edje_object_part_object_get( + elm_layout_edje_get(main_info.layout), "no,apps,txt"); + Evas_Object *atspi_label = elm_access_object_register(label, main_info.layout); + elm_access_action_cb_set(atspi_label, ELM_ACCESS_ACTION_ACTIVATE, _access_action_cb, NULL); + elm_atspi_accessible_role_set(atspi_label, ELM_ATSPI_ROLE_LABEL); + elm_atspi_accessible_name_set(atspi_label, _("IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS")); + elm_atspi_accessible_reading_info_type_set(atspi_label, + ELM_ACCESSIBLE_READING_INFO_TYPE_NAME); + + main_info.pkg_list = list_pkg_list_get(); + if (!main_info.pkg_list) { + _E("pkg_list is empty"); + elm_layout_signal_emit(main_info.layout, "no,apps,txt,show", "no,apps,txt"); + goto END; + } + + clear_item = item_clear_all_create(main_info.scroller); + if (!clear_item) { + _E("Fail to create clear all button"); + return ECORE_CALLBACK_CANCEL; + } + scroller_push_item(main_info.scroller, clear_item); + + if (TASK_MGR_ERROR_NONE != scroller_push_all_item(main_info.scroller, main_info.pkg_list)) { + _E("scroller_push_all_item failed"); + } + +END: + evas_object_data_del(main_info.win, PRIVATE_DATA_KEY_LIST_TIMER); + return ECORE_CALLBACK_CANCEL; +} + + + +static bool _create_cb(void *data) +{ + _D(""); + + char *language_set = vconf_get_str(VCONFKEY_LANGSET); + if (language_set) { + _D("Lanugaged changed: %s", language_set); + elm_language_set(language_set); + free(language_set); + } + + Ecore_Timer *timer = NULL; + + main_info.win = elm_win_add(NULL, "Task-mgr", ELM_WIN_BASIC); + retv_if(!main_info.win, false); + elm_win_title_set(main_info.win, _("IDS_TASKMGR_RECENT_APPLICATIONS")); + + elm_win_screen_size_get(main_info.win, NULL, NULL, &main_info.root_w, &main_info.root_h); + _D("screen size is (%d, %d)", main_info.root_w, main_info.root_h); + + elm_object_event_callback_add(main_info.win, _key_pressed, NULL); + + elm_win_indicator_mode_set(main_info.win, ELM_WIN_INDICATOR_SHOW); + elm_win_indicator_opacity_set(main_info.win, ELM_WIN_INDICATOR_TRANSPARENT); + + elm_win_borderless_set(main_info.win, EINA_TRUE); + elm_win_alpha_set(main_info.win, EINA_TRUE); + evas_object_show(main_info.win); + + main_info.e = evas_object_evas_get(main_info.win); + + if (_create_layout(main_info.win) != TASK_MGR_ERROR_NONE) { + _E("Failed to create a layout"); + return false; + } + + /* create the list */ + timer = evas_object_data_get(main_info.win, PRIVATE_DATA_KEY_LIST_TIMER); + if (timer) { + ecore_timer_del(timer); + } + + timer = ecore_timer_add(0.001f, _list_timer_cb, NULL); + if (timer) { + evas_object_data_set(main_info.win, PRIVATE_DATA_KEY_LIST_TIMER, timer); + } else { + _E("Cannot add a create list timer"); + } + + return true; +} + + + +static void _terminate_cb(void *data) +{ + _D(""); + + /* list destroy */ + list_destroy(main_info.pkg_list); + evas_object_data_del(main_info.win, PRIVATE_DATA_KEY_LIST_TIMER); + + elm_cache_all_flush(); + malloc_trim(0); + + scroller_destroy(main_info.layout); + _destroy_layout(); + + /** + * Even though the window is deleted automatically, + * It is good habit to delete window explicitly by your hands. + */ + + if (main_info.win) { + evas_object_del(main_info.win); + main_info.win = NULL; + } +} + + + +static void _app_control(app_control_h service, void *data) +{ + _D(""); + + return; +} + + + +static void _pause_cb(void *data) +{ + _D(""); + + elm_exit(); + return; +} + + + +static void _language_changed(app_event_info_h event_info, void *data) +{ + _D(""); +} + + + +int main(int argc, char **argv) +{ + int ret; + ui_app_lifecycle_callback_s lifecycle_callback = {0, }; + app_event_handler_h event_handlers[5] = {NULL, }; + + lifecycle_callback.create = _create_cb; + lifecycle_callback.terminate = _terminate_cb; + lifecycle_callback.pause = _pause_cb; + lifecycle_callback.resume = NULL; + lifecycle_callback.app_control = _app_control; + + ui_app_add_event_handler(&event_handlers[APP_EVENT_LOW_BATTERY], APP_EVENT_LOW_BATTERY, NULL, NULL); + ui_app_add_event_handler(&event_handlers[APP_EVENT_LOW_MEMORY], APP_EVENT_LOW_MEMORY, NULL, NULL); + ui_app_add_event_handler(&event_handlers[APP_EVENT_DEVICE_ORIENTATION_CHANGED], APP_EVENT_DEVICE_ORIENTATION_CHANGED, NULL, NULL); + ui_app_add_event_handler(&event_handlers[APP_EVENT_LANGUAGE_CHANGED], APP_EVENT_LANGUAGE_CHANGED, _language_changed, NULL); + ui_app_add_event_handler(&event_handlers[APP_EVENT_REGION_FORMAT_CHANGED], APP_EVENT_REGION_FORMAT_CHANGED, NULL, NULL); + + ret = ui_app_main(argc, argv, &lifecycle_callback, &main_info); + + return ret; +} + +/* End of a file */ diff --git a/src/scroller.c b/src/scroller.c new file mode 100644 index 0000000..f6d20ee --- /dev/null +++ b/src/scroller.c @@ -0,0 +1,370 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + #include <Elementary.h> + #include <app.h> + + #include "conf.h" + #include "item.h" + #include "list.h" + #include "log.h" + #include "main.h" + #include "scroller.h" + #include "util.h" + +#define PRIVATE_DATA_KEY_DRAG "pri_drag" +#define PRIVATE_DATA_KEY_MOUSE_DOWN "pri_m_dw" +#define PRIVATE_DATA_KEY_POP_ALL_TIMER "pri_pop_tm" +#define PRIVATE_DATA_KEY_REVERSE_LIST "pri_re_li" +#define PRIVATE_DATA_KEY_TERMINATE "pri_tm" + + + +task_mgr_error_e scroller_push_item(Evas_Object *scroller, Evas_Object *item) +{ + _D(""); + retv_if(!scroller, TASK_MGR_ERROR_INVALID_PARAMETER); + retv_if(!item, TASK_MGR_ERROR_INVALID_PARAMETER); + + Evas_Object *box_layout = NULL; + Evas_Object *box = NULL; + + box_layout = elm_object_content_get(scroller); + retv_if(!box_layout, TASK_MGR_ERROR_FAIL); + + box = elm_object_part_content_get(box_layout, BOX_GROUP_NAME); + retv_if(!box, TASK_MGR_ERROR_FAIL); + + elm_box_pack_end(box, item); + + return TASK_MGR_ERROR_NONE; +} + + + +void scroller_pop_item(Evas_Object *scroller, Evas_Object *item, int terminate) +{ + ret_if(!scroller); + ret_if(!item); + + Evas_Object *box_layout = NULL; + Evas_Object *box = NULL; + Evas_Object *tmp_item = NULL; + + Eina_List *list = NULL; + const Eina_List *l = NULL; + const Eina_List *ln = NULL; + + box_layout = elm_object_content_get(scroller); + ret_if(!box_layout); + + box = elm_object_part_content_get(box_layout, BOX_GROUP_NAME); + ret_if(!box); + + list = elm_box_children_get(box); + ret_if(!list); + + EINA_LIST_FOREACH_SAFE(list, l, ln, tmp_item) { + if (item != tmp_item) continue; + if (terminate) item_terminate(item); + + elm_box_unpack(box, item); + item_destroy(item); + break; + } + eina_list_free(list); +} + + + +task_mgr_error_e scroller_push_all_item(Evas_Object *scroller, Eina_List *list) +{ + const Eina_List *l = NULL; + const Eina_List *ln = NULL; + rua_info_h info = NULL; + Evas_Object *item = NULL; + + if (!list) { + _D("No app in the history list"); + return TASK_MGR_ERROR_NONE; + } + + EINA_LIST_FOREACH_SAFE(list, l, ln, info) { + if (!info) continue; + item = item_create(scroller, info); + continue_if(!item); + scroller_push_item(scroller, item); + } + + return TASK_MGR_ERROR_NONE; +} + +static void _terminate_all_app_and_exit(void *data, Evas_Object *obj, const char *emission, const char *source) +{ + Eina_List *list, *l; + Evas_Object *box = data, *item; + + list = elm_box_children_get(box); + EINA_LIST_FOREACH(list, l, item) + item_terminate(item); + + ui_app_exit(); +} + + +void scroller_pop_all_item(Evas_Object *scroller, int terminate) +{ + Evas_Object *box_layout = NULL; + Evas_Object *box = NULL; + + box_layout = elm_object_content_get(scroller); + box = elm_object_part_content_get(box_layout, BOX_GROUP_NAME); + + elm_object_signal_callback_add(box_layout, "all,apps,hidden", "box", _terminate_all_app_and_exit, box); + elm_object_signal_emit(box_layout, "all,apps,hide", "task-mgr"); +} + + + +int scroller_count(Evas_Object *scroller) +{ + Evas_Object *box_layout = NULL; + Evas_Object *box = NULL; + Eina_List *list = NULL; + + retv_if(!scroller, 0); + + box_layout = elm_object_content_get(scroller); + retv_if(!box_layout, 0); + + box = elm_object_part_content_get(box_layout, BOX_GROUP_NAME); + retv_if(!box, 0); + + list = elm_box_children_get(box); + if (!list) { + _D("list is null"); + return 0; + } + + return eina_list_count(list); +} + + + +Eina_Bool scroller_is_scrolling(Evas_Object *scroller) +{ + return evas_object_data_get(scroller, DATA_KEY_IS_SCROLLING) ? EINA_TRUE : EINA_FALSE; +} + + + +void scroller_freeze(Evas_Object *scroller) +{ + Evas_Object *box_layout = NULL; + Evas_Object *box = NULL; + + ret_if(!scroller); + + box_layout = elm_object_content_get(scroller); + ret_if(!box_layout); + + box = elm_object_part_content_get(box_layout, BOX_GROUP_NAME); + ret_if(!box); + + elm_object_scroll_freeze_push(box); +} + + + +void scroller_unfreeze(Evas_Object *scroller) +{ + Evas_Object *box_layout = NULL; + Evas_Object *box = NULL; + + ret_if(!scroller); + + box_layout = elm_object_content_get(scroller); + ret_if(!box_layout); + + box = elm_object_part_content_get(box_layout, BOX_GROUP_NAME); + ret_if(!box); + + while (elm_object_scroll_freeze_get(box)) { + elm_object_scroll_freeze_pop(box); + } +} + + + +static void _mouse_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) +{ + _D("Mouse is down"); + evas_object_data_set(obj, PRIVATE_DATA_KEY_MOUSE_DOWN, (void *) 1); +} + + + +static void _mouse_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info) +{ + _D("Mouse is up"); + evas_object_data_del(obj, PRIVATE_DATA_KEY_MOUSE_DOWN); + if (evas_object_data_get(obj, PRIVATE_DATA_KEY_DRAG)) return; + evas_object_data_del(obj, DATA_KEY_IS_SCROLLING); +} + + + +static void _anim_start_cb(void *data, Evas_Object *scroller, void *event_info) +{ + _D("start the scroller animation"); + evas_object_data_set(scroller, DATA_KEY_IS_SCROLLING, (void *) 1); +} + + + +static void _anim_stop_cb(void *data, Evas_Object *scroller, void *event_info) +{ + _D("stop the scroller animation"); + if (evas_object_data_get(scroller, PRIVATE_DATA_KEY_MOUSE_DOWN)) return; + evas_object_data_del(scroller, DATA_KEY_IS_SCROLLING); +} + + + +static void _drag_start_cb(void *data, Evas_Object *scroller, void *event_info) +{ + _D("start to drag the scroller animation"); + evas_object_data_set(scroller, PRIVATE_DATA_KEY_DRAG, (void *) 1); +} + + + +static void _drag_stop_cb(void *data, Evas_Object *scroller, void *event_info) +{ + _D("stop to drag the scroller animation"); + evas_object_data_del(scroller, PRIVATE_DATA_KEY_DRAG); +} + + + +static void _scroll_cb(void *data, Evas_Object *scroller, void *event_info) +{ + evas_object_data_set(scroller, DATA_KEY_IS_SCROLLING, (void *) 1); +} + +Evas_Object *scroller_create(Evas_Object *layout) +{ + retv_if(!layout, NULL); + + Evas_Object *box = NULL; + Evas_Object *box_layout = NULL; + Evas_Object *scroller = NULL; + + scroller = elm_scroller_add(layout); + retv_if(!scroller, NULL); + + elm_scroller_bounce_set(scroller, EINA_FALSE, EINA_FALSE); + elm_scroller_policy_set(scroller, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF); + elm_object_focus_allow_set(scroller, EINA_FALSE); + elm_object_part_content_set(layout, "scroller", scroller); + evas_object_show(scroller); + + evas_object_event_callback_add(scroller, EVAS_CALLBACK_MOUSE_DOWN, _mouse_down_cb, NULL); + evas_object_event_callback_add(scroller, EVAS_CALLBACK_MOUSE_UP, _mouse_up_cb, NULL); + evas_object_smart_callback_add(scroller, "scroll,anim,start", _anim_start_cb, NULL); + evas_object_smart_callback_add(scroller, "scroll,anim,stop", _anim_stop_cb, NULL); + evas_object_smart_callback_add(scroller, "scroll,drag,start", _drag_start_cb, NULL); + evas_object_smart_callback_add(scroller, "scroll,drag,stop", _drag_stop_cb, NULL); + evas_object_smart_callback_add(scroller, "scroll", _scroll_cb, NULL); + /* Because change an align in box, use the layout between box and scroller. */ + + box_layout = elm_layout_add(scroller); + if (!box_layout) { + _E("Fail to create box layout"); + evas_object_del(scroller); + return NULL; + } + elm_layout_file_set(box_layout, util_get_file_path(APP_DIR_RESOURCE, BOX_LAYOUT_EDJ), BOX_GROUP_NAME); + evas_object_size_hint_align_set(box_layout, 0.5, 1.0); + evas_object_size_hint_weight_set(box_layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + elm_object_content_set(scroller, box_layout); + evas_object_show(box_layout); + + box = elm_box_add(scroller); + if (!box) { + _E("Fail to create box"); + evas_object_del(box_layout); + evas_object_del(scroller); + return NULL; + } + elm_box_horizontal_set(box, EINA_FALSE); + elm_box_align_set(box, 0.5, 1.0); + elm_object_part_content_set(box_layout, BOX_GROUP_NAME, box); + evas_object_show(box); + main_get_info()->box = box; + + return scroller; +} + + + +void scroller_destroy(Evas_Object *scroller) +{ + ret_if(!scroller); + + Evas_Object *item = NULL; + Evas_Object *box_layout = NULL; + Evas_Object *box = NULL; + Eina_List *list = NULL; + + ret_if(!scroller); + scroller_pop_all_item(scroller, 0); + + box_layout = elm_object_content_unset(scroller); + ret_if(!box_layout); + + box = elm_object_part_content_unset(box_layout, BOX_GROUP_NAME); + ret_if(!box); + + list = elm_box_children_get(box); + if (!list) { + _D("list is empty"); + return; + } + + EINA_LIST_FREE(list, item) { + if (!item) break; + item_destroy(item); + } + free(list); + + evas_object_del(box); + evas_object_del(box_layout); + + evas_object_event_callback_del(scroller, EVAS_CALLBACK_MOUSE_DOWN, _mouse_down_cb); + evas_object_event_callback_del(scroller, EVAS_CALLBACK_MOUSE_UP, _mouse_up_cb); + evas_object_smart_callback_del(scroller, "scroll,anim,start", _anim_start_cb); + evas_object_smart_callback_del(scroller, "scroll,anim,stop", _anim_stop_cb); + evas_object_smart_callback_del(scroller, "scroll,drag,start", _drag_start_cb); + evas_object_smart_callback_del(scroller, "scroll,drag,stop", _drag_stop_cb); + evas_object_smart_callback_del(scroller, "scroll", _scroll_cb); + + evas_object_del(scroller); +} + + + +/* End of the file */ diff --git a/src/util.c b/src/util.c new file mode 100644 index 0000000..81ed10c --- /dev/null +++ b/src/util.c @@ -0,0 +1,173 @@ +/* + * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#include <Elementary.h> +#include <app_manager.h> +#include <app_manager_extension.h> +#include <app_control.h> +#include <app_common.h> +#include <stdbool.h> + +#include "log.h" +#include "util.h" + +Eina_Bool util_kill_app(rua_info_h info) +{ + rua_context_h context; + char *app_id; + bool running; + int ret; + + ret = rua_manager_get_rua_context_from_rua_info(info, &context); + if (ret != RUA_ERROR_NONE) { + _E("Failed to get rua context from rua info. error(%d)", ret); + return EINA_FALSE; + } + + ret = rua_manager_is_running(context, &running); + if (ret != RUA_ERROR_NONE) { + _E("Failed to check running state. error(%d)", ret); + rua_context_destroy(context); + return EINA_FALSE; + } + + if (!running) { + _W("The application is not running"); + rua_context_destroy(context); + return EINA_TRUE; + } + + ret = rua_manager_terminate(context); + rua_context_destroy(context); + if (ret != RUA_ERROR_NONE) { + _E("Failed to send terminate request. error(%d)", ret); + return EINA_FALSE; + } + + rua_info_get_app_id(info, &app_id); + _D("Terminate app_id = %s", app_id); + free(app_id); + + return ret; +} + +static void __app_control_result_cb(app_control_h request, + app_control_error_e result, void *user_data) +{ + char *app_id; + int ret; + + ret = app_control_get_app_id(request, &app_id); + if (ret != APP_CONTROL_ERROR_NONE) { + _E("Failed to get application ID"); + return; + } + + _D("app_id = %s, result = %d", app_id, result); + free(app_id); +} + +static Eina_Bool __send_launch_request(rua_info_h info) +{ + app_control_h app_control; + int ret; + + ret = rua_manager_get_app_control_from_rua_info(info, &app_control); + if (ret != RUA_ERROR_NONE) { + _E("Failed to get app control from rua info. error(%d)", ret); + return EINA_FALSE; + } + + ret = app_control_send_launch_request_async(app_control, + __app_control_result_cb, NULL, NULL); + app_control_destroy(app_control); + if (ret != APP_CONTROL_ERROR_NONE) { + _E("Failed to send launch request. error(%d)", ret); + return EINA_FALSE; + } + + return EINA_TRUE; +} + +Eina_Bool util_launch_app(rua_info_h info) +{ + rua_context_h context; + bool running; + int ret; + + ret = rua_manager_get_rua_context_from_rua_info(info, &context); + if (ret != RUA_ERROR_NONE) + return __send_launch_request(info); + + ret = rua_manager_is_running(context, &running); + if (ret != RUA_ERROR_NONE || !running) { + rua_context_destroy(context); + return __send_launch_request(info); + } + + ret = rua_manager_resume(context); + rua_context_destroy(context); + if (ret != RUA_ERROR_NONE) + return __send_launch_request(info); + + return EINA_TRUE; +} + +const char *util_get_file_path(app_subdir dir, const char *relative) +{ + static char buf[PATH_MAX]; + char *prefix; + + switch (dir) { + case APP_DIR_DATA: + prefix = app_get_data_path(); + break; + case APP_DIR_CACHE: + prefix = app_get_cache_path(); + break; + case APP_DIR_RESOURCE: + prefix = app_get_resource_path(); + break; + case APP_DIR_SHARED_DATA: + prefix = app_get_shared_data_path(); + break; + case APP_DIR_SHARED_RESOURCE: + prefix = app_get_shared_resource_path(); + break; + case APP_DIR_SHARED_TRUSTED: + prefix = app_get_shared_trusted_path(); + break; + case APP_DIR_EXTERNAL_DATA: + prefix = app_get_external_data_path(); + break; + case APP_DIR_EXTERNAL_CACHE: + prefix = app_get_external_cache_path(); + break; + case APP_DIR_EXTERNAL_SHARED_DATA: + prefix = app_get_external_shared_data_path(); + break; + default: + _E("Not handled directory type."); + return NULL; + } + size_t res = eina_file_path_join(buf, sizeof(buf), prefix, relative); + free(prefix); + if (res > sizeof(buf)) { + _E("Path exceeded PATH_MAX"); + return NULL; + } + + return &buf[0]; +} diff --git a/tizen-manifest.xml b/tizen-manifest.xml new file mode 100644 index 0000000..f8c3b40 --- /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="4.0" package="org.tizen.task-mgr" version="1.0.0"> + <profile name="mobile"/> + <ui-application appid="org.tizen.task-mgr" exec="task-mgr" multiple="false" nodisplay="true" process-pool="true" taskmanage="false" type="capp"> + <label>task-mgr</label> + <icon>taskmanager.png</icon> + </ui-application> + <privileges> + <privilege>http://tizen.org/privilege/appmanager.kill.bgapp</privilege> + <privilege>http://tizen.org/privilege/apphistory.read</privilege> + <privilege>http://tizen.org/privilege/appmanager.launch</privilege> + <privilege>http://tizen.org/privilege/appmanager.kill</privilege> + <privilege>http://tizen.org/privilege/packagemanager.info</privilege> + </privileges> +</manifest> |