Skip to content

Commit d069699

Browse files
committed
Merge pull request godotengine#110752 from wheatear-dev/expand-110693
Add `GDSOFTCLASS` to six inheritors of `Object`
2 parents ba0da90 + 12e9761 commit d069699

File tree

6 files changed

+11
-0
lines changed

6 files changed

+11
-0
lines changed

editor/editor_node.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,8 @@ class EditorNode : public Node {
10141014
};
10151015

10161016
class EditorPluginList : public Object {
1017+
GDSOFTCLASS(EditorPluginList, Object);
1018+
10171019
private:
10181020
Vector<EditorPlugin *> plugins_list;
10191021

editor/scene/2d/tiles/tile_map_layer_editor.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ class TileMapLayer;
4949
class TileMapLayerEditor;
5050

5151
class TileMapLayerSubEditorPlugin : public Object {
52+
GDSOFTCLASS(TileMapLayerSubEditorPlugin, Object);
53+
5254
protected:
5355
ObjectID edited_tile_map_layer_id;
5456
TileMapLayer *_get_edited_layer() const;

platform/linuxbsd/freedesktop_portal_desktop.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ struct DBusConnection;
4141
struct DBusMessageIter;
4242

4343
class FreeDesktopPortalDesktop : public Object {
44+
GDSOFTCLASS(FreeDesktopPortalDesktop, Object);
45+
4446
private:
4547
bool unsupported = false;
4648

platform/linuxbsd/tts_linux.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
#endif
4646

4747
class TTS_Linux : public Object {
48+
GDSOFTCLASS(TTS_Linux, Object);
4849
_THREAD_SAFE_CLASS_
4950

5051
List<DisplayServer::TTSUtterance> queue;

scene/theme/theme_owner.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ class ThemeContext;
3939
class Window;
4040

4141
class ThemeOwner : public Object {
42+
GDSOFTCLASS(ThemeOwner, Object);
43+
4244
Node *holder = nullptr;
4345

4446
Control *owner_control = nullptr;

servers/rendering/rendering_device_commons.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ class VectorView {
6767
};
6868

6969
class RenderingDeviceCommons : public Object {
70+
GDSOFTCLASS(RenderingDeviceCommons, Object);
71+
7072
////////////////////////////////////////////
7173
// PUBLIC STUFF
7274
// Exposed by RenderingDevice, and shared

0 commit comments

Comments
 (0)