mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
HackStudio: Start working on an IDE for SerenityOS
This will be fun. :^)
This commit is contained in:
parent
74bba649c3
commit
0311e8d50a
6 changed files with 157 additions and 0 deletions
21
DevTools/HackStudio/Project.h
Normal file
21
DevTools/HackStudio/Project.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Noncopyable.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <LibGUI/GModel.h>
|
||||
|
||||
class Project {
|
||||
AK_MAKE_NONCOPYABLE(Project)
|
||||
AK_MAKE_NONMOVABLE(Project)
|
||||
public:
|
||||
static OwnPtr<Project> load_from_file(const String& path);
|
||||
|
||||
GModel& model() { return *m_model; }
|
||||
|
||||
private:
|
||||
friend class ProjectModel;
|
||||
explicit Project(Vector<String>&& files);
|
||||
|
||||
RefPtr<GModel> m_model;
|
||||
Vector<String> m_files;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue