Git Init
[profile/ivi/wrt-plugins-tizen.git] / src / standards / Tizen / Application / plugin_config.h
1 /*\r
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved\r
3  *\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
7  *\r
8  * http://www.apache.org/licenses/LICENSE-2.0\r
9  *\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
15  */\r
16 \r
17 \r
18 #ifndef _APPLICATOIN_PLUGIN_CONFIG_H_\r
19 #define _APPLICATOIN_PLUGIN_CONFIG_H_\r
20 \r
21 #include <string>\r
22 #include <Commons/FunctionDeclaration.h>\r
23 \r
24 #define APPLICATION_FUNCTION_API_LIST_INSTALLED_APPLICATIONS  "listInstalledApplications"\r
25 #define APPLICATION_FUNCTION_API_LIST_RUNNING_APPLICATIONS  "listRunningApplications"\r
26 #define APPLICATION_FUNCTION_API_GET_APPLICATION_INFORMATION  "getApplicationInformation"\r
27 #define APPLICATION_FUNCTION_API_ADD_APPLICATION_LIST_CHANGE_LISTENER "addApplicationListChangeListener"\r
28 #define APPLICATION_FUNCTION_API_REMOVE_APPLICATION_LIST_CHANGE_LISTENER  "removeApplicationListChangeListener"\r
29 #define APPLICATION_FUNCTION_API_LAUNCH_SERVICE  "launchService"\r
30 \r
31 namespace TizenApis {\r
32 namespace Tizen1_0 {\r
33 namespace Application {\r
34 \r
35 DECLARE_FUNCTION_GETTER(Application);\r
36 \r
37 #define APPLICATION_CHECK_ACCESS(globalContext, functionName)                     \\r
38     aceCheckAccess<AceFunctionGetter, DefaultArgsVerifier<> >(                \\r
39         globalContext,                     \\r
40         getApplicationFunctionData,           \\r
41         functionName)\r
42 }\r
43 }\r
44 }\r
45 #endif\r
46 \r