26 #include "Helper/globals.h" 63 Lib_SplitterStateArtist,
64 Lib_SplitterStateTrack,
65 Lib_SplitterStateGenre,
69 Lib_DC_PlayImmediately,
71 Lib_DD_PlayIfStoppedAndEmpty,
91 Player_NotifyNewVersion,
96 PL_LoadSavedPlaylists,
97 PL_LoadTemporaryPlaylists,
109 Notification_Timeout,
115 Engine_ConvertQuality,
116 Engine_CovertTargetPath,
119 Engine_CurTrackPos_s,
120 Engine_CrossFaderActive,
121 Engine_CrossFaderTime,
123 Engine_PreservePitch,
130 Engine_SR_SessionPath,
150 template<
typename T, SK::SettingKey S>
171 #define INST(type, settingkey) typedef SettingKey<type, SK:: settingkey> settingkey##_t; const settingkey##_t settingkey 180 INST(
bool, LFM_Active);
181 INST(
int, LFM_ScrobbleTimeSec);
182 INST(StringPair, LFM_Login);
184 INST(
bool, LFM_Corrections);
185 INST(
bool, LFM_ShowErrors);
186 INST(QString, LFM_SessionKey);
190 INST(
bool, Eq_Gauss);
192 INST(
bool, Lib_Show);
193 INST(QString, Lib_Path);
197 INST(
bool, Lib_LiveSearch);
199 INST(QString, Lib_CurPlugin);
200 INST(QByteArray, Lib_SplitterStateArtist);
201 INST(QByteArray, Lib_SplitterStateTrack);
202 INST(QByteArray, Lib_SplitterStateGenre);
203 INST(
int, Lib_OldWidth);
204 INST(
bool, Lib_DC_DoNothing);
205 INST(
bool, Lib_DC_PlayIfStopped);
206 INST(
bool, Lib_DC_PlayImmediately);
207 INST(
bool, Lib_DD_DoNothing);
208 INST(
bool, Lib_DD_PlayIfStoppedAndEmpty);
209 INST(
int, Lib_FontSize);
210 INST(
bool, Lib_FontBold);
211 INST(
int, Lib_SearchMode);
212 INST(
bool, Lib_AutoUpdate);
214 INST(QString, Player_Version);
215 INST(QString, Player_Language);
216 INST(
int, Player_Style);
217 INST(QString, Player_FontName);
218 INST(
int, Player_FontSize);
219 INST(QSize, Player_Size);
220 INST(QPoint, Player_Pos);
221 INST(
bool, Player_Fullscreen);
222 INST(
bool, Player_Maximized);
223 INST(QString, Player_ShownPlugin);
224 INST(
bool, Player_OneInstance);
225 INST(
bool, Player_Min2Tray);
226 INST(
bool, Player_ShowTrayIcon);
227 INST(
bool, Player_StartInTray);
228 INST(
bool, Player_NotifyNewVersion);
229 INST(QByteArray, Player_SplitterState);
232 INST(QStringList, PL_Playlist);
233 INST(
bool, PL_LoadSavedPlaylists);
234 INST(
bool, PL_LoadTemporaryPlaylists);
235 INST(
bool, PL_LoadLastTrack);
236 INST(
bool, PL_RememberTime);
237 INST(
bool, PL_StartPlaying);
238 INST(
int, PL_LastTrack);
239 INST(
int, PL_LastPlaylist);
240 INST(QString, PL_EntryLook);
241 INST(
int, PL_FontSize);
244 INST(
bool, PL_ShowNumbers);
245 INST(
bool, Notification_Show);
246 INST(
int, Notification_Timeout);
247 INST(QString, Notification_Name);
249 INST(QString, Engine_Name);
250 INST(
int, Engine_Vol);
251 INST(
bool, Engine_Mute);
252 INST(
int, Engine_CurTrackPos_s);
253 INST(
int, Engine_ConvertQuality);
254 INST(QString, Engine_CovertTargetPath);
255 INST(
bool, Engine_ShowSpectrum);
256 INST(
bool, Engine_ShowLevel);
257 INST(
bool, Engine_CrossFaderActive);
258 INST(
int, Engine_CrossFaderTime);
259 INST(
int, Engine_Pitch);
260 INST(
bool, Engine_SpeedActive);
261 INST(
float, Engine_Speed);
262 INST(
bool, Engine_PreservePitch);
264 INST(
bool, Engine_SR_Active);
265 INST(
bool, Engine_SR_Warning);
266 INST(QString, Engine_SR_Path);
267 INST(
bool, Engine_SR_SessionPath);
269 INST(
int, Spectrum_Style);
270 INST(
int, Level_Style);
271 INST(
bool, Broadcast_Active);
272 INST(
bool, Broadcast_Prompt);
273 INST(
int, Broadcast_Port);
275 INST(
bool, Remote_Active);
276 INST(
int, Remote_Port);
284 INST(
bool, MP3enc_found);
285 INST(
bool, Pitch_found);
286 INST(
bool, Player_Quit);
292 #endif // SETTINGKEY_H
#define INST(type, settingkey)
MACRO INST use this macro to declare a setting: INST(boo, LFM_Active) is expanded to typedef Setting...
Definition: SettingKey.h:171
Definition: SettingKey.h:151
The EQ_Setting class. Container for Equalizer configurations.
Definition: EqualizerPresets.h:34
Definition: PlaylistMode.h:32
Set namespace defines the setting: Which key and which type.
Definition: SettingKey.h:177
The SK namespace is used to access setting keys.
Definition: SettingKey.h:41
Definition: SettingKey.h:282
The RawShortcutMap struct consisting of a specifier writable into database and a shortcut. This class is used for converting a shortcut map into its database representation.
Definition: RawShortcutMap.h:37