1
/* Bluefish HTML Editor
2
* init.h --> all configurational options
4
* Copyright (C) 1998 Olivier Sessink and Chris Mazuc
5
* font selection code Copyright (C) 1999 MJ Ray
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
#include <gtk/gtkwidget.h>
28
/* assume netscape is on the path */
29
#define DEFAULT_BROWSER "netscape -remote OpenUrl\\(%s\\)"
30
#define DEFAULT_WEBLINT "weblint"
31
#define COMMAND_MAX 1024
35
GtkItemFactoryEntry entry;
39
* These values are pointers to the lists that are used in multiple
42
extern GList *positionlist;
44
/* these are commandline possibilities */
45
extern int root_override;
46
extern gchar *load_projectname;
47
extern GList *load_filenames;
50
* these are the functions in init.c that are used to parse config files
52
gint check_files_links_directories();
53
GList *make_config_list_item(GList * config_list, void *pointer_to_var, unsigned char type_of_var, gchar * name_of_var);
54
gint save_config_file(GList * config_list, gchar * filename);
55
gint parse_config_file(GList * config_list, gchar * filename);
56
void make_external_menu_entries(gint which_external);
57
void parse_bluefish_rcfile(void);
58
void save_config_files(void);
59
int parse_commandline(int argc, char **argv);
61
#endif /* __INIT_H_ */