fix appcontrol result behavior from service callee
[platform/framework/native/appfw.git] / src / app / inc / FApp_Aul.h
index 8cba1c0..08133c2 100644 (file)
 #define _FAPP_INTERNAL_AUL_H_
 
 #include <appsvc/appsvc.h>
-#include <bundle.h>
 #include <FOspConfig.h>
 #include <FAppTypes.h>
 
+typedef struct _bundle_t bundle;
+
 #define MAX_SLP_PACKAGE_ID 128
 
 namespace Tizen { namespace App
@@ -47,13 +48,13 @@ public:
 
        static result TerminateApplicationByPid(int pid);
 
-       static result SendResult(bundle* b, appsvc_result_val res);
+       static result SendResult(bundle* b, appsvc_result_val res, bool isSubMode, bool isServiceApp);
 
        static bool IsRunning(const Tizen::Base::String& appId);
 
        static result SetOomAdj(int pid, int adj);
 
-       static result SetPowerOffNotiListener(void (*powerOffCb)(void *pData), void *pData);
+       static result SetPowerOffNotiListener(void (*powerOffCb)(void* node, void *pData), void *pData);
 
        static int GetAppType(const Tizen::Base::String& category);