[glib/gdbus-codegen] gdbus-codegen: Document the generated ObjectManagerClient structs
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/gdbus-codegen] gdbus-codegen: Document the generated ObjectManagerClient structs
- Date: Tue, 19 Apr 2011 17:17:00 +0000 (UTC)
commit 1ea370a1b1f27ed7c9c73224251c07175aa14487
Author: David Zeuthen <davidz redhat com>
Date: Tue Apr 19 13:16:10 2011 -0400
gdbus-codegen: Document the generated ObjectManagerClient structs
Signed-off-by: David Zeuthen <davidz redhat com>
gio/gdbus-codegen/codegen.py | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
---
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'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]