Contents of /trunk/src/gconf.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 158 - (hide annotations)
Wed Nov 4 14:54:52 2009 UTC (14 years, 7 months ago) by harbaum
File MIME type: text/plain
File size: 1297 byte(s)
Async gcvote
1 harbaum 1 /*
2     * Copyright (C) 2008 Till Harbaum <till@harbaum.org>.
3     *
4     * This file is part of GPXView.
5     *
6     * GPXView is free software: you can redistribute it and/or modify
7     * it under the terms of the GNU General Public License as published by
8     * the Free Software Foundation, either version 3 of the License, or
9     * (at your option) any later version.
10     *
11     * GPXView is distributed in the hope that it will be useful,
12     * but WITHOUT ANY WARRANTY; without even the implied warranty of
13     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14     * GNU General Public License for more details.
15     *
16     * You should have received a copy of the GNU General Public License
17     * along with GPXView. If not, see <http://www.gnu.org/licenses/>.
18     */
19    
20     #ifndef GCONF_H
21     #define GCONF_H
22    
23 harbaum 158 #define PROXY_KEY "/system/http_proxy/"
24    
25     typedef struct proxy_s {
26     char *authentication_password, *authentication_user;
27     char *host;
28     char *ignore_hosts;
29     gint port;
30     gboolean use_authentication;
31     } proxy_t;
32    
33 harbaum 1 void gconf_save_state(appdata_t *appdata);
34     void gconf_load_state(appdata_t *appdata);
35     void gconf_save_closed_name(appdata_t *appdata, char *filename, char *name);
36     char *gconf_restore_closed_name(appdata_t *appdata, char *filename);
37     void gconf_remove_closed_name(appdata_t *appdata, char *filename);
38    
39     #endif //GCONF_H