From 77b05256d6908902edccac434ef191cbb27c48ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 18 Feb 2020 10:35:30 +0100 Subject: [PATCH] Revert "Remove TextFile from public API" --- doc/classes/TextFile.xml | 13 +++++++++++++ scene/resources/text_file.h | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 doc/classes/TextFile.xml diff --git a/doc/classes/TextFile.xml b/doc/classes/TextFile.xml new file mode 100644 index 00000000000..1c2c2ff25cf --- /dev/null +++ b/doc/classes/TextFile.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/scene/resources/text_file.h b/scene/resources/text_file.h index 76c80ba509a..666c088d047 100644 --- a/scene/resources/text_file.h +++ b/scene/resources/text_file.h @@ -36,6 +36,8 @@ class TextFile : public Resource { + GDCLASS(TextFile, Resource); + private: String text; String path;