summaryrefslogtreecommitdiff
path: root/wearable_src/Application/plugin_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'wearable_src/Application/plugin_config.h')
-rwxr-xr-xwearable_src/Application/plugin_config.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/wearable_src/Application/plugin_config.h b/wearable_src/Application/plugin_config.h
new file mode 100755
index 0000000..ed69a0c
--- /dev/null
+++ b/wearable_src/Application/plugin_config.h
@@ -0,0 +1,67 @@
+//
+// 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>
+
+// feature : launch
+#define APPLICATION_FUNCTION_API_LAUNCH "launch"
+#define APPLICATION_FUNCTION_API_LAUNCH_APP_CONTROL "launchAppControl"
+
+// feature : kill - public candidate
+#define APPLICATION_FUNCTION_API_KILL "kill"
+
+// feature : certificate - public candidate
+#define APPLICATION_FUNCTION_API_GET_APP_CERTS "getAppCerts"
+
+// no feature required
+#define APPLICATION_FUNCTION_API_GET_APPS_INFO "getAppsInfo"
+#define APPLICATION_FUNCTION_API_GET_APP_INFO "getAppInfo"
+#define APPLICATION_FUNCTION_API_GET_APPS_CONTEXT "getAppsContext"
+#define APPLICATION_FUNCTION_API_GET_APP_CONTEXT "getAppContext"
+#define APPLICATION_FUNCTION_API_FIND_APP_CONTROL "findAppControl"
+#define APPLICATION_FUNCTION_API_ADD_APP_INFO_EVENT_LISTENER "addAppInfoEventListener"
+#define APPLICATION_FUNCTION_API_REMOVE_APP_INFO_EVENT_LISTENER "removeAppInfoEventListener"
+#define APPLICATION_FUNCTION_API_GET_CURRENT_APP "getCurrentApplication"
+#define APPLICATION_FUNCTION_API_GET_REQUESTED_APP_CONTROL "getRequestedAppControl"
+#define APPLICATION_FUNCTION_API_EXIT "exit"
+#define APPLICATION_FUNCTION_API_HIDE "hide"
+#define APPLICATION_FUNCTION_API_REPLY_RESULT "replyResult"
+#define APPLICATION_FUNCTION_API_REPLY_FAILURE "replyFailure"
+#define APPLICATION_FUNCTION_API_GET_APP_SHARED_URI "getAppSharedURI"
+#define APPLICATION_FUNCTION_API_GET_APP_META_DATA "getAppMetaData"
+#define APPLICATION_FUNCTION_API_SET_USER_AGENT "setUserAgent"
+#define APPLICATION_FUNCTION_API_SIZE "size"
+
+namespace DeviceAPI {
+namespace Application {
+
+DECLARE_FUNCTION_GETTER(Application);
+
+#define APPLICATION_CHECK_ACCESS(functionName) \
+ aceCheckAccess<AceFunctionGetter, DefaultArgsVerifier<> >( \
+ getApplicationFunctionData, \
+ functionName)
+
+}
+}
+#endif
+