Mercurial > hg > xmms-sid
annotate src/xs_config.h @ 748:d9d769b5dbe2
Remove oversampling support.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 Nov 2012 17:51:08 +0200 |
parents | 5923dfff1fac |
children | 45108b3d88db |
rev | line source |
---|---|
526
fa95d942f226
Header cleanup; Moved some types from xmms-sid.h to xs_player.h; Renamed few functions.
Matti Hamalainen <ccr@tnsp.org>
parents:
487
diff
changeset
|
1 #ifndef XS_CONFIG_H |
fa95d942f226
Header cleanup; Moved some types from xmms-sid.h to xs_player.h; Renamed few functions.
Matti Hamalainen <ccr@tnsp.org>
parents:
487
diff
changeset
|
2 #define XS_CONFIG_H |
20 | 3 |
214 | 4 #include "xmms-sid.h" |
548
ba80c052e425
Configuration widget naming cleanups and GUI-related improvements;
Matti Hamalainen <ccr@tnsp.org>
parents:
526
diff
changeset
|
5 #include "xs_curve.h" |
214 | 6 |
20 | 7 #ifdef __cplusplus |
8 extern "C" { | |
9 #endif | |
10 | |
548
ba80c052e425
Configuration widget naming cleanups and GUI-related improvements;
Matti Hamalainen <ccr@tnsp.org>
parents:
526
diff
changeset
|
11 |
ba80c052e425
Configuration widget naming cleanups and GUI-related improvements;
Matti Hamalainen <ccr@tnsp.org>
parents:
526
diff
changeset
|
12 /* Configuration structure |
20 | 13 */ |
75
653c9b0d1320
SIDPlay2 support "works" now. Borked problems with threads.
Matti Hamalainen <ccr@tnsp.org>
parents:
73
diff
changeset
|
14 enum XS_EMUENGINE { |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
15 XS_ENG_SIDPLAY1 = 1, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
16 XS_ENG_SIDPLAY2 |
72
e3b205a6bc7e
Lots re-arranging and new code for upcoming modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
69
diff
changeset
|
17 }; |
e3b205a6bc7e
Lots re-arranging and new code for upcoming modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
69
diff
changeset
|
18 |
e3b205a6bc7e
Lots re-arranging and new code for upcoming modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
69
diff
changeset
|
19 |
78
ab522ab65c85
Various fixes and improvements
Matti Hamalainen <ccr@tnsp.org>
parents:
75
diff
changeset
|
20 enum XS_BUILDER { |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
21 XS_BLD_RESID = 1, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
22 XS_BLD_HARDSID |
78
ab522ab65c85
Various fixes and improvements
Matti Hamalainen <ccr@tnsp.org>
parents:
75
diff
changeset
|
23 }; |
ab522ab65c85
Various fixes and improvements
Matti Hamalainen <ccr@tnsp.org>
parents:
75
diff
changeset
|
24 |
75
653c9b0d1320
SIDPlay2 support "works" now. Borked problems with threads.
Matti Hamalainen <ccr@tnsp.org>
parents:
73
diff
changeset
|
25 enum XS_RESOLUTION { |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
26 XS_RES_8BIT = 8, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
27 XS_RES_16BIT = 16 |
40
1788f4ce6a44
Numerous changes towards 0.8
Matti Hamalainen <ccr@tnsp.org>
parents:
24
diff
changeset
|
28 }; |
1788f4ce6a44
Numerous changes towards 0.8
Matti Hamalainen <ccr@tnsp.org>
parents:
24
diff
changeset
|
29 |
75
653c9b0d1320
SIDPlay2 support "works" now. Borked problems with threads.
Matti Hamalainen <ccr@tnsp.org>
parents:
73
diff
changeset
|
30 enum XS_CHANNELS { |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
31 XS_CHN_MONO = 1, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
32 XS_CHN_STEREO = 2, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
33 XS_CHN_AUTOPAN = 3 |
20 | 34 }; |
35 | |
36 | |
40
1788f4ce6a44
Numerous changes towards 0.8
Matti Hamalainen <ccr@tnsp.org>
parents:
24
diff
changeset
|
37 enum XS_CLOCK { |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
38 XS_CLOCK_PAL = 1, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
39 XS_CLOCK_NTSC, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
40 XS_CLOCK_VBI, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
41 XS_CLOCK_CIA, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
42 XS_CLOCK_ANY |
20 | 43 }; |
44 | |
45 | |
40
1788f4ce6a44
Numerous changes towards 0.8
Matti Hamalainen <ccr@tnsp.org>
parents:
24
diff
changeset
|
46 enum XS_MPU { |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
47 XS_MPU_BANK_SWITCHING = 1, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
48 XS_MPU_TRANSPARENT_ROM, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
49 XS_MPU_PLAYSID_ENVIRONMENT, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
50 XS_MPU_REAL |
20 | 51 }; |
52 | |
53 | |
78
ab522ab65c85
Various fixes and improvements
Matti Hamalainen <ccr@tnsp.org>
parents:
75
diff
changeset
|
54 enum XS_SSC { |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
55 XS_SSC_NONE = 1, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
56 XS_SSC_POPUP, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
57 XS_SSC_PATCH, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
58 XS_SSC_SEEK |
78
ab522ab65c85
Various fixes and improvements
Matti Hamalainen <ccr@tnsp.org>
parents:
75
diff
changeset
|
59 }; |
ab522ab65c85
Various fixes and improvements
Matti Hamalainen <ccr@tnsp.org>
parents:
75
diff
changeset
|
60 |
ab522ab65c85
Various fixes and improvements
Matti Hamalainen <ccr@tnsp.org>
parents:
75
diff
changeset
|
61 |
202 | 62 enum XS_SIDMODEL { |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
63 XS_SIDMODEL_UNKNOWN = 0, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
64 XS_SIDMODEL_6581, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
65 XS_SIDMODEL_8580, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
66 XS_SIDMODEL_ANY |
202 | 67 }; |
68 | |
69 | |
548
ba80c052e425
Configuration widget naming cleanups and GUI-related improvements;
Matti Hamalainen <ccr@tnsp.org>
parents:
526
diff
changeset
|
70 typedef struct { |
713
06db79680afe
Added new variables for distortion tunables and made few changes to SID1
Matti Hamalainen <ccr@tnsp.org>
parents:
702
diff
changeset
|
71 gchar *name; |
702 | 72 gint type; |
719 | 73 |
722
5923dfff1fac
Unify xs_sid*_filter_t into one.
Matti Hamalainen <ccr@tnsp.org>
parents:
719
diff
changeset
|
74 /* Filter type 0 for SIDPlay 1 */ |
5923dfff1fac
Unify xs_sid*_filter_t into one.
Matti Hamalainen <ccr@tnsp.org>
parents:
719
diff
changeset
|
75 gfloat fs, fm, ft; |
5923dfff1fac
Unify xs_sid*_filter_t into one.
Matti Hamalainen <ccr@tnsp.org>
parents:
719
diff
changeset
|
76 |
719 | 77 /* Filter type 1-2 points */ |
702 | 78 xs_int_point_t points[XS_SIDPLAY2_NFPOINTS]; |
79 gint npoints; | |
713
06db79680afe
Added new variables for distortion tunables and made few changes to SID1
Matti Hamalainen <ccr@tnsp.org>
parents:
702
diff
changeset
|
80 |
06db79680afe
Added new variables for distortion tunables and made few changes to SID1
Matti Hamalainen <ccr@tnsp.org>
parents:
702
diff
changeset
|
81 /* Distortion patch tunables */ |
719 | 82 gfloat rate, point, voice_nonlinearity, |
83 cf_treshold; | |
713
06db79680afe
Added new variables for distortion tunables and made few changes to SID1
Matti Hamalainen <ccr@tnsp.org>
parents:
702
diff
changeset
|
84 |
06db79680afe
Added new variables for distortion tunables and made few changes to SID1
Matti Hamalainen <ccr@tnsp.org>
parents:
702
diff
changeset
|
85 /* Filter Type 3 tunables */ |
06db79680afe
Added new variables for distortion tunables and made few changes to SID1
Matti Hamalainen <ccr@tnsp.org>
parents:
702
diff
changeset
|
86 gfloat baseresistance, offset, steepness, |
06db79680afe
Added new variables for distortion tunables and made few changes to SID1
Matti Hamalainen <ccr@tnsp.org>
parents:
702
diff
changeset
|
87 minimumfetresistance; |
06db79680afe
Added new variables for distortion tunables and made few changes to SID1
Matti Hamalainen <ccr@tnsp.org>
parents:
702
diff
changeset
|
88 |
06db79680afe
Added new variables for distortion tunables and made few changes to SID1
Matti Hamalainen <ccr@tnsp.org>
parents:
702
diff
changeset
|
89 /* Filter Type 4 tunables */ |
06db79680afe
Added new variables for distortion tunables and made few changes to SID1
Matti Hamalainen <ccr@tnsp.org>
parents:
702
diff
changeset
|
90 gfloat k, b; |
722
5923dfff1fac
Unify xs_sid*_filter_t into one.
Matti Hamalainen <ccr@tnsp.org>
parents:
719
diff
changeset
|
91 } xs_sid_filter_t; |
713
06db79680afe
Added new variables for distortion tunables and made few changes to SID1
Matti Hamalainen <ccr@tnsp.org>
parents:
702
diff
changeset
|
92 |
06db79680afe
Added new variables for distortion tunables and made few changes to SID1
Matti Hamalainen <ccr@tnsp.org>
parents:
702
diff
changeset
|
93 |
702 | 94 extern struct xs_cfg_t { |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
95 /* General audio settings */ |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
96 gint audioBitsPerSample; |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
97 gint audioChannels; |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
98 gint audioFrequency; |
20 | 99 |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
100 /* Emulation settings */ |
685 | 101 gboolean mos8580; /* TRUE = 8580, FALSE = 6581 */ |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
102 gboolean forceModel; |
685 | 103 gint memoryMode; /* See XS_MPU-constants */ |
104 gint clockSpeed; /* PAL (50Hz) or NTSC (60Hz) */ | |
105 gboolean forceSpeed; /* TRUE = force to given clockspeed */ | |
75
653c9b0d1320
SIDPlay2 support "works" now. Borked problems with threads.
Matti Hamalainen <ccr@tnsp.org>
parents:
73
diff
changeset
|
106 |
685 | 107 gint playerEngine; /* Selected player engine */ |
190 | 108 |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
109 gboolean emulateFilters; |
722
5923dfff1fac
Unify xs_sid*_filter_t into one.
Matti Hamalainen <ccr@tnsp.org>
parents:
719
diff
changeset
|
110 xs_sid_filter_t sid1Filter; /* Current SIDPlay1 filter */ |
548
ba80c052e425
Configuration widget naming cleanups and GUI-related improvements;
Matti Hamalainen <ccr@tnsp.org>
parents:
526
diff
changeset
|
111 |
685 | 112 gint sid2OptLevel; /* SIDPlay2 emulation optimization */ |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
113 gint sid2Builder; /* SIDPlay2 "builder" aka SID-emu */ |
722
5923dfff1fac
Unify xs_sid*_filter_t into one.
Matti Hamalainen <ccr@tnsp.org>
parents:
719
diff
changeset
|
114 xs_sid_filter_t sid2Filter; /* Current SIDPlay2 filter */ |
5923dfff1fac
Unify xs_sid*_filter_t into one.
Matti Hamalainen <ccr@tnsp.org>
parents:
719
diff
changeset
|
115 xs_sid_filter_t **sid2FilterPresets; |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
116 gint sid2NFilterPresets; |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
117 |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
118 |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
119 /* Playing settings */ |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
120 gboolean playMaxTimeEnable, |
685 | 121 playMaxTimeUnknown; /* Use max-time only when song-length is unknown */ |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
122 gint playMaxTime; /* MAX playtime in seconds */ |
169 | 123 |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
124 gboolean playMinTimeEnable; |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
125 gint playMinTime; /* MIN playtime in seconds */ |
169 | 126 |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
127 gboolean songlenDBEnable; |
685 | 128 gchar *songlenDBPath; /* Path to Songlengths.txt */ |
20 | 129 |
130 | |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
131 /* Miscellaneous settings */ |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
132 gboolean stilDBEnable; |
685 | 133 gchar *stilDBPath; /* Path to STIL.txt */ |
134 gchar *hvscPath; /* Path-prefix for HVSC */ | |
40
1788f4ce6a44
Numerous changes towards 0.8
Matti Hamalainen <ccr@tnsp.org>
parents:
24
diff
changeset
|
135 |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
136 gint subsongControl; |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
137 gboolean detectMagic; |
40
1788f4ce6a44
Numerous changes towards 0.8
Matti Hamalainen <ccr@tnsp.org>
parents:
24
diff
changeset
|
138 |
685 | 139 gboolean titleOverride; /* TRUE if XMMS titles are overriden */ |
140 gchar *titleFormat; | |
72
e3b205a6bc7e
Lots re-arranging and new code for upcoming modularization.
Matti Hamalainen <ccr@tnsp.org>
parents:
69
diff
changeset
|
141 |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
142 gboolean subAutoEnable, |
685 | 143 subAutoMinOnly; |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
144 gint subAutoMinTime; |
20 | 145 } xs_cfg; |
146 | |
228
a9a5924eb10c
Have and use a mutex for xs_cfg configuration structure.
Matti Hamalainen <ccr@tnsp.org>
parents:
214
diff
changeset
|
147 XS_MUTEX_H(xs_cfg); |
20 | 148 |
548
ba80c052e425
Configuration widget naming cleanups and GUI-related improvements;
Matti Hamalainen <ccr@tnsp.org>
parents:
526
diff
changeset
|
149 |
ba80c052e425
Configuration widget naming cleanups and GUI-related improvements;
Matti Hamalainen <ccr@tnsp.org>
parents:
526
diff
changeset
|
150 /* Configuration-file |
20 | 151 */ |
152 enum { | |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
153 CTYPE_INT = 1, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
154 CTYPE_FLOAT, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
155 CTYPE_STR, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
156 CTYPE_BOOL |
57
85811bcd049e
Improved, re-written configuration code and lots of minor fixes
Matti Hamalainen <ccr@tnsp.org>
parents:
50
diff
changeset
|
157 }; |
85811bcd049e
Improved, re-written configuration code and lots of minor fixes
Matti Hamalainen <ccr@tnsp.org>
parents:
50
diff
changeset
|
158 |
85811bcd049e
Improved, re-written configuration code and lots of minor fixes
Matti Hamalainen <ccr@tnsp.org>
parents:
50
diff
changeset
|
159 enum { |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
160 WTYPE_BGROUP = 1, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
161 WTYPE_SPIN, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
162 WTYPE_SCALE, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
163 WTYPE_BUTTON, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
164 WTYPE_TEXT, |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
165 WTYPE_COMBO |
20 | 166 }; |
167 | |
168 | |
169 typedef struct { | |
685 | 170 gint itemType; /* Type of item (CTYPE_*) */ |
171 void *itemData; /* Pointer to variable */ | |
172 gchar *itemName; /* Name of configuration item */ | |
702 | 173 } xs_cfg_item_t; |
20 | 174 |
175 | |
57
85811bcd049e
Improved, re-written configuration code and lots of minor fixes
Matti Hamalainen <ccr@tnsp.org>
parents:
50
diff
changeset
|
176 typedef struct { |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
177 gint widType; |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
178 gint itemType; |
685 | 179 gchar *widName; |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
180 void *itemData; |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
181 gint itemSet; |
702 | 182 } xs_wid_item_t; |
57
85811bcd049e
Improved, re-written configuration code and lots of minor fixes
Matti Hamalainen <ccr@tnsp.org>
parents:
50
diff
changeset
|
183 |
85811bcd049e
Improved, re-written configuration code and lots of minor fixes
Matti Hamalainen <ccr@tnsp.org>
parents:
50
diff
changeset
|
184 |
548
ba80c052e425
Configuration widget naming cleanups and GUI-related improvements;
Matti Hamalainen <ccr@tnsp.org>
parents:
526
diff
changeset
|
185 /* Functions |
20 | 186 */ |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
187 void xs_init_configuration(void); |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
188 void xs_configure(void); |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
189 void xs_read_configuration(void); |
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
190 gint xs_write_configuration(void); |
20 | 191 |
192 #ifdef __cplusplus | |
193 } | |
194 #endif | |
660
b0743dc9165d
Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents:
548
diff
changeset
|
195 #endif /* XS_CONFIG_H */ |