26#include "Utils/typedefs.h"
28enum class SettingKey :
unsigned short
48 Lib_SplitterStateArtist,
49 Lib_SplitterStateTrack,
50 Lib_SplitterStateGenre,
51 Lib_SplitterStateDate,
55 Lib_DC_PlayImmediately,
57 Lib_DD_PlayIfStoppedAndEmpty,
68 Lib_CoverScaledPMCache,
72 Lib_UseViewClearButton,
74 Lib_SortIgnoreArtistArticle,
75 Lib_HeaderAutoResizeArtists,
76 Lib_HeaderAutoResizeAlbums,
77 Lib_HeaderAutoResizeTracks,
81 Dir_TagToFilenameExpression,
96 Player_NotifyNewVersion,
98 Player_SplitterControls,
103 PL_LastTrackBeforeStop,
106 PL_LoadSavedPlaylists,
107 PL_LoadTemporaryPlaylists,
111 PL_RememberTrackAfterStop,
118 PL_CurrentTrackCustomColorStandard,
119 PL_CurrentTrackColorStringStandard,
120 PL_CurrentTrackCustomColorDark,
121 PL_CurrentTrackColorStringDark,
122 PL_JumpToCurrentTrack,
124 Notification_Timeout,
129 AudioConvert_NumberThreads,
130 AudioConvert_PreferredConverter,
131 AudioConvert_QualityLameVBR,
132 AudioConvert_QualityLameCBR,
133 AudioConvert_QualityOgg,
134 Engine_CovertTargetPath,
138 Engine_CurTrackPos_s,
139 Engine_CrossFaderActive,
140 Engine_CrossFaderTime,
142 Engine_PreservePitch,
151 Engine_SR_SessionPath,
152 Engine_SR_SessionPathTemplate,
153 Engine_SR_AutoRecord,
168 Stream_SearchWindowSize,
176 Cover_SaveToSayonaraDir,
179 Icon_ForceInDarkTheme,
188 AlternativeCovers_Size,
212 enum class ViewType : quint8;
215template<
typename DataType, SettingKey keyIndex>
219 using Data = DataType;
220 const static SettingKey key = keyIndex;
227#define INST_ABSTR(ns, type, settingkey) \
229 using settingkey = SettingIdentifier<type, SettingKey:: settingkey>; \
232#define INST(type, settingkey) INST_ABSTR(Set, type, settingkey)
233#define INST_NO_DB(type, settingkey) INST_ABSTR(SetNoDB, type, settingkey)
240INST(
int, LFM_ScrobbleTimeSec)
242INST(QString, LFM_Username)
243INST(QString, LFM_Password)
245INST(
bool, LFM_Corrections)
246INST(
bool, LFM_ShowErrors)
247INST(QString, LFM_SessionKey)
253INST(QString, Lib_Path)
254INST(QByteArray, Lib_ColStateAlbums)
255INST(QByteArray, Lib_ColStateArtists)
256INST(QByteArray, Lib_ColStateTracks)
257INST(
bool, Lib_LiveSearch)
259INST(QString, Lib_CurPlugin)
260INST(QByteArray, Lib_SplitterStateArtist)
261INST(QByteArray, Lib_SplitterStateTrack)
262INST(QByteArray, Lib_SplitterStateGenre)
263INST(QByteArray, Lib_SplitterStateDate)
264INST(
int, Lib_OldWidth)
265INST(
bool, Lib_DC_DoNothing)
266INST(
bool, Lib_DC_PlayIfStopped)
267INST(
bool, Lib_DC_PlayImmediately)
268INST(
bool, Lib_DD_DoNothing)
269INST(
bool, Lib_DD_PlayIfStoppedAndEmpty)
270INST(
int, Lib_SearchMode)
271INST(
bool, Lib_AutoUpdate)
272INST(
bool, Lib_ShowAlbumArtists)
273INST(
bool, Lib_ShowAlbumCovers)
274INST(::Library::ViewType, Lib_ViewType)
275INST(
int, Lib_CoverZoom)
276INST(
int, Lib_CoverOrigPMCache)
277INST(
int, Lib_CoverScaledPMCache)
278INST(
bool, Lib_CoverShowUtils)
279INST(
bool, Lib_CoverShowArtist)
280INST(
bool, Lib_GenreTree)
282INST(
int, Lib_LastIndex)
283INST(
bool, Lib_FontBold)
284INST(
bool, Lib_UseViewClearButton)
285INST(
bool, Lib_ShowFilterExtBar)
286INST(
bool, Lib_SortIgnoreArtistArticle)
287INST(
bool, Lib_HeaderAutoResizeArtists)
288INST(
bool, Lib_HeaderAutoResizeAlbums)
289INST(
bool, Lib_HeaderAutoResizeTracks)
291INST(
bool, Dir_ShowTracks)
292INST(QByteArray, Dir_SplitterDirFile)
293INST(QByteArray, Dir_SplitterTracks)
294INST(QString, Dir_TagToFilenameExpression)
296INST(QString, Player_Version)
297INST(QString, Player_Language)
298INST(
int, Player_Style)
299INST(
int, Player_ControlStyle)
300INST(
bool, Player_FadingCover)
301INST(
bool, Player_Fullscreen)
302INST(
bool, Player_Maximized)
303INST(QByteArray, Player_Geometry)
304INST(QString, Player_ShownPlugin)
305INST(
bool, Player_OneInstance)
306INST(
bool, Player_Min2Tray)
307INST(
bool, Player_ShowTrayIcon)
308INST(
bool, Player_StartInTray)
309INST(
bool, Player_514Fix)
310INST(
bool, Player_NotifyNewVersion)
311INST(QByteArray, Player_SplitterState)
313INST(QByteArray, Player_SplitterControls)
314INST(QByteArray, Player_PrivId)
315INST(QByteArray, Player_PublicId)
319INST(
bool, PL_LoadSavedPlaylists)
320INST(
bool, PL_LoadTemporaryPlaylists)
321INST(
bool, PL_LoadLastTrack)
322INST(
bool, PL_RememberTime)
323INST(
bool, PL_StartPlaying)
324INST(
int, PL_LastTrack)
325INST(
int, PL_LastTrackBeforeStop)
326INST(
int, PL_LastPlaylist)
327INST(QString, PL_EntryLook)
328INST(
bool, PL_ShowClearButton)
330INST(
bool, PL_ShowNumbers)
331INST(
bool, PL_ShowBottomBar)
332INST(
bool, PL_RememberTrackAfterStop)
333INST(
bool, PL_ShowCovers)
334INST(
bool, PL_ShowRating)
335INST(
bool, PL_CurrentTrackCustomColorStandard)
336INST(QString, PL_CurrentTrackColorStringStandard)
337INST(
bool, PL_CurrentTrackCustomColorDark)
338INST(QString, PL_CurrentTrackColorStringDark)
339INST(
bool, PL_JumpToCurrentTrack)
341INST(
bool, Notification_Show)
342INST(
int, Notification_Timeout)
343INST(QString, Notification_Name)
345INST(
int, AudioConvert_NumberThreads)
346INST(QString, AudioConvert_PreferredConverter)
347INST(
int, AudioConvert_QualityLameVBR)
348INST(
int, AudioConvert_QualityLameCBR)
349INST(
int, AudioConvert_QualityOgg)
351INST(QString, Engine_Name)
353INST(
bool, Engine_Mute)
354INST(
int, Engine_CurTrackPos_s)
355INST(QString, Engine_CovertTargetPath)
356INST(
int, Engine_SpectrumBins)
357INST(
bool, Engine_ShowSpectrum)
358INST(
bool, Engine_ShowLevel)
359INST(
bool, Engine_CrossFaderActive)
360INST(
int, Engine_CrossFaderTime)
361INST(
int, Engine_Pitch)
362INST(
bool, Engine_SpeedActive)
363INST(
float, Engine_Speed)
364INST(
bool, Engine_PreservePitch)
365INST(QString, Engine_Sink)
366INST(QString, Engine_AlsaDevice)
367INST(
int, Engine_BufferSizeMS)
369INST(
bool, Engine_SR_Active)
370INST(
bool, Engine_SR_Warning)
371INST(QString, Engine_SR_Path)
372INST(
bool, Engine_SR_SessionPath)
373INST(QString, Engine_SR_SessionPathTemplate)
374INST(
bool, Engine_SR_AutoRecord)
376INST(
int, Spectrum_Style)
377INST(
int, Level_Style)
378INST(
bool, Broadcast_Active)
379INST(
bool, Broadcast_Prompt)
380INST(
int, Broadcast_Port)
382INST(
bool, Remote_Active)
383INST(
int, Remote_Port)
384INST(
bool, Remote_Discoverable)
385INST(
int, Remote_DiscoverPort)
387INST(
bool, Stream_NewTab)
388INST(
bool, Stream_ShowHistory)
389INST(QSize, Stream_SearchWindowSize)
391INST(
int, Lyrics_Zoom)
392INST(QString, Lyrics_Server)
394INST(QStringList, Cover_Server)
395INST(
bool, Cover_FetchFromWWW)
396INST(
bool, Cover_SaveToDB)
397INST(
bool, Cover_StartSearch)
398INST(
bool, Cover_SaveToLibrary)
399INST(
bool, Cover_SaveToSayonaraDir)
400INST(QString, Cover_TemplatePath)
401INST(QString, Icon_Theme)
402INST(
bool, Icon_ForceInDarkTheme)
404INST(
bool, Proxy_Active)
405INST(QString, Proxy_Username)
406INST(QString, Proxy_Password)
407INST(QString, Proxy_Hostname)
409INST(
bool, Proxy_SavePw)
411INST(
int, Speed_LastTab)
413INST(QSize, InfoDialog_Size)
414INST(QSize, AlternativeCovers_Size)
416INST(
int, Settings_Revision)
418INST(
int, Logger_Level)
420INST_NO_DB(
bool, MP3enc_found)
421INST_NO_DB(
bool, Pitch_found)
422INST_NO_DB(
bool, Player_Quit)
The EQ_Setting class. Container for Equalizer configurations.
Definition: EqualizerSetting.h:35
The Sortings class.
Definition: Sorting.h:37
The Mode class.
Definition: PlaylistMode.h:42
Definition: EngineUtils.h:33
Definition: SettingKey.h:217
INST(bool, LFM_Active) INST(int
Set namespace defines the setting: Which key and which type.
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:31
Definition: typedefs.h:33
The RawShortcutMap struct consisting of a specifier writable into database and a shortcut....
Definition: RawShortcutMap.h:38