26 #include "Utils/typedefs.h" 28 enum class SettingKey : unsigned short
52 Lib_SplitterStateArtist,
53 Lib_SplitterStateTrack,
54 Lib_SplitterStateGenre,
55 Lib_SplitterStateDate,
59 Lib_DC_PlayImmediately,
61 Lib_DD_PlayIfStoppedAndEmpty,
72 Lib_CoverScaledPMCache,
76 Lib_UseViewClearButton,
78 Lib_SortIgnoreArtistArticle,
99 Player_NotifyNewVersion,
100 Player_SplitterState,
101 Player_SplitterControls,
107 PL_LastTrackBeforeStop,
110 PL_LoadSavedPlaylists,
111 PL_LoadTemporaryPlaylists,
115 PL_RememberTrackAfterStop,
122 Notification_Timeout,
127 AudioConvert_NumberThreads,
128 AudioConvert_PreferredConverter,
129 AudioConvert_QualityLameVBR,
130 AudioConvert_QualityLameCBR,
131 AudioConvert_QualityOgg,
132 Engine_CovertTargetPath,
136 Engine_CurTrackPos_s,
137 Engine_CrossFaderActive,
138 Engine_CrossFaderTime,
140 Engine_PreservePitch,
148 Engine_SR_SessionPath,
149 Engine_SR_SessionPathTemplate,
150 Engine_SR_AutoRecord,
163 Stream_SearchWindowSize,
171 Cover_SaveToSayonaraDir,
174 Icon_ForceInDarkTheme,
208 template<
typename DataType, SettingKey keyIndex>
213 const static SettingKey key=keyIndex;
221 #define INST_ABSTR(ns, type, settingkey) \ 223 using settingkey = SettingIdentifier<type, SettingKey:: settingkey>; \ 226 #define INST(type, settingkey) INST_ABSTR(Set, type, settingkey) 227 #define INST_NO_DB(type, settingkey) INST_ABSTR(SetNoDB, type, settingkey) 233 INST(
bool, LFM_Active)
234 INST(
int, LFM_ScrobbleTimeSec)
236 INST(QString, LFM_Username)
237 INST(QString, LFM_Password)
239 INST(
bool, LFM_Corrections)
240 INST(
bool, LFM_ShowErrors)
241 INST(QString, LFM_SessionKey)
248 INST(QString, Lib_Path)
255 INST(
bool, Lib_LiveSearch)
257 INST(QString, Lib_CurPlugin)
258 INST(QByteArray, Lib_SplitterStateArtist)
259 INST(QByteArray, Lib_SplitterStateTrack)
260 INST(QByteArray, Lib_SplitterStateGenre)
261 INST(QByteArray, Lib_SplitterStateDate)
262 INST(
int, Lib_OldWidth)
263 INST(
bool, Lib_DC_DoNothing)
264 INST(
bool, Lib_DC_PlayIfStopped)
265 INST(
bool, Lib_DC_PlayImmediately)
266 INST(
bool, Lib_DD_DoNothing)
267 INST(
bool, Lib_DD_PlayIfStoppedAndEmpty)
268 INST(
int, Lib_FontSize)
269 INST(
bool, Lib_FontBold)
270 INST(
int, Lib_SearchMode)
271 INST(
bool, Lib_AutoUpdate)
272 INST(
bool, Lib_ShowAlbumArtists)
273 INST(
bool, Lib_ShowAlbumCovers)
274 INST(
int, Lib_CoverZoom)
275 INST(
int, Lib_CoverOrigPMCache)
276 INST(
int, Lib_CoverScaledPMCache)
277 INST(
bool, Lib_CoverShowUtils)
278 INST(
bool, Lib_CoverShowArtist)
279 INST(
bool, Lib_GenreTree)
281 INST(
int, Lib_LastIndex)
282 INST(
bool, Lib_UseViewClearButton)
283 INST(
bool, Lib_ShowFilterExtBar)
284 INST(
bool, Lib_SortIgnoreArtistArticle)
286 INST(
bool, Dir_ShowTracks)
287 INST(QByteArray, Dir_SplitterDirFile)
288 INST(QByteArray, Dir_SplitterTracks)
291 INST(QString, Player_Version)
292 INST(QString, Player_Language)
293 INST(
int, Player_Style)
294 INST(
int, Player_ControlStyle)
295 INST(QString, Player_FontName)
296 INST(
int, Player_FontSize)
297 INST(
bool, Player_FadingCover)
298 INST(QSize, Player_Size)
299 INST(QPoint, Player_Pos)
300 INST(
bool, Player_Fullscreen)
301 INST(
bool, Player_Maximized)
302 INST(QString, Player_ShownPlugin)
303 INST(
bool, Player_OneInstance)
304 INST(
bool, Player_Min2Tray)
305 INST(
bool, Player_ShowTrayIcon)
306 INST(
bool, Player_StartInTray)
307 INST(
bool, Player_514Fix)
308 INST(
bool, Player_NotifyNewVersion)
309 INST(QByteArray, Player_SplitterState)
311 INST(QByteArray, Player_SplitterControls)
312 INST(QByteArray, Player_PrivId)
313 INST(QByteArray, Player_PublicId)
315 INST(QStringList, PL_Playlist)
316 INST(
bool, PL_LoadSavedPlaylists)
317 INST(
bool, PL_LoadTemporaryPlaylists)
318 INST(
bool, PL_LoadLastTrack)
319 INST(
bool, PL_RememberTime)
320 INST(
bool, PL_StartPlaying)
321 INST(
int, PL_LastTrack)
322 INST(
int, PL_LastTrackBeforeStop)
323 INST(
int, PL_LastPlaylist)
324 INST(QString, PL_EntryLook)
325 INST(
int, PL_FontSize)
326 INST(
bool, PL_ShowClearButton)
328 INST(
bool, PL_ShowNumbers)
329 INST(
bool, PL_RememberTrackAfterStop)
330 INST(
bool, PL_ShowCovers)
331 INST(
bool, PL_ShowRating)
333 INST(
bool, Notification_Show)
334 INST(
int, Notification_Timeout)
335 INST(QString, Notification_Name)
337 INST(
int, AudioConvert_NumberThreads)
338 INST(QString, AudioConvert_PreferredConverter)
339 INST(
int, AudioConvert_QualityLameVBR)
340 INST(
int, AudioConvert_QualityLameCBR)
341 INST(
int, AudioConvert_QualityOgg)
343 INST(QString, Engine_Name)
344 INST(
int, Engine_Vol)
345 INST(
bool, Engine_Mute)
346 INST(
int, Engine_CurTrackPos_s)
347 INST(QString, Engine_CovertTargetPath)
348 INST(
int, Engine_SpectrumBins)
349 INST(
bool, Engine_ShowSpectrum)
350 INST(
bool, Engine_ShowLevel)
351 INST(
bool, Engine_CrossFaderActive)
352 INST(
int, Engine_CrossFaderTime)
353 INST(
int, Engine_Pitch)
354 INST(
bool, Engine_SpeedActive)
355 INST(
float, Engine_Speed)
356 INST(
bool, Engine_PreservePitch)
357 INST(QString, Engine_Sink)
358 INST(
int, Engine_BufferSizeMS)
360 INST(
bool, Engine_SR_Active)
361 INST(
bool, Engine_SR_Warning)
362 INST(QString, Engine_SR_Path)
363 INST(
bool, Engine_SR_SessionPath)
364 INST(QString, Engine_SR_SessionPathTemplate)
365 INST(
bool, Engine_SR_AutoRecord)
367 INST(
int, Spectrum_Style)
368 INST(
int, Level_Style)
369 INST(
bool, Broadcast_Active)
370 INST(
bool, Broadcast_Prompt)
371 INST(
int, Broadcast_Port)
373 INST(
bool, Remote_Active)
374 INST(
int, Remote_Port)
376 INST(
bool, Stream_NewTab)
377 INST(
bool, Stream_ShowHistory)
378 INST(QSize, Stream_SearchWindowSize)
380 INST(
int, Lyrics_Zoom)
381 INST(QString, Lyrics_Server)
383 INST(QStringList, Cover_Server)
384 INST(
bool, Cover_FetchFromWWW)
385 INST(
bool, Cover_SaveToDB)
386 INST(
bool, Cover_StartSearch)
387 INST(
bool, Cover_SaveToLibrary)
388 INST(
bool, Cover_SaveToSayonaraDir)
389 INST(QString, Cover_TemplatePath)
390 INST(QString, Icon_Theme)
391 INST(
bool, Icon_ForceInDarkTheme)
393 INST(
bool, Proxy_Active)
394 INST(QString, Proxy_Username)
395 INST(QString, Proxy_Password)
396 INST(QString, Proxy_Hostname)
397 INST(
int, Proxy_Port)
398 INST(
bool, Proxy_SavePw)
400 INST(
int, Settings_Revision)
402 INST(
int, Logger_Level)
404 INST_NO_DB(
bool, MP3enc_found)
405 INST_NO_DB(
bool, Pitch_found)
406 INST_NO_DB(
bool, Player_Quit)
408 #endif // SETTINGKEY_H The Mode class.
Definition: PlaylistMode.h:42
INST(bool, LFM_Active) INST(int
Set namespace defines the setting: Which key and which type.
The Sortings class.
Definition: Sorting.h:35
Definition: typedefs.h:32
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:32
The EQ_Setting class. Container for Equalizer configurations.
Definition: EqualizerSetting.h:35
The RawShortcutMap struct consisting of a specifier writable into database and a shortcut....
Definition: RawShortcutMap.h:35
Definition: SettingKey.h:209
Definition: org_mpris_media_player2_adaptor.h:20