2015-05-29 01:22:02 +01:00
|
|
|
#pragma once
|
|
|
|
|
2022-10-14 18:09:41 +01:00
|
|
|
class BasePage;
|
|
|
|
|
2015-05-29 01:22:02 +01:00
|
|
|
class BasePageContainer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
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; };
|
2016-11-06 23:18:27 +00:00
|
|
|
virtual void refreshContainer() = 0;
|
2017-09-26 18:04:37 +01:00
|
|
|
virtual bool requestClose() = 0;
|
2015-05-29 01:22:02 +01:00
|
|
|
};
|