1 #ifndef HISTORYCONTAINER_H 2 #define HISTORYCONTAINER_H 3 4 #include "Gui/Library/LibraryContainer.h" 5 #include "Utils/Pimpl.h" 6 7 namespace Session 8 { 9 class Manager; 10 } 11 12 class HistoryContainer : 13 public Library::Container 14 { 15 Q_OBJECT 16 PIMPL(HistoryContainer) 17 18 public: 19 HistoryContainer(Session::Manager* sessionManager, QObject* parent = nullptr); 20 ~HistoryContainer() override; 21 22 // Container interface 23 public: 24 QString name() const override; 25 QString displayName() const override; 26 QWidget* widget() const override; 27 QFrame* header() const override; 28 QIcon icon() const override; 29 30 // ContainerImpl interface 31 protected: 32 void initUi() override; 33 }; 34 35 #endif // HISTORYCONTAINER_H 36