-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaide.h
More file actions
62 lines (54 loc) · 1.65 KB
/
aide.h
File metadata and controls
62 lines (54 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#ifndef AIDE_H
#define AIDE_H
#include <QMainWindow>
#include <QList>
#include <projectfile.h>
#include <file_info.h>
#include <projectexplorer.h>
#include "editor.h"
#include "newdialog.h"
#include <QXmlStreamWriter>
#include <QXmlStreamReader>
#include <QProcess>
namespace Ui
{
class Aide;
}
class Aide : public QMainWindow
{
Q_OBJECT
public:
explicit Aide(QWidget *parent = 0);
bool addNewProject(QString name, QString filepath, ProjectFile * newProject = 0);
bool addFileToProject(int project_index,FileInfo * file);
ProjectFile * getProject(int project_index);
void startBuildSystem();
~Aide();
private:
Ui::Aide *ui;
NewDialog * mNewDialog;
QList<ProjectFile *> mOpenProjects;
QList<QStringList> mFileTypes; // ADD INITIALIZE FILES TYPES
ProjectExplorer * mProjectExplorer;
Editor * mEditor;
QProcess * mBuildSystemProcess;
QString mBuildSystemPath;
QList<QPair< QString, QStringList > > mKnownFileTypes;
QList<QPair< QString, QStringList > > mKnownMimeTypes;
QString getFilter(QString filepath);
QStringList mBuildSystemArgs;
void writeKnownFileTypes();
void loadKnownFileTypes();
void Connections();
public slots:
void createExisting();
void createFile(QString filePath);
void createProject(QString projectPath);
void readBytes();
void saveProject();
void setDebug();
void setRun();
void setClean();
void setReBuild();
};
#endif // AIDE_H