root/sweep/trunk/src/preferences.h

Revision 124, 1.3 kB (checked in by conrad, 8 years ago)

updated to 0.8.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 /*
2  * Sweep, a sound wave editor.
3  *
4  * Copyright (C) 2000 Conrad Parker
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  */
20
21 #ifndef __PREFERENCES_H__
22 #define __PREFERENCES_H__
23
24 void prefs_init ();
25
26 int prefs_close (void);
27
28 int prefs_delete (char * key);
29
30 int * prefs_get_int (char * key);
31
32 int prefs_set_int (char * key, int val);
33
34 long * prefs_get_long (char * key);
35
36 int prefs_set_long (char * key, long val);
37
38 float * prefs_get_float (char * key);
39
40 int prefs_set_float (char * key, float val);
41
42 char * prefs_get_string (char * key);
43
44 int prefs_set_string (char * key, char * val);
45
46 #endif /* __PREFERENCES_H__ */
Note: See TracBrowser for help on using the browser.