#ifndef XAPPLICATION_H #define XAPPLICATION_H #include "manager_docs.h" #include "parsebridge.h" #include #include #include #include namespace Components { class ExtendView; } class XApp : public QApplication { public: XApp(int argc, char **argv); virtual bool notify(QObject *receiver, QEvent *event); QList viewTemplates() const; bridge::ParseBridge *parseService() const; Project::ProjectManager *pjtManager() const; Core::DocumentsManager *docsPort() const; Schedule::CommandsDispatcher *cmdsPort() const; QStandardItemModel* messageModel() const; private: bridge::ParseBridge *const parse_service; Project::ProjectManager *const project_manager; Core::DocumentsManager *const active_docscollect; Schedule::CommandsDispatcher *const disp_core; Config::Configration *const gconfig; void init_commands(Schedule::CommandsDispatcher *core); }; #endif // XAPPLICATION_H