~ubuntu-branches/ubuntu/oneiric/dbus-glib/oneiric-updates

« back to all changes in this revision

Viewing changes to dbus/dbus-glib.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2006-11-01 10:51:01 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061101105101-2dbr969h8k05n1b2
Tags: 0.72-0ubuntu1
* Sync with pkg-utopia SVN. This is infact 0.72-1 which sits in NEW
* New upstream release
* debian/control:
  + Require libdbus-1-dev (>= 0.94) and libglib2.0-dev (>= 2.6)
  + Add build dependency on gtk-doc-tools (>= 1.4)
* debian/control,
  debian/libdbus-glib-1-doc.install:
  + Add libdbus-glib-1-doc package

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
typedef struct _DBusGMethodInfo DBusGMethodInfo;
79
79
 
80
80
/**
81
 
 * Object typically generated by dbus-binding-tool that
 
81
 * DBusGMethodInfo:
 
82
 * @function: C method to invoke
 
83
 * @marshaller: Marshaller to invoke method 
 
84
 * @data_offset: Offset into the introspection data
 
85
 *
 
86
 * Object typically generated by #dbus-binding-tool that
82
87
 * stores a mapping from introspection data to a
83
88
 * function pointer for a C method to be invoked.
84
89
 */
85
90
struct _DBusGMethodInfo
86
91
{
87
 
  GCallback                 function;    /**< C method to invoke */
88
 
  GClosureMarshal           marshaller;  /**< Marshaller to invoke method */
89
 
  int                       data_offset; /**< Offset into the introspection data */
 
92
  GCallback                 function;    
 
93
  GClosureMarshal           marshaller;  
 
94
  int                       data_offset; 
90
95
};
91
96
 
92
97
/**
93
 
 * Introspection data for a GObject, normally autogenerated by
94
 
 * a tool such as dbus-binding-tool.
 
98
 * DBusGObjectInfo:
 
99
 * @format_version: Allows us to change the rest of this struct
 
100
 *   by adding DBusGObjectInfo2, DBusGObjectInfo3, etc.
 
101
 * @method_infos:  Array of method pointers 
 
102
 * @n_method_infos: Length of the infos array 
 
103
 * @data: Introspection data 
 
104
 * @exported_signals: Exported signals
 
105
 * @exported_properties: Exported properties 
 
106
 *
 
107
 * Introspection data for a #GObject, normally autogenerated by
 
108
 * a tool such as #dbus-binding-tool.
95
109
 */
96
110
struct _DBusGObjectInfo
97
111
{
98
 
  int   format_version;         /**< Allows us to change the rest of this struct
99
 
                                 *   by adding DBusGObjectInfo2, DBusGObjectInfo3, etc.
100
 
                                 */
101
 
  const DBusGMethodInfo *method_infos; /**< Array of method pointers */
102
 
  int   n_method_infos;                /**< Length of the infos array */
103
 
  const char *data;             /**< Introspection data */
104
 
  const char *exported_signals;  /**< Exported signals */
105
 
  const char *exported_properties;  /**< Exported properties */
 
112
  int   format_version;
 
113
                       
 
114
  const DBusGMethodInfo *method_infos;
 
115
  int   n_method_infos;                
 
116
  const char *data; 
 
117
  const char *exported_signals;  
 
118
  const char *exported_properties; 
106
119
};
107
120
 
108
121
void       dbus_g_object_type_install_info     (GType                 object_type,