From 1ea370a1b1f27ed7c9c73224251c07175aa14487 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Tue, 19 Apr 2011 13:16:10 -0400 Subject: [PATCH] gdbus-codegen: Document the generated ObjectManagerClient structs Signed-off-by: David Zeuthen --- gio/gdbus-codegen/codegen.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gio/gdbus-codegen/codegen.py b/gio/gdbus-codegen/codegen.py index fe511a9..088a103 100644 --- a/gio/gdbus-codegen/codegen.py +++ b/gio/gdbus-codegen/codegen.py @@ -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' -- 2.7.4