26 #include "Utils/typedefs.h" 28 enum class SettingKey : unsigned short
54 Lib_SplitterStateArtist,
55 Lib_SplitterStateTrack,
56 Lib_SplitterStateGenre,
57 Lib_SplitterStateDate,
61 Lib_DC_PlayImmediately,
63 Lib_DD_PlayIfStoppedAndEmpty,
74 Lib_CoverScaledPMCache,
78 Lib_UseViewClearButton,
101 Player_NotifyNewVersion,
102 Player_SplitterState,
104 Player_SplitterControls,
109 PL_LoadSavedPlaylists,
110 PL_LoadTemporaryPlaylists,
115 PL_LastTrackBeforeStop,
122 PL_RememberTrackAfterStop,
127 Notification_Timeout,
133 AudioConvert_NumberThreads,
134 AudioConvert_PreferredConverter,
135 AudioConvert_QualityLameVBR,
136 AudioConvert_QualityLameCBR,
137 AudioConvert_QualityOgg,
138 Engine_CovertTargetPath,
142 Engine_CurTrackPos_s,
143 Engine_CrossFaderActive,
144 Engine_CrossFaderTime,
146 Engine_PreservePitch,
155 Engine_SR_SessionPath,
156 Engine_SR_SessionPathTemplate,
157 Engine_SR_AutoRecord,
175 Stream_SearchWindowSize,
185 Cover_SaveToSayonaraDir,
188 Icon_ForceInDarkTheme,
225 template<
typename DataType, SettingKey keyIndex>
230 const static SettingKey key=keyIndex;
238 #define INST_ABSTR(ns, type, settingkey) \ 240 using settingkey = SettingIdentifier<type, SettingKey:: settingkey>; \ 243 #define INST(type, settingkey) INST_ABSTR(Set, type, settingkey) 244 #define INST_NO_DB(type, settingkey) INST_ABSTR(SetNoDB, type, settingkey) 250 INST(
bool, LFM_Active)
251 INST(
int, LFM_ScrobbleTimeSec)
253 INST(QString, LFM_Username)
254 INST(QString, LFM_Password)
256 INST(
bool, LFM_Corrections)
257 INST(
bool, LFM_ShowErrors)
258 INST(QString, LFM_SessionKey)
265 INST(QString, Lib_Path)
272 INST(
bool, Lib_LiveSearch)
274 INST(QString, Lib_CurPlugin)
275 INST(QByteArray, Lib_SplitterStateArtist)
276 INST(QByteArray, Lib_SplitterStateTrack)
277 INST(QByteArray, Lib_SplitterStateGenre)
278 INST(QByteArray, Lib_SplitterStateDate)
279 INST(
int, Lib_OldWidth)
280 INST(
bool, Lib_DC_DoNothing)
281 INST(
bool, Lib_DC_PlayIfStopped)
282 INST(
bool, Lib_DC_PlayImmediately)
283 INST(
bool, Lib_DD_DoNothing)
284 INST(
bool, Lib_DD_PlayIfStoppedAndEmpty)
285 INST(
int, Lib_FontSize)
286 INST(
bool, Lib_FontBold)
287 INST(
int, Lib_SearchMode)
288 INST(
bool, Lib_AutoUpdate)
289 INST(
bool, Lib_ShowAlbumArtists)
290 INST(
bool, Lib_ShowAlbumCovers)
291 INST(
int, Lib_CoverZoom)
292 INST(
int, Lib_CoverOrigPMCache)
293 INST(
int, Lib_CoverScaledPMCache)
294 INST(
bool, Lib_CoverShowUtils)
295 INST(
bool, Lib_CoverShowArtist)
296 INST(
bool, Lib_GenreTree)
298 INST(
int, Lib_LastIndex)
299 INST(
bool, Lib_UseViewClearButton)
300 INST(
bool, Lib_ShowFilterExtBar)
302 INST(
bool, Dir_ShowTracks)
303 INST(QByteArray, Dir_SplitterDirFile)
304 INST(QByteArray, Dir_SplitterTracks)
307 INST(QString, Player_Version)
308 INST(QString, Player_Language)
309 INST(
int, Player_Style)
310 INST(
int, Player_ControlStyle)
311 INST(QString, Player_FontName)
312 INST(
int, Player_FontSize)
313 INST(QSize, Player_Size)
314 INST(QPoint, Player_Pos)
315 INST(
bool, Player_Fullscreen)
316 INST(
bool, Player_Maximized)
317 INST(QString, Player_ShownPlugin)
318 INST(
bool, Player_OneInstance)
319 INST(
bool, Player_Min2Tray)
320 INST(
bool, Player_ShowTrayIcon)
321 INST(
bool, Player_StartInTray)
322 INST(
bool, Player_514Fix)
323 INST(
bool, Player_NotifyNewVersion)
324 INST(QByteArray, Player_SplitterState)
326 INST(QByteArray, Player_SplitterControls)
327 INST(QByteArray, Player_PrivId)
328 INST(QByteArray, Player_PublicId)
330 INST(QStringList, PL_Playlist)
331 INST(
bool, PL_LoadSavedPlaylists)
332 INST(
bool, PL_LoadTemporaryPlaylists)
333 INST(
bool, PL_LoadLastTrack)
334 INST(
bool, PL_RememberTime)
335 INST(
bool, PL_StartPlaying)
336 INST(
int, PL_LastTrack)
337 INST(
int, PL_LastTrackBeforeStop)
338 INST(
int, PL_LastPlaylist)
339 INST(QString, PL_EntryLook)
340 INST(
int, PL_FontSize)
341 INST(
bool, PL_ShowClearButton)
343 INST(
bool, PL_ShowNumbers)
344 INST(
bool, PL_RememberTrackAfterStop)
345 INST(
bool, PL_ShowCovers)
346 INST(
bool, PL_ShowRating)
348 INST(
bool, Notification_Show)
349 INST(
int, Notification_Timeout)
350 INST(QString, Notification_Name)
352 INST(
int, AudioConvert_NumberThreads)
353 INST(QString, AudioConvert_PreferredConverter)
354 INST(
int, AudioConvert_QualityLameVBR)
355 INST(
int, AudioConvert_QualityLameCBR)
356 INST(
int, AudioConvert_QualityOgg)
358 INST(QString, Engine_Name)
359 INST(
int, Engine_Vol)
360 INST(
bool, Engine_Mute)
361 INST(
int, Engine_CurTrackPos_s)
362 INST(QString, Engine_CovertTargetPath)
363 INST(
int, Engine_SpectrumBins)
364 INST(
bool, Engine_ShowSpectrum)
365 INST(
bool, Engine_ShowLevel)
366 INST(
bool, Engine_CrossFaderActive)
367 INST(
int, Engine_CrossFaderTime)
368 INST(
int, Engine_Pitch)
369 INST(
bool, Engine_SpeedActive)
370 INST(
float, Engine_Speed)
371 INST(
bool, Engine_PreservePitch)
372 INST(QString, Engine_Sink)
373 INST(
int, Engine_BufferSizeMS)
375 INST(
bool, Engine_SR_Active)
376 INST(
bool, Engine_SR_Warning)
377 INST(QString, Engine_SR_Path)
378 INST(
bool, Engine_SR_SessionPath)
379 INST(QString, Engine_SR_SessionPathTemplate)
380 INST(
bool, Engine_SR_AutoRecord)
382 INST(
int, Spectrum_Style)
383 INST(
int, Level_Style)
384 INST(
bool, Broadcast_Active)
385 INST(
bool, Broadcast_Prompt)
386 INST(
int, Broadcast_Port)
388 INST(
bool, Remote_Active)
389 INST(
int, Remote_Port)
391 INST(
bool, Stream_NewTab)
392 INST(
bool, Stream_ShowHistory)
393 INST(QSize, Stream_SearchWindowSize)
395 INST(
int, Lyrics_Zoom)
396 INST(QString, Lyrics_Server)
398 INST(QStringList, Cover_Server)
399 INST(
bool, Cover_FetchFromWWW)
400 INST(
bool, Cover_SaveToDB)
401 INST(
bool, Cover_StartSearch)
402 INST(
bool, Cover_SaveToLibrary)
403 INST(
bool, Cover_SaveToSayonaraDir)
404 INST(QString, Cover_TemplatePath)
405 INST(QString, Icon_Theme)
406 INST(
bool, Icon_ForceInDarkTheme)
408 INST(
bool, Proxy_Active)
409 INST(QString, Proxy_Username)
410 INST(QString, Proxy_Password)
411 INST(QString, Proxy_Hostname)
412 INST(
int, Proxy_Port)
413 INST(
bool, Proxy_SavePw)
415 INST(
int, Settings_Revision)
417 INST(
int, Logger_Level)
419 INST_NO_DB(
bool, MP3enc_found)
420 INST_NO_DB(
bool, Pitch_found)
421 INST_NO_DB(
bool, Player_Quit)
423 #endif // SETTINGKEY_H The Mode class.
Definition: PlaylistMode.h:32
INST(bool, LFM_Active) INST(int
Set namespace defines the setting: Which key and which type.
The Sortings class.
Definition: Sorting.h:33
The EQ_Setting class. Container for Equalizer configurations.
Definition: EqualizerPresets.h:32
Definition: typedefs.h:31
An interface class needed when implementing a library plugin.
Definition: CachingThread.h:29
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:35
Definition: AbstractPlaylist.h:32
Definition: SettingKey.h:226
Definition: org_mpris_media_player2_adaptor.h:20