~ubuntu-branches/ubuntu/natty/bluefish/natty-proposed

« back to all changes in this revision

Viewing changes to src/init.h

  • Committer: Bazaar Package Importer
  • Author(s): Davide Puricelli (evo)
  • Date: 2005-04-23 17:05:18 UTC
  • mto: (1.1.5 upstream) (5.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20050423170518-izh2k25xve7ui1jx
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Bluefish HTML Editor
2
 
 * init.h --> all configurational options
3
 
 *
4
 
 * Copyright (C) 1998 Olivier Sessink and Chris Mazuc
5
 
 * font selection code Copyright (C) 1999 MJ Ray
6
 
 *
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.
11
 
 *
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.
16
 
 *
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
20
 
 */
21
 
 
22
 
#ifndef __INIT_H_
23
 
#define __INIT_H_
24
 
 
25
 
#include <glib.h>
26
 
#include <gtk/gtkwidget.h>
27
 
 
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
32
 
 
33
 
typedef struct {
34
 
        gchar *command;
35
 
        GtkItemFactoryEntry entry;
36
 
} Texternal_menu;
37
 
 
38
 
/*
39
 
 * These values are pointers to the lists that are used in multiple 
40
 
 * combo widgets
41
 
 */
42
 
extern GList *positionlist;
43
 
 
44
 
/* these are commandline possibilities */
45
 
extern int root_override;
46
 
extern gchar *load_projectname;
47
 
extern GList *load_filenames;
48
 
 
49
 
/*
50
 
 * these are the functions in init.c that are used to parse config files
51
 
 */
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);
60
 
 
61
 
#endif                                                  /* __INIT_H_ */