File: preferencias.h

package info (click to toggle)
diasce 1.0.5-1.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,964 kB
  • ctags: 1,732
  • sloc: ansic: 26,805; sh: 2,999; makefile: 399; yacc: 318
file content (97 lines) | stat: -rw-r--r-- 2,311 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/*
 * DiaSCE is a code editor for C and C++.
 * Copyright (C) 2000  Ander Lozano P�rez
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 * Ander Lozano P�rez
 * c/Juan de Gardeazabal 4, 1� D
 * 48004 Bilbao
 * Vizcaya
 * Spain
 *
 * ander1@wanadoo.es
 */

#include "main.h"

//*******************************************************************

struct s_preferencias {
	xmlDocPtr xml;
	gchar *nombre;
	gchar *e_mail;
	gchar *directorio;
	gboolean texto_barras;
	gboolean auto_indentacion;
	gboolean super_indentacion;
	gboolean completar_llaves;
	gint tabulador;
	gchar *ultimos[5];
	gchar *ayuda_gtk;
	gchar *ayuda_xml;
	gchar *ayuda_glib;
	gchar *ayuda_orbit;
	gchar *ayuda_gnome;
	gchar *ayuda_gnomeui;
	gchar *ayuda_gnorba;
	gchar *inc_xml;
	gchar *inc_gtk;
	gchar *inc_orbit;
	gchar *inc_x11;
	gchar *inc_gnome;
	gchar *inc_glib;
	gchar *inc_gnomeui;
	gchar *inc_gnorba;
	gchar *inc_audiofile;
	gchar *inc_gmodule;
	gchar *inc_esd;
	gchar *inc_imlib;
	gchar *lib_xml;
	gchar *lib_gtk;
	gchar *lib_orbit;
	gchar *lib_x11;
	gchar *lib_gnome;
	gchar *lib_glib;
	gchar *lib_gnomeui;
	gchar *lib_gnorba;
	gchar *lib_audiofile;
	gchar *lib_gmodule;
	gchar *lib_esd;
	gchar *lib_imlib;
	gchar *lib_electric_fence;
};

//*******************************************************************

struct s_preferencias preferencias;

//*******************************************************************

void pref_crear(void);

void pref_abrir(guint estado);

void pref_guardar(void);

void pref_actualizar(GtkWidget *widget);

void pref_mostrar(GtkWidget *widget);

void pref_xml_struct(void);

void pref_cerrar(void);

void pref_aplicar(void);