Add GDSOFTCLASS to six inheritors of Object

This commit is contained in:
Edward Moulsdale 2025-09-21 16:22:29 +01:00
parent 149a4b4ca1
commit 12e97610a8
6 changed files with 11 additions and 0 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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