<icon>ug-setting-plugin-efl.png</icon>
<label>Setting Plugin </label>
<label xml:lang="en-us">Setting Plugin view </label>
+ <application-service>
+ <operation name="http://samsung.com/appcontrol/operation/app_setting/show"/>
+ </application-service>
+ <application-service>
+ <operation name="http://tizen.org/appcontrol/operation/app_setting/show"/>
+ </application-service>
</ui-application>
</manifest>
INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_phone REQUIRED evas eina ecore elementary appcore-common vconf appcore-efl haptic tapi ui-gadget-1 capi-appfw-application appsvc libxml-2.0)
+pkg_check_modules(pkgs_phone REQUIRED evas eina ecore elementary appcore-common vconf appcore-efl haptic tapi ui-gadget-1 capi-appfw-application appsvc libxml-2.0 aul)
FOREACH(flag ${pkgs_phone_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
Evas_Object *scroller = NULL;
+ char* pappid = NULL;
+ int pid = getpid();
+ char appid[1024];
+ if (aul_app_get_appid_bypid(pid, appid, 1024) == 0)
+ {
+ SETTING_TRACE(" >> ******** AUL K APPID : (%s) \n", appid );
+ pappid = appid;
+ } else {
+ SETTING_TRACE(" >> ******** AUL K APPID : ERROR \n");
+ }
+
+
/* add basic layout */
char setBtnStr[MAX_DISPLAY_NAME_LEN_ON_UI];
snprintf(setBtnStr, sizeof(setBtnStr), "%s",
/////////////////////////////////////////////////////////////////////////////////////////////////
#if 1
- //char* plugin_path = "/opt/apps/UBKFwQidax.AppSetting4/setting/setting.xml";
+ // there's no argument, use pappid
if (ad->pkgname == NULL)
- goto errorhandle;
+ {
+ if (pappid == NULL)
+ goto errorhandle;
+
+ ad->pkgname = pappid;
+ }
char plugin_path[1024];
snprintf(plugin_path, 1024, "/opt/apps/%s/setting/setting.xml", ad->pkgname);
SETTING_TRACE(" >> SELECTED plugin name : %s \n", plugin_path);
+
PluginNode* plugin_node = setting_plugin_create(ad->navi_bar, ad->win_get);
plugin_node->win_main_layout = ad->win_main_layout;
#include <setting-plugin.h>
#include <Ecore_X.h>
+#include <aul.h>
+
#define SETTING_BRIGHTNESS_LEVEL_FOR_EMUL 24
#ifndef UG_MODULE_API
{
SETTING_TRACE("%s ", part);
//--------------------
- // obj --> parent
+ // obj --> parent
//--------------------
if (!safeStrCmp(part, "elm.icon") || !safeStrCmp(part, "elm.icon.1"))