2023-03-17 13:58:38 +00:00
|
|
|
#ifndef XAPPLICATION_H
|
|
|
|
#define XAPPLICATION_H
|
|
|
|
|
2023-08-31 15:33:45 +00:00
|
|
|
#include "manager_docs.h"
|
|
|
|
#include "parsebridge.h"
|
|
|
|
|
2023-03-17 13:58:38 +00:00
|
|
|
#include <QApplication>
|
|
|
|
#include <commandsdispatcher.h>
|
2023-08-27 14:09:46 +00:00
|
|
|
#include <libConfig.h>
|
2023-08-31 15:33:45 +00:00
|
|
|
#include <libProjectManager.h>
|
2023-03-17 13:58:38 +00:00
|
|
|
|
|
|
|
class XApp : public QApplication {
|
|
|
|
public:
|
|
|
|
XApp(int argc, char **argv);
|
|
|
|
|
|
|
|
virtual bool notify(QObject *receiver, QEvent *event);
|
|
|
|
|
2023-08-31 15:33:45 +00:00
|
|
|
bridge::ParseBridge *parseService() const;
|
|
|
|
Project::ProjectManager *pjtManager() const;
|
|
|
|
Core::DocumentsManager *docsManager() const;
|
|
|
|
|
|
|
|
public:
|
2023-03-17 13:58:38 +00:00
|
|
|
static Schedule::CommandsDispatcher *const disp_core;
|
2023-08-27 14:09:46 +00:00
|
|
|
static Config::Configration *const global_configration;
|
2023-08-31 15:33:45 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
bridge::ParseBridge *const parse_service;
|
|
|
|
Project::ProjectManager *const project_manager;
|
|
|
|
Core::DocumentsManager *const active_docscollect;
|
2023-03-17 13:58:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // XAPPLICATION_H
|