2015-05-29 01:22:02 +01:00
|
|
|
#pragma once
|
|
|
|
|
2022-10-14 18:09:41 +01:00
|
|
|
class BasePage;
|
|
|
|
|
2023-08-14 17:16:53 +01:00
|
|
|
class BasePageContainer {
|
|
|
|
public:
|
2018-07-15 13:51:05 +01:00
|
|
|
virtual ~BasePageContainer(){};
|
|
|
|
virtual bool selectPage(QString pageId) = 0;
|
2023-06-22 13:11:55 +01:00
|
|
|
virtual BasePage* selectedPage() const = 0;
|
2022-10-14 18:09:41 +01:00
|
|
|
virtual BasePage* getPage(QString pageId) { return nullptr; };
|
2018-07-15 13:51:05 +01:00
|
|
|
virtual void refreshContainer() = 0;
|
|
|
|
virtual bool requestClose() = 0;
|
2015-05-29 01:22:02 +01:00
|
|
|
};
|