PrismLauncher/launcher/ui/pages/BasePageContainer.h

14 lines
349 B
C
Raw Normal View History

#pragma once
class BasePage;
class BasePageContainer {
public:
2018-07-15 13:51:05 +01:00
virtual ~BasePageContainer(){};
virtual bool selectPage(QString pageId) = 0;
virtual BasePage* selectedPage() const = 0;
virtual BasePage* getPage(QString pageId) { return nullptr; };
2018-07-15 13:51:05 +01:00
virtual void refreshContainer() = 0;
virtual bool requestClose() = 0;
};