#include <FAppServiceApp.h>
#include <FAppPkgIPackageInstallationEventListener.h>
#include <FSysIBootEventListener.h>
-#include <FApp_Aul.h>
#include <FApp_IAppManagerEventListener.h>
// IBootEventListener
virtual void OnBootCompleted(void);
- static void OnPowerOffNotiReceived(keynode_t* node, void* pData);
+ static void OnPowerOffNotiReceived(void* node, void* pData);
static void OnSystemServiceTerminated(int arg);
static AppService* __pAppService;
return true;
}
+typedef void (* cbForVconf)(kenode_t* node, void* pData);
+
void
-AppService::OnPowerOffNotiReceived(keynode_t* node, void* user_data)
+AppService::OnPowerOffNotiReceived(void* node, void* user_data)
{
int value = -1;
if (!vconf_get_int(VCONFKEY_SYSMAN_POWER_OFF_STATUS, &value))
{
SysLog(NID_APP, "'power_off_start' noti received from system-server with 0x%x.", user_data);
- if (vconf_ignore_key_changed(VCONFKEY_SYSMAN_POWER_OFF_STATUS, AppService::OnPowerOffNotiReceived))
+ if (vconf_ignore_key_changed(VCONFKEY_SYSMAN_POWER_OFF_STATUS, (cbForVconf)AppService::OnPowerOffNotiReceived))
{
SysLog(NID_APP, "Fail to ignore vconf for key(%s)", VCONFKEY_SYSMAN_POWER_OFF_STATUS);
}