1 /*
2  * Cantata
3  *
4  * Copyright (c) 2011-2020 Craig Drummond <craig.p.drummond@gmail.com>
5  *
6  * ----
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; see the file COPYING.  If not, write to
20  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  * Boston, MA 02110-1301, USA.
22  */
23 
24 #ifndef STDACTIONS_H
25 #define STDACTIONS_H
26 
27 #include "config.h"
28 #include "support/action.h"
29 
30 class StdActions
31 {
32 public:
33     static StdActions *self();
34 
35     StdActions();
36 
37     Action *nextTrackAction;
38     Action *prevTrackAction;
39     Action *playPauseTrackAction;
40     Action *stopPlaybackAction;
41     Action *stopAfterCurrentTrackAction;
42     Action *stopAfterTrackAction;
43     Action *increaseVolumeAction;
44     Action *decreaseVolumeAction;
45     Action *savePlayQueueAction;
46     Action *appendToPlayQueueAction;
47     Action *appendToPlayQueueAndPlayAction;
48     Action *addToPlayQueueAndPlayAction;
49     Action *insertAfterCurrentAction;
50     Action *replacePlayQueueAction;
51     Action *addWithPriorityAction;
52     Action *addToStoredPlaylistAction;
53     Action *setPriorityAction;
54     Action *addToPlayQueueMenuAction;
55     Action *addRandomAlbumToPlayQueueAction;
56     #ifdef TAGLIB_FOUND
57     Action *editTagsAction;
58     Action *organiseFilesAction;
59     #endif
60     #ifdef ENABLE_REPLAYGAIN_SUPPORT
61     Action *replaygainAction;
62     #endif
63     #ifdef ENABLE_DEVICES_SUPPORT
64     Action *copyToDeviceAction;
65     Action *deleteSongsAction;
66     #endif
67     Action *setCoverAction;
68     Action *removeAction;
69     Action *searchAction;
70     Action *zoomInAction;
71     Action *zoomOutAction;
72 
73     void enableAddToPlayQueue(bool en);
74 
75 private:
76     StdActions(const StdActions &o);
77     StdActions & operator=(const StdActions &o);
78 };
79 #endif
80