24 #include "Utils/typedefs.h" 72 Lib_SplitterStateArtist,
73 Lib_SplitterStateTrack,
74 Lib_SplitterStateGenre,
75 Lib_SplitterStateDate,
79 Lib_DC_PlayImmediately,
81 Lib_DD_PlayIfStoppedAndEmpty,
93 Lib_UseViewClearButton,
113 Player_NotifyNewVersion,
114 Player_SplitterState,
118 PL_LoadSavedPlaylists,
119 PL_LoadTemporaryPlaylists,
130 PL_RememberTrackAfterStop,
133 Notification_Timeout,
139 Engine_ConvertQuality,
140 Engine_CovertTargetPath,
144 Engine_CurTrackPos_s,
145 Engine_CrossFaderActive,
146 Engine_CrossFaderTime,
148 Engine_PreservePitch,
156 Engine_SR_SessionPath,
157 Engine_SR_SessionPathTemplate,
158 Engine_SR_AutoRecord,
183 Icon_ForceInDarkTheme,
196 template<
typename DataType, SettingKey keyIndex>
210 #define INST(type, settingkey) static const SettingIdentifier<type, SettingKey:: settingkey> settingkey 219 INST(
bool, LFM_Active);
220 INST(
int, LFM_ScrobbleTimeSec);
223 INST(
bool, LFM_Corrections);
224 INST(
bool, LFM_ShowErrors);
225 INST(QString, LFM_SessionKey);
229 INST(
bool, Eq_Gauss);
231 INST(
bool, Lib_Show);
232 INST(QString, Lib_Path);
233 INST(BoolList, Lib_ColsTitle);
234 INST(BoolList, Lib_ColsArtist);
235 INST(BoolList, Lib_ColsAlbum);
236 INST(
bool, Lib_LiveSearch);
238 INST(QString, Lib_CurPlugin);
239 INST(QByteArray, Lib_SplitterStateArtist);
240 INST(QByteArray, Lib_SplitterStateTrack);
241 INST(QByteArray, Lib_SplitterStateGenre);
242 INST(QByteArray, Lib_SplitterStateDate);
243 INST(
int, Lib_OldWidth);
244 INST(
bool, Lib_DC_DoNothing);
245 INST(
bool, Lib_DC_PlayIfStopped);
246 INST(
bool, Lib_DC_PlayImmediately);
247 INST(
bool, Lib_DD_DoNothing);
248 INST(
bool, Lib_DD_PlayIfStoppedAndEmpty);
249 INST(
int, Lib_FontSize);
250 INST(
bool, Lib_FontBold);
251 INST(
int, Lib_SearchMode);
252 INST(
bool, Lib_AutoUpdate);
253 INST(
bool, Lib_ShowAlbumArtists);
254 INST(
bool, Lib_ShowAlbumCovers);
255 INST(
int, Lib_CoverZoom);
256 INST(
bool, Lib_CoverShowUtils);
257 INST(
bool, Lib_GenreTree);
259 INST(
int, Lib_LastIndex);
260 INST(
bool, Lib_UseViewClearButton);
262 INST(
bool, Dir_ShowTracks);
263 INST(QByteArray, Dir_SplitterDirFile);
264 INST(QByteArray, Dir_SplitterTracks);
267 INST(QString, Player_Version);
268 INST(QString, Player_Language);
269 INST(
int, Player_Style);
270 INST(QString, Player_FontName);
271 INST(
int, Player_FontSize);
272 INST(QSize, Player_Size);
273 INST(QPoint, Player_Pos);
274 INST(
bool, Player_Fullscreen);
275 INST(
bool, Player_Maximized);
276 INST(QString, Player_ShownPlugin);
277 INST(
bool, Player_OneInstance);
278 INST(
bool, Player_Min2Tray);
279 INST(
bool, Player_ShowTrayIcon);
280 INST(
bool, Player_StartInTray);
281 INST(
bool, Player_NotifyNewVersion);
282 INST(QByteArray, Player_SplitterState);
285 INST(QStringList, PL_Playlist);
286 INST(
bool, PL_LoadSavedPlaylists);
287 INST(
bool, PL_LoadTemporaryPlaylists);
288 INST(
bool, PL_LoadLastTrack);
289 INST(
bool, PL_RememberTime);
290 INST(
bool, PL_StartPlaying);
291 INST(
int, PL_LastTrack);
292 INST(
int, PL_LastPlaylist);
293 INST(QString, PL_EntryLook);
294 INST(
int, PL_FontSize);
295 INST(
bool, PL_ShowClearButton);
297 INST(
bool, PL_ShowNumbers);
298 INST(
bool, PL_RememberTrackAfterStop);
300 INST(
bool, Notification_Show);
301 INST(
int, Notification_Timeout);
302 INST(QString, Notification_Name);
304 INST(QString, Engine_Name);
305 INST(
int, Engine_Vol);
306 INST(
bool, Engine_Mute);
307 INST(
int, Engine_CurTrackPos_s);
308 INST(
int, Engine_ConvertQuality);
309 INST(QString, Engine_CovertTargetPath);
310 INST(
int, Engine_SpectrumBins);
311 INST(
bool, Engine_ShowSpectrum);
312 INST(
bool, Engine_ShowLevel);
313 INST(
bool, Engine_CrossFaderActive);
314 INST(
int, Engine_CrossFaderTime);
315 INST(
int, Engine_Pitch);
316 INST(
bool, Engine_SpeedActive);
317 INST(
float, Engine_Speed);
318 INST(
bool, Engine_PreservePitch);
319 INST(QString, Engine_Sink);
321 INST(
bool, Engine_SR_Active);
322 INST(
bool, Engine_SR_Warning);
323 INST(QString, Engine_SR_Path);
324 INST(
bool, Engine_SR_SessionPath);
325 INST(QString, Engine_SR_SessionPathTemplate);
326 INST(
bool, Engine_SR_AutoRecord);
328 INST(
int, Spectrum_Style);
329 INST(
int, Level_Style);
330 INST(
bool, Broadcast_Active);
331 INST(
bool, Broadcast_Prompt);
332 INST(
int, Broadcast_Port);
334 INST(
bool, Remote_Active);
335 INST(
int, Remote_Port);
337 INST(
bool, Stream_NewTab);
338 INST(
bool, Stream_ShowHistory);
340 INST(
int, Lyrics_Zoom);
341 INST(QString, Lyrics_Server);
343 INST(QStringList, Cover_Server);
344 INST(
bool, Cover_LoadFromFile);
345 INST(QString, Icon_Theme);
346 INST(
bool, Icon_ForceInDarkTheme);
348 INST(
bool, Proxy_Active);
349 INST(QString, Proxy_Username);
350 INST(QString, Proxy_Password);
351 INST(QString, Proxy_Hostname);
352 INST(
int, Proxy_Port);
353 INST(
bool, Proxy_SavePw);
358 INST(
bool, MP3enc_found);
359 INST(
bool, Pitch_found);
360 INST(
bool, Player_Quit);
363 #endif // SETTINGKEY_H The Mode class.
Definition: PlaylistMode.h:32
#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:210
SettingKey
The SK namespace is used to access setting keys.
Definition: SettingKey.h:51
The Sortings class.
Definition: Sorting.h:33
The EQ_Setting class. Container for Equalizer configurations.
Definition: EqualizerPresets.h:32
Set namespace defines the setting: Which key and which type.
Definition: SettingKey.h:216
Definition: typedefs.h:28
Definition: SettingKey.h:356
An interface class needed when implementing a library plugin.
Definition: LibraryManager.h:36
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:42
Definition: SettingKey.h:197
Definition: org_mpris_media_player2_adaptor.h:20