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:
parent
45e0c841ad
commit
b81f6f2c43
5 changed files with 15 additions and 15 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue