2 // Tizen Web Device API
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 #ifndef _NOTIFICATION_PLUGIN_CONFIG_H_
20 #define _NOTIFICATION_PLUGIN_CONFIG_H_
23 #include <Commons/FunctionDeclaration.h>
28 namespace Notification {
31 #define NOTIFICATION_ID "id"
32 #define NOTIFICATION_TYPE "type"
33 #define NOTIFICATION_POSTED_TIME "postedTime"
34 #define NOTIFICATION_TITLE "title"
35 #define NOTIFICATION_CONTENT "content"
36 #define STATUS_NOTIFICATION_STATUS_TYPE "statusType"
37 #define STATUS_NOTIFICATION_ICON_PATH "iconPath"
38 #define STATUS_NOTIFICATION_SUB_ICON_PATH "subIconPath"
39 #define STATUS_NOTIFICATION_NUMBER "number"
40 #define STATUS_NOTIFICATION_DETAIL_INFO "detailInfo"
41 #define STATUS_NOTIFICATION_BACKGROUND_IMAGE_PATH "backgroundImagePath"
42 #define STATUS_NOTIFICATION_THUMBNAILS "thumbnails"
43 #define STATUS_NOTIFICATION_SOUND_PATH "soundPath"
44 #define STATUS_NOTIFICATION_VIBRATION "vibration"
45 #define STATUS_NOTIFICATION_APP_CONTROL "appControl"
46 #define STATUS_NOTIFICATION_APP_ID "appId"
47 #define STATUS_NOTIFICATION_PROGRESS_TYPE "progressType"
48 #define STATUS_NOTIFICATION_PROGRESS_VALUE "progressValue"
49 #define NOTIFICATION_DETAIL_INFO_MAIN_TEXT "mainText"
50 #define NOTIFICATION_DETAIL_INFO_SUB_TEXT "subText"
53 #define NOTIFICATION_MANAGER_API_POST "post"
54 #define NOTIFICATION_MANAGER_API_UPDATE "update"
55 #define NOTIFICATION_MANAGER_API_REMOVE "remove"
56 #define NOTIFICATION_MANAGER_API_REMOVE_ALL "removeAll"
57 #define NOTIFICATION_MANAGER_API_GET "get"
58 #define NOTIFICATION_MANAGER_API_GET_ALL "getAll"
60 #define NOTIFICATION_FUNC "Notification"
62 DECLARE_FUNCTION_GETTER(Notification);
64 #define NOTIFICATION_CHECK_ACCESS(functionName) \
65 aceCheckAccess<AceFunctionGetter, DefaultArgsVerifier<> >( \
66 getNotificationFunctionData, \
72 #endif // _NOTIFICATION_PLUGIN_CONFIG_H_