26 #include "Utils/typedefs.h" 28 enum class SettingKey : unsigned short
51 Lib_SplitterStateArtist,
52 Lib_SplitterStateTrack,
53 Lib_SplitterStateGenre,
54 Lib_SplitterStateDate,
58 Lib_DC_PlayImmediately,
60 Lib_DD_PlayIfStoppedAndEmpty,
71 Lib_CoverScaledPMCache,
75 Lib_UseViewClearButton,
97 Player_NotifyNewVersion,
100 Player_SplitterControls,
105 PL_LoadSavedPlaylists,
106 PL_LoadTemporaryPlaylists,
111 PL_LastTrackBeforeStop,
118 PL_RememberTrackAfterStop,
123 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,
150 Engine_SR_SessionPath,
151 Engine_SR_SessionPathTemplate,
152 Engine_SR_AutoRecord,
178 Icon_ForceInDarkTheme,
215 template<
typename DataType, SettingKey keyIndex>
220 const static SettingKey key=keyIndex;
228 #define INST_ABSTR(ns, type, settingkey) \ 229 namespace ns { using settingkey = SettingIdentifier<type, SettingKey:: settingkey>; } 231 #define INST(type, settingkey) INST_ABSTR(Set, type, settingkey) 232 #define INST_NO_DB(type, settingkey) INST_ABSTR(SetNoDB, type, settingkey) 240 INST(
bool, LFM_Active)
241 INST(
int, LFM_ScrobbleTimeSec)
243 INST(QString, LFM_Username)
244 INST(QString, LFM_Password)
246 INST(
bool, LFM_Corrections)
247 INST(
bool, LFM_ShowErrors)
248 INST(QString, LFM_SessionKey)
255 INST(QString, Lib_Path)
259 INST(
bool, Lib_LiveSearch)
261 INST(QString, Lib_CurPlugin)
262 INST(QByteArray, Lib_SplitterStateArtist)
263 INST(QByteArray, Lib_SplitterStateTrack)
264 INST(QByteArray, Lib_SplitterStateGenre)
265 INST(QByteArray, Lib_SplitterStateDate)
266 INST(
int, Lib_OldWidth)
267 INST(
bool, Lib_DC_DoNothing)
268 INST(
bool, Lib_DC_PlayIfStopped)
269 INST(
bool, Lib_DC_PlayImmediately)
270 INST(
bool, Lib_DD_DoNothing)
271 INST(
bool, Lib_DD_PlayIfStoppedAndEmpty)
272 INST(
int, Lib_FontSize)
273 INST(
bool, Lib_FontBold)
274 INST(
int, Lib_SearchMode)
275 INST(
bool, Lib_AutoUpdate)
276 INST(
bool, Lib_ShowAlbumArtists)
277 INST(
bool, Lib_ShowAlbumCovers)
278 INST(
int, Lib_CoverZoom)
279 INST(
int, Lib_CoverOrigPMCache)
280 INST(
int, Lib_CoverScaledPMCache)
281 INST(
bool, Lib_CoverShowUtils)
282 INST(
bool, Lib_CoverShowArtist)
283 INST(
bool, Lib_GenreTree)
285 INST(
int, Lib_LastIndex)
286 INST(
bool, Lib_UseViewClearButton)
287 INST(
bool, Lib_ShowFilterExtBar)
289 INST(
bool, Dir_ShowTracks)
290 INST(QByteArray, Dir_SplitterDirFile)
291 INST(QByteArray, Dir_SplitterTracks)
294 INST(QString, Player_Version)
295 INST(QString, Player_Language)
296 INST(
int, Player_Style)
297 INST(
int, Player_ControlStyle)
298 INST(QString, Player_FontName)
299 INST(
int, Player_FontSize)
300 INST(QSize, Player_Size)
301 INST(QPoint, Player_Pos)
302 INST(
bool, Player_Fullscreen)
303 INST(
bool, Player_Maximized)
304 INST(QString, Player_ShownPlugin)
305 INST(
bool, Player_OneInstance)
306 INST(
bool, Player_Min2Tray)
307 INST(
bool, Player_ShowTrayIcon)
308 INST(
bool, Player_StartInTray)
309 INST(
bool, Player_NotifyNewVersion)
310 INST(QByteArray, Player_SplitterState)
312 INST(QByteArray, Player_SplitterControls)
313 INST(QByteArray, Player_PrivId)
314 INST(QByteArray, Player_PublicId)
316 INST(QStringList, PL_Playlist)
317 INST(
bool, PL_LoadSavedPlaylists)
318 INST(
bool, PL_LoadTemporaryPlaylists)
319 INST(
bool, PL_LoadLastTrack)
320 INST(
bool, PL_RememberTime)
321 INST(
bool, PL_StartPlaying)
322 INST(
int, PL_LastTrack)
323 INST(
int, PL_LastTrackBeforeStop)
324 INST(
int, PL_LastPlaylist)
325 INST(QString, PL_EntryLook)
326 INST(
int, PL_FontSize)
327 INST(
bool, PL_ShowClearButton)
329 INST(
bool, PL_ShowNumbers)
330 INST(
bool, PL_RememberTrackAfterStop)
331 INST(
bool, PL_ShowCovers)
332 INST(
bool, PL_ShowRating)
334 INST(
bool, Notification_Show)
335 INST(
int, Notification_Timeout)
336 INST(QString, Notification_Name)
338 INST(
int, AudioConvert_NumberThreads)
339 INST(QString, AudioConvert_PreferredConverter)
340 INST(
int, AudioConvert_QualityLameVBR)
341 INST(
int, AudioConvert_QualityLameCBR)
342 INST(
int, AudioConvert_QualityOgg)
344 INST(QString, Engine_Name)
345 INST(
int, Engine_Vol)
346 INST(
bool, Engine_Mute)
347 INST(
int, Engine_CurTrackPos_s)
348 INST(QString, Engine_CovertTargetPath)
349 INST(
int, Engine_SpectrumBins)
350 INST(
bool, Engine_ShowSpectrum)
351 INST(
bool, Engine_ShowLevel)
352 INST(
bool, Engine_CrossFaderActive)
353 INST(
int, Engine_CrossFaderTime)
354 INST(
int, Engine_Pitch)
355 INST(
bool, Engine_SpeedActive)
356 INST(
float, Engine_Speed)
357 INST(
bool, Engine_PreservePitch)
358 INST(QString, Engine_Sink)
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)
379 INST(
int, Lyrics_Zoom)
380 INST(QString, Lyrics_Server)
382 INST(QStringList, Cover_Server)
383 INST(
bool, Cover_FetchFromWWW)
384 INST(
bool, Cover_StartSearch)
385 INST(QString, Icon_Theme)
386 INST(
bool, Icon_ForceInDarkTheme)
388 INST(
bool, Proxy_Active)
389 INST(QString, Proxy_Username)
390 INST(QString, Proxy_Password)
391 INST(QString, Proxy_Hostname)
392 INST(
int, Proxy_Port)
393 INST(
bool, Proxy_SavePw)
395 INST(
int, Settings_Revision)
397 INST(
int, Logger_Level)
399 INST_NO_DB(
bool, MP3enc_found)
400 INST_NO_DB(
bool, Pitch_found)
401 INST_NO_DB(
bool, Player_Quit)
403 #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:33
Definition: SettingKey.h:216
Definition: org_mpris_media_player2_adaptor.h:20