blob: 7dcd3c6fd823728846e960c45b6dad2453d4ecaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
/*
* libnotification
*
* Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
*
* 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>
*
* 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 __NOTIFICATION_INTERNAL_H__
#define __NOTIFICATION_INTERNAL_H__
#ifndef EXPORT_API
#define EXPORT_API __attribute__ ((visibility("default")))
#endif
struct _notification {
notification_type_e type;
int group_id; /* Group ID */
int internal_group_id; /* Internal Group ID */
int priv_id; /* Private ID */
char *caller_pkgname; /* Caller App package name */
char *launch_pkgname; /* Launch App package name. It will be from appsvc_set_pkgname */
bundle *args; /* Will be removed. */
bundle *group_args; /* Will be removed. */
bundle *b_execute_option;
bundle *b_service_responding;
bundle *b_service_single_launch;
bundle *b_service_multi_launch;
char *domain; /* Text domain for localization */
char *dir; /* Text dir for localization */
bundle *b_text; /* basic text */
bundle *b_key; /* key for localized text */
bundle *b_format_args; /* args type and value for format string */
int num_format_args; /* number of format string args */
bundle *b_image_path; /* image path */
notification_sound_type_e sound_type;
char *sound_path;
notification_vibration_type_e vibration_type;
char *vibration_path;
time_t time; /* time set by application */
time_t insert_time; /* insert time */
int flags_for_property; /* property NOTIFICATION_PROP_XXX */
int display_applist; /* display app list NOTIFICATION_DISPLAY_APP_XXX */
double progress_size; /* size of progress */
double progress_percentage; /* percentage of progress */
char *app_icon_path; /* Temporary stored app icon path from AIL */
char *app_name; /* Temporary stored app name from AIL */
char *temp_title;
char *temp_content;
};
#endif /* __NOTIFICATION_INTERNAL_H__ */
|