Browse Source

Add GDSOFTCLASS to six inheritors of Object

Edward Moulsdale 3 weeks ago
parent
commit
12e97610a8

+ 2 - 0
editor/editor_node.h

@@ -1014,6 +1014,8 @@ public:
 };
 
 class EditorPluginList : public Object {
+	GDSOFTCLASS(EditorPluginList, Object);
+
 private:
 	Vector<EditorPlugin *> plugins_list;
 

+ 2 - 0
editor/scene/2d/tiles/tile_map_layer_editor.h

@@ -49,6 +49,8 @@ class TileMapLayer;
 class TileMapLayerEditor;
 
 class TileMapLayerSubEditorPlugin : public Object {
+	GDSOFTCLASS(TileMapLayerSubEditorPlugin, Object);
+
 protected:
 	ObjectID edited_tile_map_layer_id;
 	TileMapLayer *_get_edited_layer() const;

+ 2 - 0
platform/linuxbsd/freedesktop_portal_desktop.h

@@ -41,6 +41,8 @@ struct DBusConnection;
 struct DBusMessageIter;
 
 class FreeDesktopPortalDesktop : public Object {
+	GDSOFTCLASS(FreeDesktopPortalDesktop, Object);
+
 private:
 	bool unsupported = false;
 

+ 1 - 0
platform/linuxbsd/tts_linux.h

@@ -45,6 +45,7 @@
 #endif
 
 class TTS_Linux : public Object {
+	GDSOFTCLASS(TTS_Linux, Object);
 	_THREAD_SAFE_CLASS_
 
 	List<DisplayServer::TTSUtterance> queue;

+ 2 - 0
scene/theme/theme_owner.h

@@ -39,6 +39,8 @@ class ThemeContext;
 class Window;
 
 class ThemeOwner : public Object {
+	GDSOFTCLASS(ThemeOwner, Object);
+
 	Node *holder = nullptr;
 
 	Control *owner_control = nullptr;

+ 2 - 0
servers/rendering/rendering_device_commons.h

@@ -67,6 +67,8 @@ public:
 };
 
 class RenderingDeviceCommons : public Object {
+	GDSOFTCLASS(RenderingDeviceCommons, Object);
+
 	////////////////////////////////////////////
 	// PUBLIC STUFF
 	// Exposed by RenderingDevice, and shared