QtNovelUI/WordsIDE/appcore.h

35 lines
509 B
C
Raw Normal View History

2022-11-18 23:47:32 +00:00
#ifndef APPCORE_H
#define APPCORE_H
2023-03-17 13:58:38 +00:00
#include <QMenu>
2022-11-18 23:47:32 +00:00
#include <QObject>
2023-03-17 13:58:38 +00:00
#include <commandsdispatcher.h>
2022-11-18 23:47:32 +00:00
#include <libConfig.h>
#include <libProjectManager.h>
2023-02-26 16:22:44 +00:00
class SimpleException : public std::exception
{
public:
explicit SimpleException(const QString &msg);
private:
QString msg_store;
// exception interface
public:
virtual const char *what() const override;
};
2022-11-18 23:47:32 +00:00
namespace Core {
enum class Scale
{
Global,
Project,
File,
};
}
#endif // APPCORE_H