浏览代码

Revert "Remove TextFile from public API"

Rémi Verschelde 5 年之前
父节点
当前提交
77b05256d6
共有 2 个文件被更改,包括 15 次插入0 次删除
  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 {
 class TextFile : public Resource {
 
 
+	GDCLASS(TextFile, Resource);
+
 private:
 private:
 	String text;
 	String text;
 	String path;
 	String path;