2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.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
8 * http://www.tizenopensource.org/license
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.
19 #define APP_INFO_DB_FILE "/opt/dbspace/.app_info.db"
21 #define DESKTOP_FILE_PATH "/usr/share/install-info/application"
22 #define ORDER_FILE_PATH "/usr/share/install-info/.order/order"
24 #define BUF_SIZE 40960
25 #define APPS_PER_PAGE 19
42 char* x_slp_packagetype;
43 char* x_slp_packagecategories;
48 int x_slp_baselayoutwidth;
49 int x_slp_baselayoutheight;
50 int x_slp_ishorizontalscale;
51 int x_slp_eventnotificationsetting;
53 /* Invisible fields in the desktop file */
60 #if !defined(_MENU_COMPAT_H)
61 bool desktop_add(char* desktop, void* data);
62 bool desktop_update(char* desktop, void* data);
63 bool desktop_remove(char* desktop, void* data);
64 bool desktop_read(char *desktop, void *data);
65 void load_directory(const char *directory, int update_all);
66 char* desktop_to_pkgname(const char* desktop);