Merge branch 'master' of ssh://pege77@mercury.wipsl.com/var/git/irreco-theme-editor
[irreco.git] / backend / browser / src / browser_backend.h
blobbda15089968a369878e073357a5c9d9cecad68fc
1 /*
2 * irreco-backend-browser
3 * Copyright (C) 2008 Arto Karppinen <arto.karppinen@iki.fi>
4 *
5 * irreco-backend-browser is free software: you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation, either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * irreco-backend-browser is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef _BROWSER_BACKEND_H_
20 #define _BROWSER_BACKEND_H_
22 #define IRRECO_DEBUG_PREFIX "BROW"
24 #define _(str) (str)
26 enum {
27 BROWSER_ERROR_INVALID_APP = 123,
28 BROWSER_ERROR_SPAWN_FAILED,
29 BROWSER_ERROR_WGET,
30 BROWSER_ERROR_MAEMO_BROWSER
33 enum {
34 COL_NAME,
35 COL_URL,
36 COL_COUNT
39 typedef enum
41 BROWSER_APPLICATION_MAEMO,
42 BROWSER_APPLICATION_WGET
43 } BrowserApplicationType;
45 #include <glib.h>
46 #include <gtk/gtk.h>
47 #include <irreco_util.h>
48 #include <irreco_backend_api.h>
50 const gchar *
51 browser_get_error_msg( IrrecoBackendStatus code );
53 #endif /* _BROWSER_BACKEND_H_ */