5
* Copyright (C) 2003-2004 Tomasz M�ka
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.
25
#define config_filename "dlume"
26
#define config_a_filename "dlume-accels"
31
#define null_char '\0'
32
#define crlf_char '\n'
33
#define space_char ' '
34
#define comma_char ','
35
#define under_char '_'
41
#define MAX_LINE_LEN 4096
42
#define MAX_VALUE_LEN 2048
45
#define MAX_FONT_STR 256
46
#define MAX_COLOR_STR 32
47
#define MAX_COMMAND 128
49
gchar* s_strcpy (gchar *dest, const gchar *src, guint maxlength);
50
gchar* s_strcat (gchar *dest, const gchar *src, guint maxlength);
63
gint contact_window_x;
64
gint contact_window_y;
73
gint restore_windows_pos;
75
gchar web_browser[MAX_COMMAND];
76
gchar email_client[MAX_COMMAND];
77
gchar font_header[MAX_FONT_STR];
78
gchar font_text[MAX_FONT_STR];
79
gchar color1[MAX_COLOR_STR];
80
gchar color2[MAX_COLOR_STR];
81
gchar color3[MAX_COLOR_STR];
82
gchar color4[MAX_COLOR_STR];
83
gchar color5[MAX_COLOR_STR];
86
extern struct dlumeprefs config;
88
gchar* s_getfilename_config (void);
89
gchar* s_getfilename_config_a (void);
90
void read_config (void);
91
void write_config (void);