<?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.so.debug.767412284">
- <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.so.debug.767412284" moduleId="org.eclipse.cdt.core.settings" name="Debug">
+ <cconfiguration id="org.tizen.nativecore.config.sbi.gcc45.app.debug.488805373">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.488805373" 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.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.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
- <configuration artifactExtension="so" artifactName="tbt-ime" buildArtefactType="org.tizen.nativecore.buildArtefactType.sharedLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.sharedLib" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.so.debug.767412284" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.so.debug">
- <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.so.debug.767412284." name="/" resourcePath="">
- <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.so.debug.1061622223" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.so.debug">
- <targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.651303706" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
- <builder autoBuildTarget="all" buildPath="${workspace_loc:/tbt-ime}/Debug" enableAutoBuild="true" id="org.tizen.nativecore.target.sbi.gnu.builder.728911496" 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.829457844" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>
- <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.467785848" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">
- <option id="gnu.cpp.compiler.option.optimization.level.1665337054" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
- <option id="sbi.gnu.cpp.compiler.option.debugging.level.core.1231851100" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
- <option defaultValue="true" id="sbi.gnu.cpp.compiler.option.misc.pic.core.1763196665" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/>
- <option id="sbi.gnu.cpp.compiler.option.1689755584" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
- <listOptionValue builtIn="false" value="mobile-3.0-device.core_llvm36.armel.core.sharedLib"/>
+ <configuration artifactName="tbt-ime" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.488805373" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.app.debug">
+ <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.debug.488805373." name="/" resourcePath="">
+ <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug.1051698442" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug">
+ <targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.2093993794" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
+ <builder autoBuildTarget="all" buildPath="${workspace_loc:/tbt-ime}/Debug" enableAutoBuild="true" id="org.tizen.nativecore.target.sbi.gnu.builder.51693901" 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.1074479708" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.1908572298" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">
+ <option id="gnu.cpp.compiler.option.optimization.level.1392534720" 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.1008604042" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" valueType="enumerated"/>
+ <option defaultValue="false" id="sbi.gnu.cpp.compiler.option.misc.pic.core.1732945004" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/>
+ <option id="sbi.gnu.cpp.compiler.option.197334097" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
+ <listOptionValue builtIn="false" value="mobile-3.0-device64.core_llvm37.aarch64.core.app"/>
</option>
- <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.1706368261" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.core" valueType="includePath">
+ <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.2036655037" 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/EGL""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES3""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/KHR""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/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/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/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/tzsh""/>
<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/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/lib/dbus-1.0/include""/>
- <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib64/dbus-1.0/include""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib64/glib-2.0/include""/>
</option>
- <option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.core.1541812020" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.core" valueType="stringList">
+ <option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.core.1627675322" 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"/>
- <listOptionValue builtIn="false" value="-fvisibility=hidden"/>
</option>
- <option id="gnu.cpp.compiler.option.include.paths.1468097797" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+ <option id="gnu.cpp.compiler.option.include.paths.1197472596" 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.1154272569" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.core" valueType="userObjs">
+ <option id="sbi.gnu.cpp.compiler.option.frameworks.core.393973470" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.core" valueType="userObjs">
<listOptionValue builtIn="false" value="Native_API"/>
</option>
- <option id="gnu.cpp.compiler.option.preprocessor.def.1135650526" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
- <listOptionValue builtIn="false" value="_DEBUG"/>
- </option>
- <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1075874075" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.2019339791" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
- <tool command="clang" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.1338678785" name="C Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.c.compiler">
- <option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.1960943860" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
- <option id="sbi.gnu.c.compiler.option.debugging.level.core.1051846740" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" value="gnu.c.debugging.level.max" valueType="enumerated"/>
- <option defaultValue="true" id="sbi.gnu.c.compiler.option.misc.pic.core.1573758691" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/>
- <option id="sbi.gnu.c.compiler.option.1413966887" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
- <listOptionValue builtIn="false" value="mobile-3.0-device.core_llvm36.armel.core.sharedLib"/>
+ <tool command="clang" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.1973642167" name="C Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.c.compiler">
+ <option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.1555041156" 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.849385886" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" valueType="enumerated"/>
+ <option defaultValue="false" id="sbi.gnu.c.compiler.option.misc.pic.core.1930961785" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/>
+ <option id="sbi.gnu.c.compiler.option.561987002" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
+ <listOptionValue builtIn="false" value="mobile-3.0-device64.core_llvm37.aarch64.core.app"/>
</option>
- <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.1117277018" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.core" valueType="includePath">
+ <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.153399344" 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/EGL""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES3""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/KHR""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/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/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/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/tzsh""/>
<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/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/lib/dbus-1.0/include""/>
- <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib64/dbus-1.0/include""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib64/glib-2.0/include""/>
</option>
- <option id="sbi.gnu.c.compiler.option.frameworks_cflags.core.1411466493" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.core" valueType="stringList">
+ <option id="sbi.gnu.c.compiler.option.frameworks_cflags.core.1209741662" 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"/>
- <listOptionValue builtIn="false" value="-fvisibility=hidden"/>
</option>
- <option id="gnu.c.compiler.option.include.paths.354937304" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
+ <option id="gnu.c.compiler.option.include.paths.1037056473" 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.898273048" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.core" valueType="userObjs">
+ <option id="sbi.gnu.c.compiler.option.frameworks.core.2129080767" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.core" valueType="userObjs">
<listOptionValue builtIn="false" value="Native_API"/>
</option>
- <option id="gnu.c.compiler.option.preprocessor.def.symbols.1891963502" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
- <listOptionValue builtIn="false" value="_DEBUG"/>
- </option>
- <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1841068064" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1100904518" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
- <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.1179655926" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
- <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.2062465559" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker">
- <option defaultValue="true" id="sbi.gnu.cpp.linker.option.shared_flag.core.247145069" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" valueType="boolean"/>
- <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.447627882" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.core" valueType="stringList">
+ <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.2026815586" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.1222311846" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker">
+ <option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.915783248" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" valueType="boolean"/>
+ <option defaultValue="false" id="sbi.gnu.cpp.linker.option.noundefined.core.563449011" name="Report unresolved symbol references (-Wl,--no-undefined)" superClass="sbi.gnu.cpp.linker.option.noundefined.core" valueType="boolean"/>
+ <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.996479189" 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="-lpthread "/>
+ <listOptionValue builtIn="false" value="-pie -lpthread "/>
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
- <listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib""/>
+ <listOptionValue builtIn="false" value="-Xlinker --version-script="${PROJ_PATH}/.exportMap""/>
+ <listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib64""/>
<listOptionValue builtIn="false" value="$(RS_LIBRARIES)"/>
</option>
- <option id="gnu.cpp.link.option.paths.319591227" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
+ <option id="gnu.cpp.link.option.paths.692103202" 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.1111179526" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.359597726" 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.935975851" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
- <inputType id="cdt.managedbuild.tool.gnu.assembler.input.571718939" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+ <tool command="aarch64-linux-gnu-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.1833482228" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1183279195" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
- <tool id="org.tizen.nativecore.tool.fnmapgen.1633586894" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/>
- <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.1380366418" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/>
- <tool id="org.tizen.nativecore.tool.ast.1866519439" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/>
- <tool id="org.tizen.nativecore.tool.ast.cpp.1710405282" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/>
- <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.932729957" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>
- <tool id="org.tizen.nativecore.tool.sbi.po.compiler.1698727611" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>
- <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.1808597287" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"/>
+ <tool id="org.tizen.nativecore.tool.fnmapgen.975581760" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/>
+ <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.941557796" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/>
+ <tool id="org.tizen.nativecore.tool.ast.157043960" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/>
+ <tool id="org.tizen.nativecore.tool.ast.cpp.1330987341" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/>
+ <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.788468064" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>
+ <tool id="org.tizen.nativecore.tool.sbi.po.compiler.2126114409" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>
+ <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.1577321634" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"/>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="res"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="shared"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
</sourceEntries>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
- <cconfiguration id="org.tizen.nativecore.config.sbi.gcc45.so.release.378888227">
- <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.so.release.378888227" moduleId="org.eclipse.cdt.core.settings" name="Release">
+ <cconfiguration id="org.tizen.nativecore.config.sbi.gcc45.app.release.12154468">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.release.12154468" 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.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.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
- <configuration artifactExtension="so" artifactName="tbt-ime" buildArtefactType="org.tizen.nativecore.buildArtefactType.sharedLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.sharedLib" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.so.release.378888227" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.so.release">
- <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.so.release.378888227." name="/" resourcePath="">
- <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.so.release.1393115333" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.so.release">
- <targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.487924695" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
- <builder buildPath="${workspace_loc:/tbt-ime}/Release" id="org.tizen.nativecore.target.sbi.gnu.builder.148516684" 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.996147863" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>
- <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.2081129476" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">
- <option id="gnu.cpp.compiler.option.optimization.level.558583914" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
- <option id="sbi.gnu.cpp.compiler.option.debugging.level.core.504255190" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core"/>
- <option defaultValue="true" id="sbi.gnu.cpp.compiler.option.misc.pic.core.930399055" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/>
- <option id="sbi.gnu.cpp.compiler.option.653503122" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
- <listOptionValue builtIn="false" value="mobile-3.0-emulator.core_llvm36.i386.core.sharedLib"/>
+ <configuration artifactName="tbt-ime" 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.12154468" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.app.release">
+ <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.release.12154468." name="/" resourcePath="">
+ <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.release.1654913191" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.release">
+ <targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.389597732" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
+ <builder buildPath="${workspace_loc:/tbt-ime}/Release" id="org.tizen.nativecore.target.sbi.gnu.builder.1589011589" 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.1853522931" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.357344523" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">
+ <option id="gnu.cpp.compiler.option.optimization.level.1479830867" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
+ <option defaultValue="gnu.cpp.compiler.debugging.level.none" id="sbi.gnu.cpp.compiler.option.debugging.level.core.2117637559" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" valueType="enumerated"/>
+ <option defaultValue="false" id="sbi.gnu.cpp.compiler.option.misc.pic.core.1716201641" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/>
+ <option id="sbi.gnu.cpp.compiler.option.1842452136" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
+ <listOptionValue builtIn="false" value="mobile-3.0-emulator.core_llvm37.i386.core.app"/>
</option>
- <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.392735517" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.core" valueType="includePath">
+ <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.944264313" 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/EGL""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES3""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/KHR""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/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/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/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/tzsh""/>
<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/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.1109010788" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.core" valueType="stringList">
+ <option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.core.779679897" 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="-fvisibility=hidden"/>
</option>
- <option id="gnu.cpp.compiler.option.include.paths.1205106589" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+ <option id="gnu.cpp.compiler.option.include.paths.522358686" 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.1390969971" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.core" valueType="userObjs">
+ <option id="sbi.gnu.cpp.compiler.option.frameworks.core.1681772256" 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.834094167" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1233341900" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
- <tool command="clang" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.907541350" 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.1425336777" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
- <option id="sbi.gnu.c.compiler.option.debugging.level.core.349484860" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core"/>
- <option defaultValue="true" id="sbi.gnu.c.compiler.option.misc.pic.core.1513605896" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/>
- <option id="sbi.gnu.c.compiler.option.1742312192" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
- <listOptionValue builtIn="false" value="mobile-3.0-emulator.core_llvm36.i386.core.sharedLib"/>
+ <tool command="clang" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.51472008" 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.1370607460" 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.2103803023" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" valueType="enumerated"/>
+ <option defaultValue="false" id="sbi.gnu.c.compiler.option.misc.pic.core.34953150" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/>
+ <option id="sbi.gnu.c.compiler.option.1649066018" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
+ <listOptionValue builtIn="false" value="mobile-3.0-emulator.core_llvm37.i386.core.app"/>
</option>
- <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.1223882123" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.core" valueType="includePath">
+ <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.532311213" 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/EGL""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES3""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/KHR""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/attach-panel""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/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/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/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/tzsh""/>
<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/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.1266965973" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.core" valueType="stringList">
+ <option id="sbi.gnu.c.compiler.option.frameworks_cflags.core.262056347" 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="-fvisibility=hidden"/>
</option>
- <option id="gnu.c.compiler.option.include.paths.1883058509" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
+ <option id="gnu.c.compiler.option.include.paths.1399211644" 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.2062997324" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.core" valueType="userObjs">
+ <option id="sbi.gnu.c.compiler.option.frameworks.core.672011226" 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.1682206291" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.893384836" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
- <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.687233780" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
- <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.1505019928" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker">
- <option defaultValue="true" id="sbi.gnu.cpp.linker.option.shared_flag.core.1650073204" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" valueType="boolean"/>
- <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.95130633" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.core" valueType="stringList">
+ <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.836702150" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.1538042176" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker">
+ <option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.2063733139" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" valueType="boolean"/>
+ <option defaultValue="false" id="sbi.gnu.cpp.linker.option.noundefined.core.1591671222" name="Report unresolved symbol references (-Wl,--no-undefined)" superClass="sbi.gnu.cpp.linker.option.noundefined.core" valueType="boolean"/>
+ <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.1677422957" 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="-lpthread "/>
+ <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.674727575" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
+ <option id="gnu.cpp.link.option.paths.743306361" 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.1863644489" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.743560201" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
- <tool command="i386-linux-gnueabi-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.129760755" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
- <inputType id="cdt.managedbuild.tool.gnu.assembler.input.2046353299" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+ <tool command="i386-linux-gnueabi-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.2116811859" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1702460928" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
- <tool id="org.tizen.nativecore.tool.fnmapgen.1632737399" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/>
- <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.1601235134" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/>
- <tool id="org.tizen.nativecore.tool.ast.1602575" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/>
- <tool id="org.tizen.nativecore.tool.ast.cpp.266133060" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/>
- <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.2067073324" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>
- <tool id="org.tizen.nativecore.tool.sbi.po.compiler.852974085" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>
- <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.1368279568" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"/>
+ <tool id="org.tizen.nativecore.tool.fnmapgen.654550768" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/>
+ <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.242920103" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/>
+ <tool id="org.tizen.nativecore.tool.ast.581763277" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/>
+ <tool id="org.tizen.nativecore.tool.ast.cpp.134543298" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/>
+ <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.642025578" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>
+ <tool id="org.tizen.nativecore.tool.sbi.po.compiler.1090887873" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>
+ <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.702220785" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"/>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="res"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="shared"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
</sourceEntries>
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
- <project id="tbt-ime.org.tizen.nativecore.target.sbi.gcc45.so.1668575349" name="Tizen Native Shared Library" projectType="org.tizen.nativecore.target.sbi.gcc45.so"/>
+ <project id="tbt-ime.org.tizen.nativecore.target.sbi.gcc45.app.882801660" 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.so.debug.767412284">
+ <scannerConfigBuildInfo instanceId="org.tizen.nativecore.config.sbi.gcc45.app.release.12154468">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
- <scannerConfigBuildInfo instanceId="org.tizen.nativecore.config.sbi.gcc45.so.release.378888227">
+ <scannerConfigBuildInfo instanceId="org.tizen.nativecore.config.sbi.gcc45.app.debug.488805373">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="refreshScope"/>
- <storageModule moduleId="com.samsung.tizen.nativeapp.projectInfo" version="1.0.0"/>
</cproject>
*
*/
-
-
#include <stdlib.h>
#include <string.h>
#include <Elementary.h>
#include <inputmethod.h>
#include "tbt-ime.h"
#include "logger.h"
+#include <app.h>
+#include <efl_extension.h>
-#ifdef LOG_TAG
-#undef LOG_TAG
-#endif
-#define LOG_TAG "IME_TBT"
+#define SAFE_DELETE(a) if( (a) != NULL ) free (a); (a) = NULL;
+#define EDJ_FILE "edje/tbt_ime.edj"
+#define GRP_MAIN "main"
+#define GRP_1 "group_1"
+#define GRP_2 "group_2"
-static Evas_Object *info;
+static Evas_Object* layout = NULL;
static char MSG[100];
static int Mlayout = -1;
static int Mlvar = -1;
Elm_Input_Panel_Layout ime_layout;
Evas_Object *option_window;
Eina_List *list;
+ bool is_device_input_event_set;
+ Evas_Object* rotation_info_btn;
}ime_data;
static void ise_template_terminate_cb(void *user_data);
static void ise_template_show_cb(int ic, ime_context_h context, void *user_data);
static void ise_template_hide_cb(int ic, void *user_data);
-
static void ise_template_cursor_position_updated_cb(int cursor_pos, void *user_data);
static void ise_template_surrounding_text_updated_cb(int ic, const char *text, int cursor, void *user_data);
static void ise_template_focus_out_cb(int ic, void *user_data);
static void ise_template_accessibility_state_changed_cb(bool state, void *user_data);
static void ise_template_option_window_created_cb(Evas_Object *window, ime_option_window_type_e type, void *user_data);
static void ise_template_option_window_destroyed_cb(Evas_Object *window, void *user_data);
+static char *format_string(const char *format, ...);
+static char* get_ecore_imf_device_subclass(Ecore_IMF_Device_Subclass e);
+static char* get_ecore_imf_device_class(Ecore_IMF_Device_Class e);
+static void _enter_key_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED);
/**
*/
static char* _get_ime_error(int ret)
{
-
-switch(ret)
-{
+ switch (ret)
+ {
case IME_ERROR_INVALID_PARAMETER:
- return "IME_ERROR_INVALID_PARAMETER";
-
+ return "IME_ERROR_INVALID_PARAMETER";
case IME_ERROR_NO_CALLBACK_FUNCTION:
- return "IME_ERROR_NO_CALLBACK_FUNCTION";
-
+ return "IME_ERROR_NO_CALLBACK_FUNCTION";
case IME_ERROR_PERMISSION_DENIED:
- return "IME_ERROR_PERMISSION_DENIED";
-
+ return "IME_ERROR_PERMISSION_DENIED";
case IME_ERROR_NOT_RUNNING:
- return "IME_ERROR_NOT_RUNNING";
-
+ return "IME_ERROR_NOT_RUNNING";
case IME_ERROR_NONE:
- return "IME_ERROR_NONE";
-
+ return "IME_ERROR_NONE";
case IME_ERROR_OPERATION_FAILED:
- return "IME_ERROR_OPERATION_FAILED";
+ return "IME_ERROR_OPERATION_FAILED";
}
return NULL;
static void _button_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
int result;
- char *str = elm_object_text_get(obj);
-
- int i;
- int start = -1;
- int end = -1;
- int index = 0 ;
- char txt[10];
- for(i = 0; i < strlen(str); i++)
- {
- if(str[i] == '>')
- {
- start = i +1 ;
- int j;
- for(j =start; str[j]!= '<'; j++)
- {
- dlog_print(DLOG_DEBUG, LOG_TAG,"Comitting: %c",str[j]);
- txt[index++] = str[j];
- }
- txt[index] = '\0';
- dlog_print(DLOG_DEBUG, LOG_TAG,"Comit str: %s",txt);
- break;
- }
- }
-
- result = ime_commit_string(txt);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_commit_string %s",_get_ime_error(result));
-
+ const char *str = elm_object_text_get(obj);
+ DBG("text: %s", str);
+ result = ime_commit_string(str);
+ DBG("ime_commit_string %s",_get_ime_error(result));
}
static void _back_key_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
int ret = ime_create_option_window();
- dlog_print(DLOG_DEBUG, LOG_TAG, "ime_create_option_window :%s",_get_ime_error(ret));
RETM_IF(IME_ERROR_NONE!=ret, "ime_create_option_window fails :%s",_get_ime_error(ret));
ret = ime_send_key_event(IME_KEY_BackSpace, IME_KEY_MASK_PRESSED, false);
- dlog_print(DLOG_DEBUG, LOG_TAG, "ime_send_key_event :%s",_get_ime_error(ret));
RETM_IF(IME_ERROR_NONE!=ret, "ime_send_key_event fails :%s",_get_ime_error(ret));
ret = ime_send_key_event(IME_KEY_BackSpace, IME_KEY_MASK_RELEASED, false);
- dlog_print(DLOG_DEBUG, LOG_TAG, "ime_send_key_event :%s",_get_ime_error(ret));
RETM_IF(IME_ERROR_NONE!=ret, "ime_send_key_event fails :%s",_get_ime_error(ret));
}
static void _space_key_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
int ret = ime_create_option_window();
- dlog_print(DLOG_DEBUG, LOG_TAG, "ime_create_option_window :%d",ret);
_get_ime_error(ret);
ret = ime_send_key_event(IME_KEY_space, IME_KEY_MASK_PRESSED, true);
- dlog_print(DLOG_DEBUG, LOG_TAG, "ime_send_key_event :%s",_get_ime_error(ret));
RETM_IF(IME_ERROR_NONE!=ret, "ime_send_key_event fails :%s",_get_ime_error(ret));
ret = ime_send_key_event(IME_KEY_space, IME_KEY_MASK_RELEASED, true);
- dlog_print(DLOG_DEBUG, LOG_TAG, "ime_send_key_event :%s",_get_ime_error(ret));
RETM_IF(IME_ERROR_NONE!=ret, "ime_send_key_event fails :%s",_get_ime_error(ret));
}
-/**
- * @function _enter_key_clicked
- * @since_tizen 2.3
- * @description Enter Key Clicked
- * @parameter void*: Void Pointer, Evas_Object*: Evas Object Pointer, void*: Void Pointer
- * @return static void
- */
-static void _enter_key_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
-{
- int ret = ime_create_option_window();
- dlog_print(DLOG_DEBUG, LOG_TAG, "ime_create_option_window :%d",ret);
- _get_ime_error(ret);
- ret = ime_send_key_event(IME_KEY_Return, IME_KEY_MASK_PRESSED, true);
- dlog_print(DLOG_DEBUG, LOG_TAG, "ime_send_key_event :%s",_get_ime_error(ret));
- RETM_IF(IME_ERROR_NONE!=ret, "ime_send_key_event fails :%s",_get_ime_error(ret));
- ret = ime_send_key_event(IME_KEY_Return, IME_KEY_MASK_RELEASED, true);
- dlog_print(DLOG_DEBUG, LOG_TAG, "ime_send_key_event :%s",_get_ime_error(ret));
- RETM_IF(IME_ERROR_NONE!=ret, "ime_send_key_event fails :%s",_get_ime_error(ret));
-}
/**
* @function _get_surrounding_key_clicked
*/
static void _get_surrounding_key_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"Get surrounding text");
+ DBG("Get surrounding text");
int ret = ime_request_surrounding_text(-1, -1);
RETM_IF(IME_ERROR_NONE!=ret, "ime_send_key_event fails :%s",_get_ime_error(ret));
}
*/
static void _delete_surrounding_key_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"Delete surrounding text");
- int ret = ime_delete_surrounding_text(-1, 1);
- dlog_print(DLOG_DEBUG, LOG_TAG, "ime_send_key_event :%s",_get_ime_error(ret));
- RETM_IF(IME_ERROR_NONE!=ret, "ime_send_key_event fails :%s",_get_ime_error(ret));
+ DBG("Delete surrounding text");
+ int ret = ime_delete_surrounding_text(-1, 1);
+ RETM_IF(IME_ERROR_NONE!=ret, "ime_send_key_event fails :%s",_get_ime_error(ret));
}
*/
static void _preedit_on_key_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"On Preedit text");
- ime_data *this = (ime_data*)data;
- RETM_IF(!this, "data is NULL");
- int ret;
- ret = ime_show_preedit_string();
- dlog_print(DLOG_DEBUG, LOG_TAG , " ime_show_preedit_string : %s", _get_ime_error(ret));
- RETM_IF(IME_ERROR_NONE!=ret, "ime_show_preedit_string fails :%s",_get_ime_error(ret));
- this->list = NULL;
-
- ime_preedit_attribute *attr = calloc(1, sizeof (ime_preedit_attribute));
- RETM_IF(!attr, "calloc failed");
- attr->start = 0;
- attr->length = 1;
- attr->type = IME_ATTR_FONTSTYLE;
- attr->value = IME_ATTR_FONTSTYLE_UNDERLINE;
- this->list = eina_list_append(this->list, attr);
-
- attr = calloc(1, sizeof (ime_preedit_attribute));
- RETM_IF(!attr, "calloc failed");
- attr->start = 1;
- attr->length = 1;
- attr->type = IME_ATTR_FONTSTYLE;
- attr->value = IME_ATTR_FONTSTYLE_HIGHLIGHT;
- this->list = eina_list_append(this->list, attr);
-
- attr = calloc(1, sizeof (ime_preedit_attribute));
- RETM_IF(!attr, "calloc failed");
- attr->start = 2;
- attr->length = 1;
- attr->type = IME_ATTR_FONTSTYLE;
- attr->value = IME_ATTR_FONTSTYLE_REVERSAL;
- this->list = eina_list_append(this->list, attr);
-
- ret = ime_update_preedit_string("abcd", this->list);
- dlog_print(DLOG_DEBUG, LOG_TAG , " ime_update_preedit_string : %s",_get_ime_error(ret));
- RETM_IF(IME_ERROR_NONE!=ret, "ime_update_preedit_string fails :%s",_get_ime_error(ret));
- if (ret != IME_ERROR_NONE) {
-
- EINA_LIST_FREE(this->list, attr)
- free(attr);
- }
+ DBG("On Preedit text");
+ ime_data *this = (ime_data*)data;
+ RETM_IF(!this, "data is NULL");
+ int ret;
+ ret = ime_show_preedit_string();
+ RETM_IF(IME_ERROR_NONE!=ret, "ime_show_preedit_string fails :%s",_get_ime_error(ret));
+ this->list = NULL;
+
+ ime_preedit_attribute *attr = calloc(1, sizeof (ime_preedit_attribute));
+ RETM_IF(!attr, "calloc failed");
+ attr->start = 0;
+ attr->length = 1;
+ attr->type = IME_ATTR_FONTSTYLE;
+ attr->value = IME_ATTR_FONTSTYLE_UNDERLINE;
+ this->list = eina_list_append(this->list, attr);
+
+ attr = calloc(1, sizeof (ime_preedit_attribute));
+ RETM_IF(!attr, "calloc failed");
+ attr->start = 1;
+ attr->length = 1;
+ attr->type = IME_ATTR_FONTSTYLE;
+ attr->value = IME_ATTR_FONTSTYLE_HIGHLIGHT;
+ this->list = eina_list_append(this->list, attr);
+
+ attr = calloc(1, sizeof (ime_preedit_attribute));
+ RETM_IF(!attr, "calloc failed");
+ attr->start = 2;
+ attr->length = 1;
+ attr->type = IME_ATTR_FONTSTYLE;
+ attr->value = IME_ATTR_FONTSTYLE_REVERSAL;
+ this->list = eina_list_append(this->list, attr);
+
+ ret = ime_update_preedit_string("abcd", this->list);
+ RETM_IF(IME_ERROR_NONE!=ret, "ime_update_preedit_string fails :%s",_get_ime_error(ret));
+ if (ret != IME_ERROR_NONE)
+ {
+ EINA_LIST_FREE(this->list, attr)
+ SAFE_DELETE(attr);
+ }
}
*/
static void _preedit_off_key_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"On Preedit text");
+ DBG("On Preedit text");
int ret = ime_hide_preedit_string();
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_hide_preedit_string %s",_get_ime_error(ret));
RETM_IF(IME_ERROR_NONE!=ret, "ime_hide_preedit_string fails :%s",_get_ime_error(ret));
}
*/
static Evas_Object *_create_key_button(Evas_Object *parent, char *str)
{
+ DBG("_create_key_button");
char *markup_str = NULL;
-
Evas_Object *btn = elm_button_add(parent);
+ elm_object_style_set(btn, "default");
evas_object_size_hint_weight_set(btn, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- evas_object_size_hint_align_set(btn, EVAS_HINT_FILL, EVAS_HINT_FILL);
- if (str) {
+ if (str)
+ {
markup_str = elm_entry_utf8_to_markup(str);
-
- if (markup_str) {
- char buf[100] ;
- snprintf(buf, sizeof(buf), "<font=Sans:style=Regular font_size=20>%s</font/>", markup_str);
- elm_object_text_set(btn, buf);
- free(markup_str);
- markup_str = NULL;
+ if (markup_str)
+ {
+ elm_object_text_set(btn, markup_str);
+ SAFE_DELETE(markup_str);
}
}
-
- //elm_object_focus_allow_set(btn, EINA_FALSE);
evas_object_show(btn);
-
return btn;
}
+void view_init_keypad_theme(char *th)
+{
+ elm_theme_overlay_add(NULL, th);
+ elm_theme_extension_add(NULL, th);
+}
+
+
+void data_get_resource_path(const char *file_in, char *file_path_out, int file_path_max)
+{
+ char *res_path = app_get_resource_path();
+ if (res_path) {
+ snprintf(file_path_out, file_path_max, "%s%s", res_path, file_in);
+ free(res_path);
+ }
+}
+
+static Evas_Object *view_create_layout(Evas_Object *parent, const char *file_path, const char *group_name, Eext_Event_Cb cb_function, void *user_data)
+{
+ DBG("view_create_layout");
+ Evas_Object *layout = NULL;
+ if (parent == NULL)
+ {
+ dlog_print(DLOG_ERROR, LOG_TAG, "parent is NULL.");
+ return NULL;
+ }
+ /* Create layout by EDC(edje file) */
+ layout = elm_layout_add(parent);
+ elm_layout_file_set(layout, file_path, group_name);
+ /* Layout size setting */
+ evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ if (cb_function)
+ eext_object_event_callback_add(layout, EEXT_CALLBACK_BACK, cb_function, user_data);
+ evas_object_show(layout);
+
+ return layout;
+}
+
+static void _enter_key_clicked(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
+{
+ int ret = ime_create_option_window();
+ DBG("ime_create_option_window :%d",ret);
+ _get_ime_error(ret);
+ ret = ime_send_key_event(IME_KEY_Return, IME_KEY_MASK_PRESSED, true);
+ DBG("ime_send_key_event :%s",_get_ime_error(ret));
+ RETM_IF(IME_ERROR_NONE!=ret, "ime_send_key_event fails :%s",_get_ime_error(ret));
+ ret = ime_send_key_event(IME_KEY_Return, IME_KEY_MASK_RELEASED, true);
+ DBG("ime_send_key_event :%s",_get_ime_error(ret));
+ RETM_IF(IME_ERROR_NONE!=ret, "ime_send_key_event fails :%s",_get_ime_error(ret));
+}
+
/**
* @function ise_template_create_cb
*/
static void ise_template_create_cb(void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"Create");
+ DBG("Create");
ime_data *data = (ime_data*)user_data;
unsigned int i = 0;
-
- Evas_Object *btn = NULL;
- int w, h;
- int ret;
-
- Evas_Object *ime_win = ime_get_main_window();
- if (!ime_win) {
- DBG("Can't get main window: %d", get_last_result);
- return;
- }
-
- elm_win_screen_size_get(ime_win, NULL, NULL, &w, &h);
- evas_object_resize(ime_win, w, h);
- //evas_object_resize(ime_win, 480, 800);
-
- ret = ime_set_size(w, h*2/5, h, w*3/5);
- RETM_IF(IME_ERROR_NONE!=ret, "ime_set_size failed %s:",_get_ime_error(ret));
- dlog_print(DLOG_DEBUG, LOG_TAG,"w=%d, h=%d", w, h);
-
- Evas_Object *bg = elm_bg_add(ime_win);
- evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- evas_object_size_hint_align_set(bg, EVAS_HINT_FILL, EVAS_HINT_FILL);
- elm_win_resize_object_add(ime_win, bg);
- evas_object_show(bg);
-
- Evas_Object *table = elm_table_add(ime_win);
- evas_object_move(table, 20, h*2/5);
- elm_win_resize_object_add(ime_win, table);
-
- if(data->ime_layout == ELM_INPUT_PANEL_LAYOUT_NUMBER)
+ Evas_Object *btn = NULL;
+ int w, h;
+ char* str;
+ Evas_Object *ime_win;
+ ime_win = ime_get_main_window();
+ RETM_IF(!ime_win, "Can't get main window: %d", get_last_result());
+ elm_win_screen_size_get(ime_win, NULL, NULL, &w, &h);
+ ime_set_size(w, h*2/5, h, w*2/5);
+
+ Evas_Object *bg = elm_bg_add(ime_win);
+ evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ elm_win_resize_object_add(ime_win, bg);
+ evas_object_show(bg);
+
+ data->is_device_input_event_set = false;
+
+ char file_path[PATH_MAX] = { 0, };
+ /* Get the path of EDJ file */
+ data_get_resource_path(EDJ_FILE, file_path, sizeof(file_path));
+ DBG("EDC FILE PATH: %s", file_path);
+ /* Initialize the new theme using EDJ file */
+ view_init_keypad_theme(file_path);
+
+
+ if(data->ime_layout == ELM_INPUT_PANEL_LAYOUT_NUMBER)
{
+ layout = view_create_layout(ime_win, file_path, GRP_MAIN, NULL, NULL);
// row 1
- // char *keypad_row1[] = {"q", "w", "e", "r", "t", "y", "u"};
char *keypad_row1[] = {"1", "2", "3"};
- for (i=0; i < sizeof(keypad_row1)/sizeof(keypad_row1[0]); i++) {
- btn = _create_key_button(table, keypad_row1[i]);
+ for (i=0; i < sizeof(keypad_row1)/sizeof(keypad_row1[0]); i++)
+ {
+ btn = _create_key_button(layout, keypad_row1[i]);
evas_object_smart_callback_add(btn, "clicked", _button_clicked, NULL);
- elm_table_pack(table, btn, i, 0, 1, 1);
+ str = format_string("%s%d%d", "btn_", 0, i);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
}
-
- btn = _create_key_button(table, "<-BACK");
+ btn = _create_key_button(layout, "←");
evas_object_smart_callback_add(btn, "clicked", _back_key_clicked, NULL);
- elm_table_pack(table, btn, i, 0, 2, 1);
+ str = format_string("%s%d%d", "btn_", 0, i);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
// row 2
- //char *keypad_row2[] = {"a", "s", "d", "f", "g", "h", "j", "k", "l"};
char *keypad_row2[] = {"4", "5", "6", "0"};
- for (i=0; i < sizeof(keypad_row2)/sizeof(keypad_row2[0]); i++) {
- btn = _create_key_button(table, keypad_row2[i]);
+ for (i=0; i < sizeof(keypad_row2)/sizeof(keypad_row2[0]); i++)
+ {
+ btn = _create_key_button(layout, keypad_row2[i]);
evas_object_smart_callback_add(btn, "clicked", _button_clicked, NULL);
- elm_table_pack(table, btn, i, 1, 1, 1);
+ str = format_string("%s%d%d", "btn_", 1, i);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
}
// Add get surrounding text key
- btn = _create_key_button(table, "GS");
+ btn = _create_key_button(layout, "GS");
evas_object_smart_callback_add(btn, "clicked", _get_surrounding_key_clicked, NULL);
- elm_table_pack(table, btn, i, 1, 1, 1);
+ str = format_string("%s%d%d", "btn_", 1, i);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
// row 3
- //char *keypad_row3[] = {"z", "x", "c", "v", "b", "n", "m"};
char *keypad_row3[] = {"7", "8", "9"};
- for (i=0; i < sizeof(keypad_row3)/sizeof(keypad_row3[0]); i++) {
- Evas_Object *btn = _create_key_button(table, keypad_row3[i]);
+ for (i=0; i < sizeof(keypad_row3)/sizeof(keypad_row3[0]); i++)
+ {
+ Evas_Object *btn = _create_key_button(layout, keypad_row3[i]);
evas_object_smart_callback_add(btn, "clicked", _button_clicked, NULL);
- elm_table_pack(table, btn, i, 2, 1, 1);
+ str = format_string("%s%d%d", "btn_", 2, i);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
}
// Add delete surrounding text key
- btn = _create_key_button(table, "DS");
+ btn = _create_key_button(layout, "DS");
evas_object_smart_callback_add(btn, "clicked", _delete_surrounding_key_clicked, NULL);
- elm_table_pack(table, btn, 3, 2, 1, 1);
-
+ str = format_string("%s%d%d", "btn_", 2, i);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
// Add space key
- btn = _create_key_button(table, "Spc");
+ btn = _create_key_button(layout, "␣");
evas_object_smart_callback_add(btn, "clicked", _space_key_clicked, NULL);
- elm_table_pack(table, btn, 4, 2, 1, 1);
+ str = format_string("%s%d%d", "btn_", 2, i+1);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
// row 4
-
- btn = _create_key_button(table, (data->info_msg == NULL)?"INFO":data->info_msg);
- elm_table_pack(table, btn, 0, 3, 5, 1);
+ btn = _create_key_button(layout, (data->info_msg == NULL)?"INFO":data->info_msg);
+ str = format_string("%s%d%d", "btn_", 3, 0);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
}
else if(data->ime_layout == ELM_INPUT_PANEL_LAYOUT_NORMAL)
{
+ layout = view_create_layout(ime_win, file_path, GRP_MAIN, NULL, NULL);
// row 1
- // char *keypad_row1[] = {"q", "w", "e", "r", "t", "y", "u"};
char *keypad_row1[] = {"a", "b", "c"};
- for (i=0; i < sizeof(keypad_row1)/sizeof(keypad_row1[0]); i++) {
- btn = _create_key_button(table, keypad_row1[i]);
+ for (i=0; i < sizeof(keypad_row1)/sizeof(keypad_row1[0]); i++)
+ {
+ btn = _create_key_button(layout, keypad_row1[i]);
evas_object_smart_callback_add(btn, "clicked", _button_clicked, NULL);
- elm_table_pack(table, btn, i, 0, 1, 1);
+ str = format_string("%s%d%d", "btn_", 0, i);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
}
-
// Add backspace key
- btn = _create_key_button(table, "<-BACK");
+ btn = _create_key_button(layout, "←");
evas_object_smart_callback_add(btn, "clicked", _back_key_clicked, NULL);
- elm_table_pack(table, btn, i, 0, 2, 1);
+ str = format_string("%s%d%d", "btn_", 0, i);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
// row 2
- //char *keypad_row2[] = {"a", "s", "d", "f", "g", "h", "j", "k", "l"};
char *keypad_row2[] = {"d", "e", "f"};
- for (i=0; i < sizeof(keypad_row2)/sizeof(keypad_row2[0]); i++) {
- btn = _create_key_button(table, keypad_row2[i]);
+ for (i=0; i < sizeof(keypad_row2)/sizeof(keypad_row2[0]); i++)
+ {
+ btn = _create_key_button(layout, keypad_row2[i]);
evas_object_smart_callback_add(btn, "clicked", _button_clicked, NULL);
- elm_table_pack(table, btn, i, 1, 1, 1);
+ str = format_string("%s%d%d", "btn_", 1, i);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
}
- // Add delete surrounding text key
- btn = _create_key_button(table, "Enter");
+
+ //Add get return text key
+ btn = _create_key_button(layout, "⏎");
evas_object_smart_callback_add(btn, "clicked", _enter_key_clicked, NULL);
- elm_table_pack(table, btn, i++, 1, 1, 1);
+ str = format_string("%s%d%d", "btn_", 1, i);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
+
// Add get surrounding text key
- btn = _create_key_button(table, "Prid On");
+ btn = _create_key_button(layout, "Prid On");
evas_object_smart_callback_add(btn, "clicked", _preedit_on_key_clicked, data);
- elm_table_pack(table, btn, i, 1, 1, 1);
+ str = format_string("%s%d%d", "btn_", 1, i+1);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
// row 3
- //char *keypad_row3[] = {"z", "x", "c", "v", "b", "n", "m"};
char *keypad_row3[] = {"h", "i", "t"};
- for (i=0; i < sizeof(keypad_row3)/sizeof(keypad_row3[0]); i++) {
- Evas_Object *btn = _create_key_button(table, keypad_row3[i]);
+ for (i=0; i < sizeof(keypad_row3)/sizeof(keypad_row3[0]); i++)
+ {
+ Evas_Object *btn = _create_key_button(layout, keypad_row3[i]);
evas_object_smart_callback_add(btn, "clicked", _button_clicked, NULL);
- elm_table_pack(table, btn, i, 2, 1, 1);
+ str = format_string("%s%d%d", "btn_", 2, i);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
}
// Add delete surrounding text key
- btn = _create_key_button(table, "Prid Off");
+ btn = _create_key_button(layout, "Prid Off");
evas_object_smart_callback_add(btn, "clicked", _preedit_off_key_clicked, NULL);
- elm_table_pack(table, btn, i++, 2, 1, 1);
+ str = format_string("%s%d%d", "btn_", 2, i);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
// Add space key
- btn = _create_key_button(table, "Spc");
+ btn = _create_key_button(layout, "␣");
evas_object_smart_callback_add(btn, "clicked", _space_key_clicked, NULL);
- elm_table_pack(table, btn, i, 2, 1, 1);
+ str = format_string("%s%d%d", "btn_", 2, i+1);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
// row 4
-
- btn = _create_key_button(table, (data->info_msg == NULL)?"INFO":data->info_msg);
- //btn = _create_key_button(table, (MSG == NULL)?"INFO":MSG);
- elm_table_pack(table, btn, 0, 3, 5, 1);
+ btn = _create_key_button(layout, (data->info_msg == NULL)?"INFO":data->info_msg);
+ str = format_string("%s%d%d", "btn_", 3, 0);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
}
else if(data->ime_layout == ELM_INPUT_PANEL_LAYOUT_IP)
{
+ layout = view_create_layout(ime_win, file_path, GRP_2, NULL, NULL);
if(data->info_msg)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"MSG ;%s", MSG);
+ DBG("MSG :%s", MSG);
}
- //btn = _create_key_button(table, (data->info_msg == NULL)?"INFO":data->info_msg);
- btn = _create_key_button(table, (MSG[0] == NULL)?"INFO":MSG);
- elm_table_pack(table, btn, 0, 0, 1, 1);
+ RETM_IF(NULL == data->info_msg, "Message is NULL");
+ btn = _create_key_button(layout, ((char*)MSG == NULL || strlen(MSG) == 0)?data->info_msg:MSG);
+ str = format_string("%s%d%d", "btn_", 0, 0);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
}
else if(data->ime_layout == ELM_INPUT_PANEL_LAYOUT_HEX)
{
- // char *keypad_row1[] = {"q", "w", "e", "r", "t", "y", "u"};
-
+ layout = view_create_layout(ime_win, file_path, GRP_1, NULL, NULL);
//row 1
i = 0;
-
- btn = _create_key_button(table, (Mlayout >= 0)?"Pass":"Fail");
- elm_table_pack(table, btn, i++, 0, 1, 1);
-
-
- btn = _create_key_button(table, (Mlvar >= 0)?"Pass":"Fail");
- elm_table_pack(table, btn, i++, 0, 1, 1);
-
- btn = _create_key_button(table, (Mcursor >= 0)?"Pass":"Fail");
- elm_table_pack(table, btn, i++, 0, 1, 1);
+ btn = _create_key_button(layout, (Mlayout >= 0)?"Pass":"Fail");
+ //elm_table_pack(table, btn, i++, 0, 1, 1);
+ str = format_string("%s%d%d", "btn_", 0, i++);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
+ btn = _create_key_button(layout, (Mlvar >= 0)?"Pass":"Fail");
+ //elm_table_pack(table, btn, i++, 0, 1, 1);
+ str = format_string("%s%d%d", "btn_", 0, i++);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
+ btn = _create_key_button(layout, (Mcursor >= 0)?"Pass":"Fail");
+ //elm_table_pack(table, btn, i++, 0, 1, 1);
+ str = format_string("%s%d%d", "btn_", 0, i++);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
//row 2
i = 0;
- btn = _create_key_button(table, (Mautocap >= 0)?"Pass":"Fail");
- elm_table_pack(table, btn, i++, 1, 1, 1);
-
- btn = _create_key_button(table, (Mrkeytype >= 0)?"Pass":"Fail");
- elm_table_pack(table, btn, i++, 1, 1, 1);
-
- btn = _create_key_button(table, (Mrkeystate >= 0)?"Pass":"Fail");
- elm_table_pack(table, btn, i++, 1, 1, 1);
-
+ btn = _create_key_button(layout, (Mautocap >= 0)?"Pass":"Fail");
+ //elm_table_pack(table, btn, i++, 1, 1, 1);
+ str = format_string("%s%d%d", "btn_", 1, i++);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
+ btn = _create_key_button(layout, (Mrkeytype >= 0)?"Pass":"Fail");
+ //elm_table_pack(table, btn, i++, 1, 1, 1);
+ str = format_string("%s%d%d", "btn_", 1, i++);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
+ btn = _create_key_button(layout, (Mrkeystate >= 0)?"Pass":"Fail");
+ //elm_table_pack(table, btn, i++, 1, 1, 1);
+ str = format_string("%s%d%d", "btn_", 1, i++);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
//row 3
i = 0;
- btn = _create_key_button(table, (Mpred >= 0)?"Pass":"Fail");
- elm_table_pack(table, btn, i++, 2, 1, 1);
-
- btn = _create_key_button(table, (Mpassmod >= 0)?"Pass":"Fail");
- elm_table_pack(table, btn, i++, 2, 1, 1);
-
- btn = _create_key_button(table, (Minhint >= 0)?"Pass":"Fail");
- elm_table_pack(table, btn, i++, 2, 1, 1);
+ btn = _create_key_button(layout, (Mpred >= 0)?"Pass":"Fail");
+ //elm_table_pack(table, btn, i++, 2, 1, 1);
+ str = format_string("%s%d%d", "btn_", 2, i++);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
+ btn = _create_key_button(layout, (Mpassmod >= 0)?"Pass":"Fail");
+ //elm_table_pack(table, btn, i++, 2, 1, 1);
+ str = format_string("%s%d%d", "btn_", 2, i++);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
+ btn = _create_key_button(layout, (Minhint >= 0)?"Pass":"Fail");
+ //elm_table_pack(table, btn, i++, 2, 1, 1);
+ str = format_string("%s%d%d", "btn_", 2, i++);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
//row 4
i = 0;
- btn = _create_key_button(table, (Mbidi >= 0)?"Pass":"Fail");
- elm_table_pack(table, btn, i++, 3, 1, 1);
-
- btn = _create_key_button(table, (Mlanguage >= 0)?"Pass":"Fail");
- elm_table_pack(table, btn, i++, 3, 1, 1);
-
- btn = _create_key_button(table, "Pass");
- elm_table_pack(table, btn, i++, 3, 1, 1);
+ btn = _create_key_button(layout, (Mbidi >= 0)?"Pass":"Fail");
+ //elm_table_pack(table, btn, i++, 3, 1, 1);
+ str = format_string("%s%d%d", "btn_", 3, i++);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
+ btn = _create_key_button(layout, (Mlanguage >= 0)?"Pass":"Fail");
+ //elm_table_pack(table, btn, i++, 3, 1, 1);
+ str = format_string("%s%d%d", "btn_", 3, i++);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
+ btn = _create_key_button(layout, "Pass");
+ //elm_table_pack(table, btn, i++, 3, 1, 1);
+ str = format_string("%s%d%d", "btn_", 3, i++);
+ elm_object_part_content_set(layout, str, btn);
+ SAFE_DELETE(str);
+ }
+ if(layout)
+ {
+ elm_win_resize_object_add(ime_win, layout);
+ evas_object_show(layout);
}
- evas_object_show(table);
}
+
/**
* @function ise_template_terminate_cb
* @since_tizen 2.3
*/
static void ise_template_terminate_cb(void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"Terminate");
+ DBG("Terminate");
ime_data *data = (ime_data *) user_data;
// Release the resources
+ int ret;
+
if(data->option_window)
{
- int ret = ime_destroy_option_window(data->option_window);
+ ret = ime_destroy_option_window(data->option_window);
RETM_IF(IME_ERROR_NONE != ret, "ime_destroy_option_window failed: %s",_get_ime_error(ret));
}
eina_list_free(data->list);
+
}
Ecore_IMF_BiDi_Direction bidi;
Ecore_IMF_Input_Panel_Lang language;
-
- dlog_print(DLOG_DEBUG, LOG_TAG,"Show: %d", ic);
-
+ DBG("Show: %d", ic);
int ret;
if ((ret = ime_context_get_layout(context, &layout)) == IME_ERROR_NONE)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"layout: %d", layout);
+ DBG("layout: %d", layout);
Mlayout = layout;
}
else
}
if ((ret = ime_context_get_layout_variation(context, &layout_variation)) == IME_ERROR_NONE)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"layout variation: %d", layout_variation);
+ DBG("layout variation: %d", layout_variation);
Mlvar = layout_variation;
}
else
}
if ((ret = ime_context_get_cursor_position(context, &cursor_pos)) == IME_ERROR_NONE)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"cursor position: %d", cursor_pos);
+ DBG("cursor position: %d", cursor_pos);
Mcursor = cursor_pos;
}
else
}
if ((ret = ime_context_get_autocapital_type(context, &autocapital_type)) == IME_ERROR_NONE)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"autocapital_type: %d", autocapital_type);
+ DBG("autocapital_type: %d", autocapital_type);
Mautocap = autocapital_type;
}
else
}
if ((ret = ime_context_get_return_key_type(context, &return_key_type)) == IME_ERROR_NONE)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"return_key_type: %d", return_key_type);
+ DBG("return_key_type: %d", return_key_type);
Mrkeytype = return_key_type;
}
else
}
if ((ret = ime_context_get_return_key_state(context, &return_key_state)) == IME_ERROR_NONE)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"return_key_state: %d", return_key_state);
+ DBG("return_key_state: %d", return_key_state);
Mrkeystate = return_key_state;
}
else
}
if ((ret = ime_context_get_prediction_mode(context, &prediction_mode)) == IME_ERROR_NONE)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"prediction_mode: %d", prediction_mode);
+ DBG("prediction_mode: %d", prediction_mode);
Mpred = prediction_mode;
}
else
}
if ((ret = ime_context_get_password_mode(context, &password_mode)) == IME_ERROR_NONE)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"password_mode: %d", password_mode);
+ DBG("password_mode: %d", password_mode);
Mpassmod = password_mode;
}
else
}
if ((ret = ime_context_get_input_hint(context, &input_hint)) == IME_ERROR_NONE)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"input_hint: 0x%04x", input_hint);
+ DBG("input_hint: 0x%04x", input_hint);
Minhint = input_hint;
}
else
}
if ((ret = ime_context_get_bidi_direction(context, &bidi)) == IME_ERROR_NONE)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"bidi: %d", bidi);
+ DBG("bidi: %d", bidi);
Mbidi = bidi;
}
else
}
if ((ret = ime_context_get_language(context, &language)) == IME_ERROR_NONE)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"language: %d", language);
+ DBG("language: %d", language);
Mlanguage = language;
//sprintf(data->info_msg_lang, "language: %d", (int)language);
- data->ime_layout = layout;
+ data->ime_layout = (Elm_Input_Panel_Layout)layout;
if(layout != ELM_INPUT_PANEL_LAYOUT_IP)
{
}
Evas_Object *ime_win = ime_get_main_window();
RETM_IF(NULL == ime_win, "ime_get_main_window failed");
- dlog_print(DLOG_DEBUG, LOG_TAG,"Ingoing MSG: %s", data->info_msg);
- dlog_print(DLOG_DEBUG, LOG_TAG,"In going static MSG: %s", MSG);
+ DBG("Ingoing MSG: %s", data->info_msg);
+ DBG("In going static MSG: %s", MSG);
ise_template_create_cb(data);
evas_object_show(ime_win);
}
*/
static void ise_template_hide_cb(int ic, void *user_data)
{
- ime_data *data = (ime_data*)user_data;
- dlog_print(DLOG_DEBUG, LOG_TAG,"Hide: %d", ic);
-
+ DBG("Hide: %d", ic);
Evas_Object *ime_win = ime_get_main_window();
- RETM_IF(NULL == ime_win, "ime_get_main_window failed");
-
evas_object_hide(ime_win);
}
*/
static void ise_template_cursor_position_updated_cb(int cursor_pos, void *user_data)
{
- ime_data *data = (ime_data*)user_data;
- dlog_print(DLOG_DEBUG, LOG_TAG,"cursor position: %d", cursor_pos);
+ DBG("cursor position: %d", cursor_pos);
}
*/
static void ise_template_surrounding_text_updated_cb(int ic, const char *text, int cursor, void *user_data)
{
- ime_data *data = (ime_data*)user_data;
- dlog_print(DLOG_DEBUG, LOG_TAG,"text: %s, cursor: %d", text, cursor);
+ DBG("text: %s, cursor: %d", text, cursor);
}
*/
static void ise_template_focus_out_cb(int ic, void *user_data)
{
- ime_data *data = (ime_data*)user_data;
- dlog_print(DLOG_DEBUG, LOG_TAG,"focus out: %d", ic);
+ DBG("focus out: %d", ic);
}
*/
static void ise_template_focus_in_cb(int ic, void *user_data)
{
- ime_data *data = (ime_data*)user_data;
- dlog_print(DLOG_DEBUG, LOG_TAG,"focus in: %d", ic);
+ DBG("focus in: %d", ic);
}
*/
static void ise_template_return_key_state_set_cb(bool disabled, void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"Return key disabled: %d", disabled);
+ DBG("Return key disabled: %d", disabled);
// Do a proper action
}
*/
static void ise_template_layout_set_cb(Ecore_IMF_Input_Panel_Layout layout, void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"layout: %d", layout);
+ DBG("layout: %d", layout);
// Do a proper action
}
*/
static bool ise_template_process_key_event_cb(ime_key_code_e keycode, ime_key_mask_e keymask, ime_device_info_h dev_info, void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"keycode=0x%x, keymask=0x%x", keycode, keymask);
+ DBG("keycode=0x%x, keymask=0x%x", keycode, keymask);
- if ((keymask & IME_KEY_MASK_CONTROL) || (keymask & IME_KEY_MASK_ALT) || (keymask & IME_KEY_MASK_META) ||
-
- (keymask & IME_KEY_MASK_WIN) || (keymask & IME_KEY_MASK_HYPER)) {
+ if ((keymask & IME_KEY_MASK_CONTROL) ||
+ (keymask & IME_KEY_MASK_ALT) ||
+ (keymask & IME_KEY_MASK_META) ||
+ (keymask & IME_KEY_MASK_WIN) ||
+ (keymask & IME_KEY_MASK_HYPER))
+ {
return false;
}
Ecore_IMF_Device_Class dev_class;
Ecore_IMF_Device_Subclass dev_subclass;
int ret;
- if ((ret = ime_device_info_get_name(dev_info, &dev_name)) == IME_ERROR_NONE) {
+ ret = ime_device_info_get_name(dev_info, &dev_name);
+ RETVM_IF(ret != IME_ERROR_NONE, false, "ime_device_info_get_name fails : %s", _get_ime_error(ret));
+ DBG("dev_name: %s", dev_name==NULL?"NULL":dev_name);
+ SAFE_DELETE(dev_name);
- dlog_print(DLOG_DEBUG, LOG_TAG,"dev_name: \"%s\"", dev_name==NULL?"NULL":dev_name);
- free(dev_name);
- }
- else
- {
- RETVM_IF(true,false,"ime_device_info_get_name fails :",_get_ime_error(ret));
- }
- if ((ret = ime_device_info_get_class(dev_info, &dev_class)) == IME_ERROR_NONE) {
- dlog_print(DLOG_DEBUG, LOG_TAG,"dev_class: \"%s\"", dev_class==NULL?"NULL":dev_class);
- }
- else
- {
- RETVM_IF(true,false,"ime_device_info_get_class fails :",_get_ime_error(ret));
- }
- if ((ret = ime_device_info_get_subclass(dev_info, &dev_subclass)) == IME_ERROR_NONE) {
- dlog_print(DLOG_DEBUG, LOG_TAG,"dev_subclass: \"%s\"", dev_subclass==NULL?"NULL":dev_subclass);
- }
- else
- {
- RETVM_IF(true,false,"ime_device_info_get_subclass fails :",_get_ime_error(ret));
- }
+ // return false;
+
+ ret = ime_device_info_get_class(dev_info, &dev_class);
+ RETVM_IF(ret!=IME_ERROR_NONE, false, "ime_device_info_get_class fails : %s", _get_ime_error(ret));
+ DBG("dev_class: %s", get_ecore_imf_device_class(dev_class));
+
+ ret = ime_device_info_get_subclass(dev_info, &dev_subclass);
+ RETVM_IF(ret, false, "ime_device_info_get_subclass fails : %s", _get_ime_error(ret));
+ DBG("dev_subclass: %s", get_ecore_imf_device_subclass(dev_subclass));
return false;
}
*/
static void ise_template_display_language_changed_cb(const char *language, void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"ise_template_display_language_changed_cb language: %s", language);
+ DBG("ise_template_display_language_changed_cb language: %s", language);
ime_data *data = (ime_data*)user_data;
// Do a proper action
-
- // strcat(info_txt, language);
if(data->ime_layout == ELM_INPUT_PANEL_LAYOUT_IP)
{
- data->info_msg = language;
+ data->info_msg = (char*)language;
snprintf(MSG, sizeof(MSG), "Language changed:%s",data->info_msg);
ise_template_create_cb(data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"Setting msg: %s", MSG);
+ DBG("Setting msg: %s", MSG);
}
}
-
/**
* @function ise_template_input_context_reset_cb
* @since_tizen 2.3
*/
static void ise_template_input_context_reset_cb(void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_input_context_reset_cb called");
+ DBG("ime_input_context_reset_cb called");
}
*/
static void ise_template_rotation_degree_changed_cb(int degree, void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"degree=%d", degree);
+ DBG("degree=%d", degree);
// Do a proper action
}
*/
static void ise_template_language_set_cb(Ecore_IMF_Input_Panel_Lang language, void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"ise_template_language_set_cb");
+ DBG("ise_template_language_set_cb");
// Do a proper action
- char *info_txt = "Language is set by Entry.";
- //strcat(info_txt, language);
+ //char *info_txt = "Language is set by Entry.";
}
*/
static void ise_template_language_requested_cb(void *user_data, char **lang_code)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"ise_template_language_requested_cb");
- // Do a proper action
- char *info_txt = "Language is requested..";
+ DBG("ise_template_language_requested_cb");
+ // Do a proper action
+ //char *info_txt = "Language is requested..";
}
*/
static void ise_template_geometry_requested_cb(void *user_data, int *x, int *y, int *w, int *h)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"ise_template_geometry_requested_cb x:%d y:%d w:%d h:%d", x, y, w, h);
- // char *info_text = "\0";
- // strcat(info_text, sprintf("%d %d", x, y));
- //elm_object_text_set(info, info_txt);
+ DBG("ise_template_geometry_requested_cb x:%d y:%d w:%d h:%d", x, y, w, h);
}
*/
static void ise_template_imdata_set_cb(void *data, unsigned int data_length, void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"ise_template_imdata_set_cb ");
+ DBG("ise_template_imdata_set_cb ");
}
*/
static void ise_template_accessibility_state_changed_cb(bool state, void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"ise_template_accessibility_state_changed_cb %d", state);
+ DBG("ise_template_accessibility_state_changed_cb %d", state);
}
*/
static void ise_template_option_window_created_cb(Evas_Object *window, ime_option_window_type_e type, void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"ise_template_option_window_created_cb");
+ DBG("ise_template_option_window_created_cb");
}
*/
static void ise_template_option_window_destroyed_cb(Evas_Object *window, void *user_data)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"ise_template_option_window_destroyed_cb");
+ DBG("ise_template_option_window_destroyed_cb");
ime_data *data = (ime_data*) user_data;
data->option_window = window;
Evas_Object *button = _create_key_button(window, "Option");
*/
void ime_app_main(int argc, char **argv)
{
- dlog_print(DLOG_DEBUG, LOG_TAG,"Start! TBT IME template");
+ DBG("Start! TBT IME template");
ime_data *data = NULL;
data = calloc(1, sizeof(ime_data));
ime_callback_s basic_callback = {
int result;
// Set the necessary callback functions
result = ime_event_set_focus_in_cb(ise_template_focus_in_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_focus_in_cb =%d", result);
+ DBG("ime_event_set_focus_in_cb =%d", result);
result = ime_event_set_focus_out_cb(ise_template_focus_out_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ise_template_focus_out_cb =%d", result);
+ DBG("ise_template_focus_out_cb =%d", result);
result = ime_event_set_surrounding_text_updated_cb(ise_template_surrounding_text_updated_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_surrounding_text_updated_cb =%d", result);
+ DBG("ime_event_set_surrounding_text_updated_cb =%d", result);
result = ime_event_set_cursor_position_updated_cb(ise_template_cursor_position_updated_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_cursor_position_updated_cb =%d", result);
+ DBG("ime_event_set_cursor_position_updated_cb =%d", result);
result = ime_event_set_layout_set_cb(ise_template_layout_set_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_layout_set_cb =%d", result);
+ DBG("ime_event_set_layout_set_cb =%d", result);
result = ime_event_set_return_key_type_set_cb(ise_template_return_key_type_set_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_return_key_type_set_cb =%d", result);
+ DBG("ime_event_set_return_key_type_set_cb =%d", result);
result = ime_event_set_return_key_state_set_cb(ise_template_return_key_state_set_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_return_key_state_set_cb =%d", result);
+ DBG("ime_event_set_return_key_state_set_cb =%d", result);
result = ime_event_set_process_key_event_cb(ise_template_process_key_event_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_process_key_event_cb =%d", result);
+ DBG("ime_event_set_process_key_event_cb =%d", result);
result = ime_event_set_display_language_changed_cb(ise_template_display_language_changed_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_display_language_changed_cb =%d", result);
+ DBG("ime_event_set_display_language_changed_cb =%d", result);
result = ime_event_set_rotation_degree_changed_cb(ise_template_rotation_degree_changed_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_rotation_degree_changed_cb =%d", result);
+ DBG("ime_event_set_rotation_degree_changed_cb =%d", result);
result = ime_event_set_input_context_reset_cb(ise_template_input_context_reset_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_input_context_reset_cb =%d", result);
+ DBG("ime_event_set_input_context_reset_cb =%d", result);
result = ime_event_set_language_set_cb(ise_template_language_set_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_language_set_cb =%d", result);
+ DBG("ime_event_set_language_set_cb =%d", result);
result = ime_event_set_language_requested_cb(ise_template_language_requested_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ise_template_language_requested_cb =%d", result);
+ DBG("ise_template_language_requested_cb =%d", result);
result = ime_event_set_geometry_requested_cb(ise_template_geometry_requested_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_geometry_requested_cb =%d", result);
+ DBG("ime_event_set_geometry_requested_cb =%d", result);
result = ime_event_set_imdata_set_cb(ise_template_imdata_set_cb,data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_imdata_set_cb =%d", result);
+ DBG("ime_event_set_imdata_set_cb =%d", result);
result = ime_event_set_accessibility_state_changed_cb(ise_template_accessibility_state_changed_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_accessibility_state_changed_cb =%d", result);
+ DBG("ime_event_set_accessibility_state_changed_cb =%d", result);
result = ime_event_set_option_window_created_cb(ise_template_option_window_created_cb, data);
- dlog_print(DLOG_DEBUG, LOG_TAG,"ime_event_set_option_window_created_cb =%d", result);
+ DBG("ime_event_set_option_window_created_cb =%d", result);
result = ime_event_set_option_window_destroyed_cb(ise_template_option_window_destroyed_cb, data);
// Start IME
ime_run(&basic_callback, data);
+}
+
+static char* get_ecore_imf_device_class(Ecore_IMF_Device_Class e)
+{
+ char* str = NULL;
+ switch(e)
+ {
+ case ECORE_IMF_DEVICE_CLASS_NONE:
+ str = "ECORE_IMF_DEVICE_CLASS_NONE";
+ break;
+ case ECORE_IMF_DEVICE_CLASS_SEAT:
+ str = "ECORE_IMF_DEVICE_CLASS_SEAT";
+ break;
+ case ECORE_IMF_DEVICE_CLASS_KEYBOARD:
+ str = "ECORE_IMF_DEVICE_CLASS_KEYBOARD";
+ break;
+ case ECORE_IMF_DEVICE_CLASS_MOUSE:
+ str = "ECORE_IMF_DEVICE_CLASS_MOUSE";
+ break;
+ case ECORE_IMF_DEVICE_CLASS_TOUCH:
+ str = "ECORE_IMF_DEVICE_CLASS_TOUCH";
+ break;
+ case ECORE_IMF_DEVICE_CLASS_PEN:
+ str = "ECORE_IMF_DEVICE_CLASS_PEN";
+ break;
+ case ECORE_IMF_DEVICE_CLASS_POINTER:
+ str = "ECORE_IMF_DEVICE_CLASS_POINTER";
+ break;
+ case ECORE_IMF_DEVICE_CLASS_GAMEPAD:
+ str = "ECORE_IMF_DEVICE_CLASS_GAMEPAD";
+ break;
+ default:
+ str = "UNKWON_CLASS";
+ break;
+ }
+ return str;
+}
+
+static char* get_ecore_imf_device_subclass(Ecore_IMF_Device_Subclass e)
+{
+ char* str = NULL;
+ switch(e)
+ {
+ case ECORE_IMF_DEVICE_SUBCLASS_NONE:
+ str = "ECORE_IMF_DEVICE_SUBCLASS_NONE";
+ break;
+ case ECORE_IMF_DEVICE_SUBCLASS_FINGER:
+ str = "ECORE_IMF_DEVICE_SUBCLASS_FINGER";
+ break;
+ case ECORE_IMF_DEVICE_SUBCLASS_FINGERNAIL:
+ str = "ECORE_IMF_DEVICE_SUBCLASS_FINGERNAIL";
+ break;
+ case ECORE_IMF_DEVICE_SUBCLASS_KNUCKLE:
+ str = "ECORE_IMF_DEVICE_SUBCLASS_KNUCKLE";
+ break;
+ case ECORE_IMF_DEVICE_SUBCLASS_PALM:
+ str = "ECORE_IMF_DEVICE_SUBCLASS_PALM";
+ break;
+ case ECORE_IMF_DEVICE_SUBCLASS_HAND_SIZE:
+ str = "ECORE_IMF_DEVICE_SUBCLASS_HAND_SIZE";
+ break;
+ case ECORE_IMF_DEVICE_SUBCLASS_HAND_FLAT:
+ str = "ECORE_IMF_DEVICE_SUBCLASS_HAND_FLAT";
+ break;
+ case ECORE_IMF_DEVICE_SUBCLASS_PEN_TIP:
+ str = "ECORE_IMF_DEVICE_SUBCLASS_PEN_TIP";
+ break;
+ case ECORE_IMF_DEVICE_SUBCLASS_TRACKPAD:
+ str = "ECORE_IMF_DEVICE_SUBCLASS_TRACKPAD";
+ break;
+ case ECORE_IMF_DEVICE_SUBCLASS_TRACKPOINT:
+ str = "ECORE_IMF_DEVICE_SUBCLASS_TRACKPOINT";
+ break;
+ case ECORE_IMF_DEVICE_SUBCLASS_TRACKBALL:
+ str = "ECORE_IMF_DEVICE_SUBCLASS_TRACKBALL";
+ break;
+ default:
+ str = "UNKNWON_SUBCLASS";
+ break;
+ }
+ return str;
+}
+static char *format_string(const char *format, ...)
+{
+ va_list arg;
+ char* chTemp;
+ chTemp= (char*)malloc(1024 * sizeof(char));
+ RETVM_IF(!chTemp, NULL,"malloc failed.");
+ va_start(arg,format);
+ vsnprintf(chTemp,1024,format,arg);
+ va_end(arg);
+ return chTemp;
+}
+
+int main(int argc, char *argv[])
+{
+ ime_app_main(argc, argv);
+ return 0;
}