1 /* prefops.h
2  * header file for initializing preferences
3  *
4  * for Denemo, a gtk+ frontend to GNU Lilypond
5  * (c) 1999-2005 Matthew Hiller
6  */
7 #ifndef PREFOPSH
8 #define PREFOPSH
9 
10 #include <denemo/denemo.h>
11 
12 #define INITIAL_WIDTH 1000
13 #define INITIAL_HEIGHT 500
14 
15 
16 void initprefs (void);
17 gint readxmlprefsString (gchar * xmlprefs);
18 gint writeXMLPrefs (DenemoPrefs * prefs);
19 void writeHistory (void);
20 gint readHistory (void);
21 void storeWindowState (void);
22 void loadWindowState (void);
23 
24 gboolean get_bool_pref (gchar * prefname);
25 gint get_int_pref (gchar * prefname);
26 gchar *get_string_pref (gchar * prefname);
27 
28 #endif
29