upload tizen1.0 source
[profile/ivi/wrt-plugins-tizen.git] / src / standards / Tizen / Application / plugin_config.h
index ebf6174..e000886 100755 (executable)
 #include <string>\r
 #include <Commons/FunctionDeclaration.h>\r
 \r
-#define APPLICATION_FUNCTION_API_LAUNCH        "launch"\r
-#define APPLICATION_FUNCTION_API_KILL          "kill"\r
-#define APPLICATION_FUNCTION_API_EXIT          "exit"\r
-#define APPLICATION_FUNCTION_API_HIDE          "hide"\r
+// feature : launch\r
+#define APPLICATION_FUNCTION_API_LAUNCH                        "launch"\r
+#define APPLICATION_FUNCTION_API_LAUNCH_SERVICE                "launchService"\r
+\r
+// feature : kill\r
+#define APPLICATION_FUNCTION_API_KILL                          "kill"\r
+\r
+// feature : read\r
+#define APPLICATION_FUNCTION_API_GET_APPS_INFO                                 "getApplicationsInformation"\r
+#define APPLICATION_FUNCTION_API_GET_APP_INFO                                  "getApplicationInformation"\r
+#define APPLICATION_FUNCTION_API_GET_RUNNING_APPS_CONTEXT              "getRunningApplicationsContext"\r
+#define APPLICATION_FUNCTION_API_GET_CURRENT_APP_CONTEXT               "getCurrentApplicationContext"\r
+#define APPLICATION_FUNCTION_API_ADD_APP_INFO_EVENT_LISTENER   "addApplicationInformationEventListener"\r
+#define APPLICATION_FUNCTION_API_REMOVE_APP_INFO_EVENT_LISTENER        "removeApplicationInformationEventListener"\r
+#define APPLICATION_FUNCTION_API_EXIT                                                  "exit"\r
+#define APPLICATION_FUNCTION_API_HIDE                                                  "hide"\r
+#define APPLICATION_FUNCTION_API_GET_APP_SERVICE                               "getApplicationService"\r
+#define APPLICATION_FUNCTION_API_REPLY_RESULT                                  "replyResult"\r
+#define APPLICATION_FUNCTION_API_REPLY_FAILURE                                 "replyFailure"\r
 \r
-#define APPLICATION_FUNCTION_API_GET_APPLICATION_INFORMATIONS  "getApplicationInformations"\r
-#define APPLICATION_FUNCTION_API_GET_APPLICATION_INFORMATION   "getApplicationInformation"\r
-\r
-#define APPLICATION_FUNCTION_API_GET_RUNNING_APPLICATION_CONTEXTS      "getRunningApplicationContexts"\r
-#define APPLICATION_FUNCTION_API_GET_CURRENT_APPLICATION_CONTEXT       "getCurrentApplicationContext"\r
-\r
-#define APPLICATION_FUNCTION_API_ADD_APPLICATION_INFORMATION_EVENT_LISTENER                    "addApplicationInformationEventListener"\r
-#define APPLICATION_FUNCTION_API_REMOVE_APPLICATION_INFORMATION_EVENT_LISTENER         "removeApplicationInformationEventListener"\r
-\r
-#define APPLICATION_FUNCTION_API_LAUNCH_SERVICE                                "launchService"\r
-#define APPLICATION_FUNCTION_API_GET_APPLICATION_SERVICE       "getApplicationService"\r
 \r
 namespace TizenApis {\r
 namespace Tizen1_0 {\r
@@ -44,11 +48,11 @@ namespace Application {
 \r
 DECLARE_FUNCTION_GETTER(Application);\r
 \r
-#define APPLICATION_CHECK_ACCESS(globalContext, functionName)                     \\r
-    aceCheckAccess<AceFunctionGetter, DefaultArgsVerifier<> >(                \\r
-        globalContext,                     \\r
-        getApplicationFunctionData,           \\r
+#define APPLICATION_CHECK_ACCESS(functionName)                     \\r
+    aceCheckAccess<AceFunctionGetter, DefaultArgsVerifier<> >(     \\r
+        getApplicationFunctionData,                                \\r
         functionName)\r
+\r
 }\r
 }\r
 }\r