1 
2 /* Copyright (C) 2011-2020 Michael Lugmair (Lucio Carreras)
3  *
4  * This file is part of sayonara player
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10 
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15 
16  * You should have received a copy of the GNU General Public License
17  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef PLAYLISTMENUENTRY_H
21 #define PLAYLISTMENUENTRY_H
22 
23 #include <QObject>
24 #include <QtGlobal>
25 
26 namespace Playlist
27 {
28 	/**
29 	 * @brief The PlaylistMenuEntry enum
30 	 * @ingroup GuiPlaylists
31 	 */
32 	enum MenuEntry
33 	{
34 		None=0,
35 		Delete=			(1 << 0),
36 		Save=			(1 << 1),
37 		SaveAs=			(1 << 2),
38 		SaveToFile=		(1 << 3),
39 		Close=			(1 << 4),
40 		CloseOthers =	(1 << 5),
41 		Reset=			(1 << 6),
42 		Rename=			(1 << 7),
43 		Clear=			(1 << 8),
44 		OpenFile=		(1 << 9),
45 		OpenDir=		(1 << 10)
46 	};
47 
48 	typedef quint16 MenuEntries;
49 }
50 
51 #endif // PLAYLISTMENUENTRY_H
52