2015-05-29 02:22:02 +02:00
|
|
|
#pragma once
|
|
|
|
|
2022-10-14 14:09:41 -03:00
|
|
|
class BasePage;
|
|
|
|
|
2023-08-14 18:16:53 +02:00
|
|
|
class BasePageContainer {
|
|
|
|
public:
|
2015-05-29 02:22:02 +02: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 14:09:41 -03:00
|
|
|
virtual BasePage* getPage(QString pageId) { return nullptr; };
|
2016-11-07 00:18:27 +01:00
|
|
|
virtual void refreshContainer() = 0;
|
2017-09-26 19:04:37 +02:00
|
|
|
virtual bool requestClose() = 0;
|
2015-05-29 02:22:02 +02:00
|
|
|
};
|