Update change log and spec for wrt-plugins-tizen_0.4.70
[framework/web/wrt-plugins-tizen.git] / src / Application / plugin_config.h
index 0cfd8fb..fa36426 100755 (executable)
@@ -1,66 +1,39 @@
-//\r
-// Tizen Web Device API\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Apache License, Version 2.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-\r
-#ifndef _APPLICATOIN_PLUGIN_CONFIG_H_\r
-#define _APPLICATOIN_PLUGIN_CONFIG_H_\r
-\r
-#include <string>\r
-#include <Commons/FunctionDeclaration.h>\r
-\r
-// feature : launch\r
-#define APPLICATION_FUNCTION_API_LAUNCH                                                "launch"\r
-#define APPLICATION_FUNCTION_API_LAUNCH_APP_CONTROL                            "launchAppControl"\r
-\r
-// feature : kill - public candidate\r
-#define APPLICATION_FUNCTION_API_KILL                                                  "kill"\r
-\r
-// feature : certificate - public candidate\r
-#define APPLICATION_FUNCTION_API_GET_APP_CERTS                                 "getAppCerts"\r
-\r
-// no feature required\r
-#define APPLICATION_FUNCTION_API_GET_APPS_INFO                                 "getAppsInfo"\r
-#define APPLICATION_FUNCTION_API_GET_APP_INFO                                  "getAppInfo"\r
-#define APPLICATION_FUNCTION_API_GET_APPS_CONTEXT                              "getAppsContext"\r
-#define APPLICATION_FUNCTION_API_GET_APP_CONTEXT                               "getAppContext"\r
-#define APPLICATION_FUNCTION_API_FIND_APP_CONTROL                              "findAppControl"\r
-#define APPLICATION_FUNCTION_API_ADD_APP_INFO_EVENT_LISTENER   "addAppInfoEventListener"\r
-#define APPLICATION_FUNCTION_API_REMOVE_APP_INFO_EVENT_LISTENER        "removeAppInfoEventListener"\r
-#define APPLICATION_FUNCTION_API_GET_CURRENT_APP                               "getCurrentApplication"\r
-#define APPLICATION_FUNCTION_API_GET_REQUESTED_APP_CONTROL             "getRequestedAppControl"\r
-#define APPLICATION_FUNCTION_API_EXIT                                                  "exit"\r
-#define APPLICATION_FUNCTION_API_HIDE                                                  "hide"\r
-#define APPLICATION_FUNCTION_API_REPLY_RESULT                                  "replyResult"\r
-#define APPLICATION_FUNCTION_API_REPLY_FAILURE                                 "replyFailure"\r
-#define APPLICATION_FUNCTION_API_GET_APP_SHARED_URI                            "getAppSharedURI"\r
-#define APPLICATION_FUNCTION_API_GET_APP_META_DATA                             "getAppMetaData"\r
-#define APPLICATION_FUNCTION_API_SET_USER_AGENT                                        "setUserAgent"\r
-\r
-namespace DeviceAPI {\r
-namespace Application {\r
-\r
-DECLARE_FUNCTION_GETTER(Application);\r
-\r
-#define APPLICATION_CHECK_ACCESS(functionName)                     \\r
-    aceCheckAccess<AceFunctionGetter, DefaultArgsVerifier<> >(     \\r
-        getApplicationFunctionData,                                \\r
-        functionName)\r
-\r
-}\r
-}\r
-#endif\r
-\r
+//
+// Tizen Web Device API
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+
+#ifndef _APPLICATOIN_PLUGIN_CONFIG_H_
+#define _APPLICATOIN_PLUGIN_CONFIG_H_
+
+#include <string>
+#include <Commons/FunctionDeclaration.h>
+#include "plugin_config_impl.h"
+
+namespace DeviceAPI {
+namespace Application {
+
+DECLARE_FUNCTION_GETTER(Application);
+
+#define APPLICATION_CHECK_ACCESS(functionName)                     \
+    aceCheckAccess<AceFunctionGetter, DefaultArgsVerifier<> >(     \
+        getApplicationFunctionData,                                \
+        functionName)
+
+}
+}
+#endif
+