1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +00:00

HackStudio: Rename TextDocument => ProjectFile

TextDocument was not the right name, and got even more confusing with
the addition of GTextDocument in LibGUI.
This commit is contained in:
Andreas Kling 2019-11-01 18:40:32 +01:00
parent 45e0c841ad
commit b81f6f2c43
5 changed files with 15 additions and 15 deletions

View file

@ -1,6 +1,6 @@
#pragma once
#include "TextDocument.h"
#include "ProjectFile.h"
#include <AK/Noncopyable.h>
#include <AK/NonnullRefPtrVector.h>
#include <AK/OwnPtr.h>
@ -14,7 +14,7 @@ public:
[[nodiscard]] bool add_file(const String& filename);
TextDocument* get_file(const String& filename);
ProjectFile* get_file(const String& filename);
GModel& model() { return *m_model; }
@ -33,5 +33,5 @@ private:
String m_path;
RefPtr<GModel> m_model;
NonnullRefPtrVector<TextDocument> m_files;
NonnullRefPtrVector<ProjectFile> m_files;
};