4 * Copyright (c) 2009-2014 Samsung Electronics Co., Ltd All Rights Reserved
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #ifndef __MENU_SCREEN_ALL_APPS_DB_H__
21 #define __MENU_SCREEN_ALL_APPS_DB_H__
23 #include "Elementary.h"
26 typedef struct _db_info {
36 extern menu_screen_error_e all_apps_db_init(void);
37 extern void all_apps_db_fini(void);
39 extern Eina_List *all_apps_db_retrieve_all_info(void);
40 extern void all_apps_db_unretrieve_info(db_info *info);
41 extern void all_apps_db_unretrieve_all_info(Eina_List *list);
43 extern long long all_apps_db_insert_shortcut(const char *appid, const char *name, int type, const char *content_info, const char *icon);
44 extern menu_screen_error_e all_apps_db_delete_shortcut(long long rowid);
45 extern int all_apps_db_count_shortcut(const char *appid, const char *name);
47 #endif // __MENU_SCREEN_ALL_APPS_DB_H__