35 lines
509 B
C++
35 lines
509 B
C++
#ifndef APPCORE_H
|
|
#define APPCORE_H
|
|
|
|
#include <QMenu>
|
|
#include <QObject>
|
|
#include <commandsdispatcher.h>
|
|
#include <libConfig.h>
|
|
#include <libProjectManager.h>
|
|
|
|
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
|