Browse Source

Revert "Remove TextFile from public API"

Rémi Verschelde 5 years ago
parent
commit
77b05256d6
2 changed files with 15 additions and 0 deletions
  1. 13 0
      doc/classes/TextFile.xml
  2. 2 0
      scene/resources/text_file.h

+ 13 - 0
doc/classes/TextFile.xml

@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<class name="TextFile" inherits="Resource" version="4.0">
+	<brief_description>
+	</brief_description>
+	<description>
+	</description>
+	<tutorials>
+	</tutorials>
+	<methods>
+	</methods>
+	<constants>
+	</constants>
+</class>

+ 2 - 0
scene/resources/text_file.h

@@ -36,6 +36,8 @@
 
 class TextFile : public Resource {
 
+	GDCLASS(TextFile, Resource);
+
 private:
 	String text;
 	String path;