Sayonara Player
GUI_SoundcloudLibrary.h
1 /* GUI_SoundCloudLibrary.h */
2 
3 /* Copyright (C) 2011-2017 Lucio Carreras
4  *
5  * This file is part of sayonara player
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11 
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16 
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef GUI_SOUNDCLOUDLIBRARY_H
22 #define GUI_SOUNDCLOUDLIBRARY_H
23 
24 #include "GUI/Library/GUI_AbstractLibrary.h"
25 #include "Helper/Pimpl.h"
26 
27 #include "3rdParty/Soundcloud/src/SoundcloudLibrary.h"
28 #include "3rdParty/Soundcloud/ui/GUI_SoundcloudArtistSearch.h"
29 
30 #include <QtGlobal>
31 
32 namespace Ui
33 {
34  class GUI_SoundcloudLibrary;
35 }
36 
38  public GUI_AbstractLibrary
39 {
40  Q_OBJECT
41 
42 public:
43  explicit GUI_SoundCloudLibrary(SoundcloudLibrary* library, QWidget *parent=nullptr);
45 
46  QComboBox* get_libchooser() const;
47  QMenu* get_menu() const;
48 
49 protected:
50  Library::TrackDeletionMode show_delete_dialog(int n_tracks) override;
51  void init_shortcuts() override;
52 
53 protected slots:
54  void btn_add_clicked();
55 
57 
58 private:
59  Ui::GUI_SoundcloudLibrary* ui=nullptr;
60 };
61 
62 #endif // GUI_SOUNDCLOUDLIBRARY_H
Definition: SoundcloudLibrary.h:28
TrackDeletionMode
The TrackDeletionMode enum.
Definition: LibraryNamespaces.h:35
Definition: ui_GUI_SoundcloudLibrary.h:251
Definition: GUI_SomaFM.h:34
Definition: GUI_SoundcloudLibrary.h:37
Definition: GUI_AbstractLibrary.h:49