CoreTrace Qt IDE 1.0
The CoreTrace Text editor
 
Loading...
Searching...
No Matches
ide.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "main_window.hpp"
4#include "ui_component.hpp"
5#include "audit_result.hpp"
6#include "file_tree_view.hpp"
8#include "audit_service.hpp"
9#include "ctrace_cli.hpp"
10#include "parser.hpp"
11#include "audit_cache.hpp"
12#include "error_highlighter.hpp"
13#include "project_manager.hpp"
14#include "project.hpp"
15#include "audit_factory.hpp"
16#include <QApplication>
17
18class IDE {
19public:
20 static IDE* getInstance();
21 void start();
22 void stop();
24 MainWindow* getMainWindow() const { return mainWindow; }
26
27private:
28 IDE();
29 ~IDE();
30 IDE(const IDE&) = delete;
31 IDE& operator=(const IDE&) = delete;
32
33 static IDE* instance;
37};
Provides functionality to perform audits on files.
Definition audit_service.hpp:11
The main controller for the CoreTrace IDE.
Definition ide.hpp:18
ProjectManager * getProjectManager() const
Definition ide.hpp:23
static IDE * getInstance()
Retrieves the singleton instance of the IDE.
Definition ide.cpp:24
static IDE * instance
Definition ide.hpp:33
AuditService * getAuditService() const
Definition ide.hpp:25
IDE()
Constructs the IDE object.
Definition ide.cpp:37
MainWindow * getMainWindow() const
Definition ide.hpp:24
AuditService * auditService
Definition ide.hpp:35
ProjectManager * projectManager
Definition ide.hpp:36
void start()
Starts the CoreTrace IDE.
Definition ide.cpp:72
IDE(const IDE &)=delete
IDE & operator=(const IDE &)=delete
void stop()
Stops the CoreTrace IDE.
Definition ide.cpp:88
MainWindow * mainWindow
Definition ide.hpp:34
~IDE()
Destroys the IDE object.
Definition ide.cpp:63
Definition main_window.hpp:26
Definition project_manager.hpp:8