4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>, Youngsub Ko <ys4610.ko@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
22 #ifndef __NOTIFICATION_INTERNAL_H__
23 #define __NOTIFICATION_INTERNAL_H__
26 #define EXPORT_API __attribute__ ((visibility("default")))
29 struct _notification {
30 notification_type_e type;
31 notification_ly_type_e layout;
33 int group_id; /* Group ID */
34 int internal_group_id; /* Internal Group ID */
35 int priv_id; /* Private ID */
37 char *caller_pkgname; /* Caller App package name */
38 char *launch_pkgname; /* Launch App package name. It will be from appsvc_set_pkgname */
39 bundle *args; /* Will be removed. */
40 bundle *group_args; /* Will be removed. */
42 bundle *b_execute_option;
43 bundle *b_service_responding;
44 bundle *b_service_single_launch;
45 bundle *b_service_multi_launch;
47 char *domain; /* Text domain for localization */
48 char *dir; /* Text dir for localization */
50 bundle *b_text; /* basic text */
51 bundle *b_key; /* key for localized text */
52 bundle *b_format_args; /* args type and value for format string */
53 int num_format_args; /* number of format string args */
55 bundle *b_image_path; /* image path */
57 notification_sound_type_e sound_type;
59 notification_vibration_type_e vibration_type;
61 notification_led_op_e led_operation;
66 time_t time; /* time set by application */
67 time_t insert_time; /* insert time */
69 int flags_for_property; /* property NOTIFICATION_PROP_XXX */
70 int display_applist; /* display app list NOTIFICATION_DISPLAY_APP_XXX */
72 double progress_size; /* size of progress */
73 double progress_percentage; /* percentage of progress */
75 char *app_icon_path; /* Temporary stored app icon path from AIL */
76 char *app_name; /* Temporary stored app name from AIL */
82 #endif /* __NOTIFICATION_INTERNAL_H__ */