PrismLauncher/launcher/ui/pages/BasePageContainer.h

15 lines
340 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() = 0;
virtual BasePage* getPage(QString pageId) { return nullptr; };
2018-07-15 13:51:05 +01:00
virtual void refreshContainer() = 0;
virtual bool requestClose() = 0;
};