1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:37:43 +00:00

HackStudio: Start working on an IDE for SerenityOS

This will be fun. :^)
This commit is contained in:
Andreas Kling 2019-10-21 18:46:55 +02:00
parent 74bba649c3
commit 0311e8d50a
6 changed files with 157 additions and 0 deletions

View 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;
};