#ifndef APPCORE_H #define APPCORE_H #include #include #include #include #include class SimpleException : public std::exception { public: explicit SimpleException(const QString &msg); private: QString msg_store; // exception interface public: virtual const char *what() const override; }; namespace Core { enum class Scale { Global, Project, File, }; } #endif // APPCORE_H