mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
gdbus-codegen: Document the generated ObjectManagerClient structs
Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -2218,6 +2218,25 @@ class CodeGenerator:
|
||||
' */\n'
|
||||
'\n')
|
||||
|
||||
self.c.write(self.docbook_gen.expand(
|
||||
'/**\n'
|
||||
' * %sObjectManagerClient:\n'
|
||||
' *\n'
|
||||
' * The #%sObjectManagerClient structure contains only private data and should only be accessed using the provided API.\n'
|
||||
%(self.namespace, self.namespace)))
|
||||
self.c.write(' */\n')
|
||||
self.c.write('\n')
|
||||
|
||||
self.c.write(self.docbook_gen.expand(
|
||||
'/**\n'
|
||||
' * %sObjectManagerClientClass:\n'
|
||||
' * @parent_class: The parent class.\n'
|
||||
' *\n'
|
||||
' * Class structure for #%sObjectManagerClient.\n'
|
||||
%(self.namespace, self.namespace)))
|
||||
self.c.write(' */\n')
|
||||
self.c.write('\n')
|
||||
|
||||
# class boilerplate
|
||||
self.c.write('G_DEFINE_TYPE (%sObjectManagerClient, %sobject_manager_client, G_TYPE_DBUS_OBJECT_MANAGER_CLIENT);\n'
|
||||
'\n'
|
||||
|
Reference in New Issue
Block a user