2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
\r
4 * Licensed under the Apache License, Version 2.0 (the License);
\r
5 * you may not use this file except in compliance with the License.
\r
6 * You may obtain a copy of the License at
\r
8 * http://www.apache.org/licenses/LICENSE-2.0
\r
10 * Unless required by applicable law or agreed to in writing, software
\r
11 * distributed under the License is distributed on an AS IS BASIS,
\r
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
13 * See the License for the specific language governing permissions and
\r
14 * limitations under the License.
\r
18 #ifndef _APPLICATOIN_PLUGIN_CONFIG_H_
\r
19 #define _APPLICATOIN_PLUGIN_CONFIG_H_
\r
22 #include <Commons/FunctionDeclaration.h>
\r
25 #define APPLICATION_FUNCTION_API_LAUNCH "launch"
\r
26 #define APPLICATION_FUNCTION_API_LAUNCH_SERVICE "launchService"
\r
29 #define APPLICATION_FUNCTION_API_KILL "kill"
\r
32 #define APPLICATION_FUNCTION_API_GET_APPS_INFO "getApplicationsInformation"
\r
33 #define APPLICATION_FUNCTION_API_GET_APP_INFO "getApplicationInformation"
\r
34 #define APPLICATION_FUNCTION_API_GET_RUNNING_APPS_CONTEXT "getRunningApplicationsContext"
\r
35 #define APPLICATION_FUNCTION_API_GET_CURRENT_APP_CONTEXT "getCurrentApplicationContext"
\r
36 #define APPLICATION_FUNCTION_API_ADD_APP_INFO_EVENT_LISTENER "addApplicationInformationEventListener"
\r
37 #define APPLICATION_FUNCTION_API_REMOVE_APP_INFO_EVENT_LISTENER "removeApplicationInformationEventListener"
\r
38 #define APPLICATION_FUNCTION_API_EXIT "exit"
\r
39 #define APPLICATION_FUNCTION_API_HIDE "hide"
\r
40 #define APPLICATION_FUNCTION_API_GET_APP_SERVICE "getApplicationService"
\r
41 #define APPLICATION_FUNCTION_API_REPLY_RESULT "replyResult"
\r
42 #define APPLICATION_FUNCTION_API_REPLY_FAILURE "replyFailure"
\r
45 namespace TizenApis {
\r
46 namespace Tizen1_0 {
\r
47 namespace Application {
\r
49 DECLARE_FUNCTION_GETTER(Application);
\r
51 #define APPLICATION_CHECK_ACCESS(functionName) \
\r
52 aceCheckAccess<AceFunctionGetter, DefaultArgsVerifier<> >( \
\r
53 getApplicationFunctionData, \
\r