tizen 2.4 release
[apps/home/ug-setting-notification-efl.git] / ug-setting-notification-efl / inc / pkgmgr-setting-info.h
1 /*
2  * Copyright (c) 2009 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18
19 #ifndef __PKGMGR_SETTING_INFO_H__
20 #define __PKGMGR_SETTING_INFO_H__
21
22 #include <tizen.h>
23 #include "log.h"
24
25
26 #define DEFAULT_ICON IMAGEDIR"/unknown.png"
27
28
29 typedef struct {
30         /* innate features */
31         char *appid;
32         char *name;
33         char *icon;
34
35         int ordering;
36         bool is_app_data;
37         int index;
38         bool allow_to_notify;
39         bool do_not_disturb_except;
40         bool visibility_class;
41         int item_style;
42 } item_info_s;
43
44 HAPI item_info_s *apps_item_info_create(const char *appid);
45 HAPI char *get_app_icon(char *appid);
46 HAPI char *get_app_name(const char *appid);
47 HAPI int apps_sort_cb(const void *d1, const void *d2);
48
49
50 #endif //__PKGMGR_SETTING_INFO_H__