QtNovelUI/WordsIDE/ContentPresent.h

35 lines
667 B
C
Raw Normal View History

2022-11-17 08:26:05 +00:00
#ifndef CONTENTPRESENT_H
#define CONTENTPRESENT_H
#include <QString>
2022-11-18 23:47:32 +00:00
#include <libConfig.h>
#include "appcore.h"
2022-11-17 08:26:05 +00:00
2023-02-26 14:44:00 +00:00
namespace Presents {
2022-11-17 08:26:05 +00:00
/**
2022-11-18 23:47:32 +00:00
* @brief
2022-11-17 08:26:05 +00:00
*/
2023-02-26 14:44:00 +00:00
class ModeView
2022-11-17 08:26:05 +00:00
{
public:
virtual ~ModeView() = default;
/**
* @brief
* @param type
*/
virtual void modeReset(const QString &type) const = 0;
/**
* @brief
* @return
*/
virtual QList<QString> modes() const = 0;
virtual QString currentMode() const = 0;
};
}
#endif // CONTENTPRESENT_H