Sayonara Player
Loading...
Searching...
No Matches
src
Gui
History
HistoryContainer.h
1
/* HistoryContainer.h
2
*
3
* Copyright (C) 2011-2024 Michael Lugmair
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 HISTORYCONTAINER_H
22
#define HISTORYCONTAINER_H
23
24
#include "Gui/Library/LibraryContainer.h"
25
#include "Utils/Pimpl.h"
26
27
namespace
Session
28
{
29
class
Manager;
30
}
31
32
namespace
Library
33
{
34
class
PluginHandler;
35
}
36
37
class
LibraryPlaylistInteractor
;
38
class
HistoryContainer
:
39
public
Gui::Library::Container
40
{
41
PIMPL(
HistoryContainer
)
42
43
public
:
44
HistoryContainer
(
LibraryPlaylistInteractor
* libraryPlaylistInteractor,
Session::Manager
* sessionManager,
45
Library::PluginHandler
* pluginHandler);
46
~HistoryContainer
()
override
;
47
48
[[nodiscard]] QFrame* header()
const override
;
49
[[nodiscard]] QIcon icon()
const override
;
50
[[nodiscard]] QMenu* menu()
override
;
51
[[nodiscard]] QString displayName()
const override
;
52
[[nodiscard]] QString name()
const override
;
53
[[nodiscard]] QWidget* widget()
const override
;
54
[[nodiscard]]
bool
isLocal()
const override
;
55
void
rename(
const
QString& newName)
override
;
56
57
protected
:
58
void
initUi()
override
;
59
};
60
61
#endif
// HISTORYCONTAINER_H
Gui::Library::Container
Definition:
LibraryContainer.h:36
HistoryContainer
Definition:
HistoryContainer.h:40
LibraryPlaylistInteractor
Definition:
LibraryPlaylistInteractor.h:32
Library::PluginHandler
Definition:
LibraryPluginHandler.h:40
Session::Manager
Definition:
Session.h:37
Generated on Fri Jan 19 2024 00:00:00 for Sayonara Player by
1.9.6