2 * Camera Launcher for Maemo.
3 * Copyright (C) 2010 Roman Moravcik
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
32 #include <glib/gi18n-lib.h>
35 #include <hildon/hildon.h>
37 #define CAMERA_APPLICATION_DESKTOP_FILE "camera-ui.desktop"
38 #define FCAMERA_DESKTOP_FILE "fcamera.desktop"
39 #define FLASHLIGHT_APPLET_DESKTOP_FILE "flashlight-applet-launcher.desktop"
40 #define FRONTVIEW_DESKTOP_FILE "frontview900.desktop"
41 #define MBARCODE_DESKTOP_FILE "mbarcode.desktop"
42 #define PANORAMA_DESKTOP_FILE "panorama.desktop"
44 #define GCONF_CL_LAUNCHER "/apps/maemo/cl-launcher"
45 #define CL_LAUNCHER_DESKTOP_DATADIR "/usr/share/applications/hildon"
48 CL_LAUNCHER_ACTION_RUN_PREFERED_APPLICATION = 0,
49 CL_LAUNCHER_ACTION_SHOW_SELECTOR_POPUP,
50 CL_LAUNCHER_ACTION_DO_NOTHING,
51 CL_LAUNCHER_ACTION_LAST
55 SELECTOR_COLUMN_NAME = 0,
57 SELECTOR_COLUMN_FILENAME,
58 SELECTOR_COLUMN_OSSO_SERVICE,
70 gboolean get_application_list (GtkListStore *store);
71 gboolean get_application_list_from_list (GtkListStore *store, const GSList *list);
73 DesktopFileInfo *get_desktop_file_info (const gchar *desktop_file);
75 #endif /* CL_UTILS_H */