summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2016-11-11 15:26:21 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2016-11-11 15:26:21 +0100
commit90f9a66ba4d0052dbeb4b31f4d71d3a5562f9322 (patch)
tree88266d2f2f2d8273ac4dae51c441e3e34a30f796
parent55326899e08f1c529ed60a0873e3e43000cf478b (diff)
actions: put all enums in a separate line
-rw-r--r--src/actions.h152
1 files changed, 125 insertions, 27 deletions
diff --git a/src/actions.h b/src/actions.h
index c4354a27..1a6ee60b 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -36,33 +36,131 @@ namespace Actions {
enum class Type
{
MacroUtility = 0,
- Dummy, UpdateEnvironment, MouseEvent, ScrollUp, ScrollDown, ScrollUpArtist, ScrollUpAlbum,
- ScrollDownArtist, ScrollDownAlbum, PageUp, PageDown, MoveHome, MoveEnd,
- ToggleInterface, JumpToParentDirectory, RunAction, PreviousColumn,
- NextColumn, MasterScreen, SlaveScreen, VolumeUp, VolumeDown, AddItemToPlaylist, PlayItem,
- DeletePlaylistItems, DeleteStoredPlaylist, DeleteBrowserItems, ReplaySong, Previous,
- Next, Pause, Stop, ExecuteCommand, SavePlaylist, MoveSortOrderUp, MoveSortOrderDown,
- MoveSelectedItemsUp, MoveSelectedItemsDown, MoveSelectedItemsTo, Add,
- SeekForward, SeekBackward, ToggleDisplayMode, ToggleSeparatorsBetweenAlbums,
- ToggleLyricsUpdateOnSongChange, ToggleLyricsFetcher, ToggleFetchingLyricsInBackground,
- TogglePlayingSongCentering, UpdateDatabase, JumpToPlayingSong, ToggleRepeat, Shuffle,
- ToggleRandom, StartSearching, SaveTagChanges, ToggleSingle, ToggleConsume, ToggleCrossfade,
- SetCrossfade, SetVolume, EnterDirectory, EditSong, EditLibraryTag, EditLibraryAlbum, EditDirectoryName,
- EditPlaylistName, EditLyrics, JumpToBrowser, JumpToMediaLibrary,
- JumpToPlaylistEditor, ToggleScreenLock, JumpToTagEditor, JumpToPositionInSong,
- SelectItem, SelectRange, ReverseSelection, RemoveSelection, SelectAlbum, SelectFoundItems,
- AddSelectedItems, CropMainPlaylist, CropPlaylist, ClearMainPlaylist, ClearPlaylist,
- SortPlaylist, ReversePlaylist, Find, FindItemForward, FindItemBackward,
- NextFoundItem, PreviousFoundItem, ToggleFindMode, ToggleReplayGainMode,
- ToggleAddMode, ToggleMouse, ToggleBitrateVisibility,
- AddRandomItems, ToggleBrowserSortMode, ToggleLibraryTagType,
- ToggleMediaLibrarySortMode, RefetchLyrics,
- SetSelectedItemsPriority, ToggleOutput, ToggleVisualizationType, SetVisualizerSampleMultiplier,
- ShowSongInfo, ShowArtistInfo, ShowLyrics, Quit, NextScreen, PreviousScreen,
- ShowHelp, ShowPlaylist, ShowBrowser, ChangeBrowseMode, ShowSearchEngine,
- ResetSearchEngine, ShowMediaLibrary, ToggleMediaLibraryColumnsMode,
- ShowPlaylistEditor, ShowTagEditor, ShowOutputs, ShowVisualizer,
- ShowClock, ShowServerInfo,
+ Dummy,
+ UpdateEnvironment,
+ MouseEvent,
+ ScrollUp,
+ ScrollDown,
+ ScrollUpArtist,
+ ScrollUpAlbum,
+ ScrollDownArtist,
+ ScrollDownAlbum,
+ PageUp,
+ PageDown,
+ MoveHome,
+ MoveEnd,
+ ToggleInterface,
+ JumpToParentDirectory,
+ RunAction,
+ PreviousColumn,
+ NextColumn,
+ MasterScreen,
+ SlaveScreen,
+ VolumeUp,
+ VolumeDown,
+ AddItemToPlaylist,
+ PlayItem,
+ DeletePlaylistItems,
+ DeleteStoredPlaylist,
+ DeleteBrowserItems,
+ ReplaySong,
+ Previous,
+ Next,
+ Pause,
+ Stop,
+ ExecuteCommand,
+ SavePlaylist,
+ MoveSortOrderUp,
+ MoveSortOrderDown,
+ MoveSelectedItemsUp,
+ MoveSelectedItemsDown,
+ MoveSelectedItemsTo,
+ Add,
+ SeekForward,
+ SeekBackward,
+ ToggleDisplayMode,
+ ToggleSeparatorsBetweenAlbums,
+ ToggleLyricsUpdateOnSongChange,
+ ToggleLyricsFetcher,
+ ToggleFetchingLyricsInBackground,
+ TogglePlayingSongCentering,
+ UpdateDatabase,
+ JumpToPlayingSong,
+ ToggleRepeat,
+ Shuffle,
+ ToggleRandom,
+ StartSearching,
+ SaveTagChanges,
+ ToggleSingle,
+ ToggleConsume,
+ ToggleCrossfade,
+ SetCrossfade,
+ SetVolume,
+ EnterDirectory,
+ EditSong,
+ EditLibraryTag,
+ EditLibraryAlbum,
+ EditDirectoryName,
+ EditPlaylistName,
+ EditLyrics,
+ JumpToBrowser,
+ JumpToMediaLibrary,
+ JumpToPlaylistEditor,
+ ToggleScreenLock,
+ JumpToTagEditor,
+ JumpToPositionInSong,
+ SelectItem,
+ SelectRange,
+ ReverseSelection,
+ RemoveSelection,
+ SelectAlbum,
+ SelectFoundItems,
+ AddSelectedItems,
+ CropMainPlaylist,
+ CropPlaylist,
+ ClearMainPlaylist,
+ ClearPlaylist,
+ SortPlaylist,
+ ReversePlaylist,
+ Find,
+ FindItemForward,
+ FindItemBackward,
+ NextFoundItem,
+ PreviousFoundItem,
+ ToggleFindMode,
+ ToggleReplayGainMode,
+ ToggleAddMode,
+ ToggleMouse,
+ ToggleBitrateVisibility,
+ AddRandomItems,
+ ToggleBrowserSortMode,
+ ToggleLibraryTagType,
+ ToggleMediaLibrarySortMode,
+ RefetchLyrics,
+ SetSelectedItemsPriority,
+ ToggleOutput,
+ ToggleVisualizationType,
+ SetVisualizerSampleMultiplier,
+ ShowSongInfo,
+ ShowArtistInfo,
+ ShowLyrics,
+ Quit,
+ NextScreen,
+ PreviousScreen,
+ ShowHelp,
+ ShowPlaylist,
+ ShowBrowser,
+ ChangeBrowseMode,
+ ShowSearchEngine,
+ ResetSearchEngine,
+ ShowMediaLibrary,
+ ToggleMediaLibraryColumnsMode,
+ ShowPlaylistEditor,
+ ShowTagEditor,
+ ShowOutputs,
+ ShowVisualizer,
+ ShowClock,
+ ShowServerInfo,
_numberOfActions // needed to dynamically calculate size of action array
};