summaryrefslogtreecommitdiff
path: root/generate/src/gabble-media-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'generate/src/gabble-media-channel.c')
-rw-r--r--generate/src/gabble-media-channel.c205
1 files changed, 132 insertions, 73 deletions
diff --git a/generate/src/gabble-media-channel.c b/generate/src/gabble-media-channel.c
index 47406e994..6a0fec4c4 100644
--- a/generate/src/gabble-media-channel.c
+++ b/generate/src/gabble-media-channel.c
@@ -52,12 +52,16 @@ struct _GabbleMediaChannelPrivate
gboolean dispose_has_run;
};
-#define GABBLE_MEDIA_CHANNEL_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GABBLE_TYPE_MEDIA_CHANNEL, GabbleMediaChannelPrivate))
+#define GABBLE_MEDIA_CHANNEL_GET_PRIVATE(obj) \
+ ((GabbleMediaChannelPrivate *)obj->priv)
static void
-gabble_media_channel_init (GabbleMediaChannel *obj)
+gabble_media_channel_init (GabbleMediaChannel *self)
{
- GabbleMediaChannelPrivate *priv = GABBLE_MEDIA_CHANNEL_GET_PRIVATE (obj);
+ GabbleMediaChannelPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
+ GABBLE_TYPE_MEDIA_CHANNEL, GabbleMediaChannelPrivate);
+
+ self->priv = priv;
/* allocate any data required by the object here */
}
@@ -81,7 +85,7 @@ gabble_media_channel_class_init (GabbleMediaChannelClass *gabble_media_channel_c
G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
0,
NULL, NULL,
- gabble_media_channel_marshal_VOID__VOID,
+ g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
signals[GROUP_FLAGS_CHANGED] =
@@ -90,7 +94,7 @@ gabble_media_channel_class_init (GabbleMediaChannelClass *gabble_media_channel_c
G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
0,
NULL, NULL,
- gabble_media_channel_marshal_VOID__INT_INT,
+ gabble_media_channel_marshal_VOID__UINT_UINT,
G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT);
signals[MEMBERS_CHANGED] =
@@ -99,7 +103,7 @@ gabble_media_channel_class_init (GabbleMediaChannelClass *gabble_media_channel_c
G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
0,
NULL, NULL,
- gabble_media_channel_marshal_VOID__STRING_BOXED_BOXED_BOXED_BOXED_INT_INT,
+ gabble_media_channel_marshal_VOID__STRING_BOXED_BOXED_BOXED_BOXED_UINT_UINT,
G_TYPE_NONE, 7, G_TYPE_STRING, DBUS_TYPE_G_UINT_ARRAY, DBUS_TYPE_G_UINT_ARRAY, DBUS_TYPE_G_UINT_ARRAY, DBUS_TYPE_G_UINT_ARRAY, G_TYPE_UINT, G_TYPE_UINT);
signals[NEW_ICE_SESSION_HANDLER] =
@@ -117,7 +121,7 @@ gabble_media_channel_class_init (GabbleMediaChannelClass *gabble_media_channel_c
G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
0,
NULL, NULL,
- gabble_media_channel_marshal_VOID__INT_INT_INT,
+ gabble_media_channel_marshal_VOID__UINT_UINT_UINT,
G_TYPE_NONE, 3, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT);
signals[STREAM_REMOVED] =
@@ -126,7 +130,7 @@ gabble_media_channel_class_init (GabbleMediaChannelClass *gabble_media_channel_c
G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
0,
NULL, NULL,
- gabble_media_channel_marshal_VOID__INT,
+ g_cclosure_marshal_VOID__UINT,
G_TYPE_NONE, 1, G_TYPE_UINT);
signals[STREAM_STATE_CHANGED] =
@@ -135,7 +139,7 @@ gabble_media_channel_class_init (GabbleMediaChannelClass *gabble_media_channel_c
G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
0,
NULL, NULL,
- gabble_media_channel_marshal_VOID__INT_INT,
+ gabble_media_channel_marshal_VOID__UINT_UINT,
G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT);
dbus_g_object_type_install_info (G_TYPE_FROM_CLASS (gabble_media_channel_class), &dbus_glib_gabble_media_channel_object_info);
@@ -174,16 +178,20 @@ gabble_media_channel_finalize (GObject *object)
/**
* gabble_media_channel_add_members
*
- * Implements DBus method AddMembers
+ * Implements D-Bus method AddMembers
* on interface org.freedesktop.Telepathy.Channel.Interface.Group
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_add_members (GabbleMediaChannel *obj, const GArray * contacts, const gchar * message, GError **error)
+gboolean
+gabble_media_channel_add_members (GabbleMediaChannel *self,
+ const GArray *contacts,
+ const gchar *message,
+ GError **error)
{
return TRUE;
}
@@ -192,16 +200,18 @@ gboolean gabble_media_channel_add_members (GabbleMediaChannel *obj, const GArray
/**
* gabble_media_channel_close
*
- * Implements DBus method Close
+ * Implements D-Bus method Close
* on interface org.freedesktop.Telepathy.Channel
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_close (GabbleMediaChannel *obj, GError **error)
+gboolean
+gabble_media_channel_close (GabbleMediaChannel *self,
+ GError **error)
{
return TRUE;
}
@@ -210,16 +220,21 @@ gboolean gabble_media_channel_close (GabbleMediaChannel *obj, GError **error)
/**
* gabble_media_channel_get_all_members
*
- * Implements DBus method GetAllMembers
+ * Implements D-Bus method GetAllMembers
* on interface org.freedesktop.Telepathy.Channel.Interface.Group
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_get_all_members (GabbleMediaChannel *obj, GArray ** ret, GArray ** ret1, GArray ** ret2, GError **error)
+gboolean
+gabble_media_channel_get_all_members (GabbleMediaChannel *self,
+ GArray **ret,
+ GArray **ret1,
+ GArray **ret2,
+ GError **error)
{
return TRUE;
}
@@ -228,16 +243,19 @@ gboolean gabble_media_channel_get_all_members (GabbleMediaChannel *obj, GArray *
/**
* gabble_media_channel_get_channel_type
*
- * Implements DBus method GetChannelType
+ * Implements D-Bus method GetChannelType
* on interface org.freedesktop.Telepathy.Channel
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_get_channel_type (GabbleMediaChannel *obj, gchar ** ret, GError **error)
+gboolean
+gabble_media_channel_get_channel_type (GabbleMediaChannel *self,
+ gchar **ret,
+ GError **error)
{
return TRUE;
}
@@ -246,16 +264,19 @@ gboolean gabble_media_channel_get_channel_type (GabbleMediaChannel *obj, gchar *
/**
* gabble_media_channel_get_group_flags
*
- * Implements DBus method GetGroupFlags
+ * Implements D-Bus method GetGroupFlags
* on interface org.freedesktop.Telepathy.Channel.Interface.Group
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_get_group_flags (GabbleMediaChannel *obj, guint* ret, GError **error)
+gboolean
+gabble_media_channel_get_group_flags (GabbleMediaChannel *self,
+ guint *ret,
+ GError **error)
{
return TRUE;
}
@@ -264,16 +285,20 @@ gboolean gabble_media_channel_get_group_flags (GabbleMediaChannel *obj, guint* r
/**
* gabble_media_channel_get_handle
*
- * Implements DBus method GetHandle
+ * Implements D-Bus method GetHandle
* on interface org.freedesktop.Telepathy.Channel
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_get_handle (GabbleMediaChannel *obj, guint* ret, guint* ret1, GError **error)
+gboolean
+gabble_media_channel_get_handle (GabbleMediaChannel *self,
+ guint *ret,
+ guint *ret1,
+ GError **error)
{
return TRUE;
}
@@ -282,16 +307,20 @@ gboolean gabble_media_channel_get_handle (GabbleMediaChannel *obj, guint* ret, g
/**
* gabble_media_channel_get_handle_owners
*
- * Implements DBus method GetHandleOwners
+ * Implements D-Bus method GetHandleOwners
* on interface org.freedesktop.Telepathy.Channel.Interface.Group
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_get_handle_owners (GabbleMediaChannel *obj, const GArray * handles, GArray ** ret, GError **error)
+gboolean
+gabble_media_channel_get_handle_owners (GabbleMediaChannel *self,
+ const GArray *handles,
+ GArray **ret,
+ GError **error)
{
return TRUE;
}
@@ -300,16 +329,19 @@ gboolean gabble_media_channel_get_handle_owners (GabbleMediaChannel *obj, const
/**
* gabble_media_channel_get_interfaces
*
- * Implements DBus method GetInterfaces
+ * Implements D-Bus method GetInterfaces
* on interface org.freedesktop.Telepathy.Channel
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_get_interfaces (GabbleMediaChannel *obj, gchar *** ret, GError **error)
+gboolean
+gabble_media_channel_get_interfaces (GabbleMediaChannel *self,
+ gchar ***ret,
+ GError **error)
{
return TRUE;
}
@@ -318,16 +350,19 @@ gboolean gabble_media_channel_get_interfaces (GabbleMediaChannel *obj, gchar ***
/**
* gabble_media_channel_get_local_pending_members
*
- * Implements DBus method GetLocalPendingMembers
+ * Implements D-Bus method GetLocalPendingMembers
* on interface org.freedesktop.Telepathy.Channel.Interface.Group
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_get_local_pending_members (GabbleMediaChannel *obj, GArray ** ret, GError **error)
+gboolean
+gabble_media_channel_get_local_pending_members (GabbleMediaChannel *self,
+ GArray **ret,
+ GError **error)
{
return TRUE;
}
@@ -336,16 +371,19 @@ gboolean gabble_media_channel_get_local_pending_members (GabbleMediaChannel *obj
/**
* gabble_media_channel_get_members
*
- * Implements DBus method GetMembers
+ * Implements D-Bus method GetMembers
* on interface org.freedesktop.Telepathy.Channel.Interface.Group
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_get_members (GabbleMediaChannel *obj, GArray ** ret, GError **error)
+gboolean
+gabble_media_channel_get_members (GabbleMediaChannel *self,
+ GArray **ret,
+ GError **error)
{
return TRUE;
}
@@ -354,16 +392,19 @@ gboolean gabble_media_channel_get_members (GabbleMediaChannel *obj, GArray ** re
/**
* gabble_media_channel_get_remote_pending_members
*
- * Implements DBus method GetRemotePendingMembers
+ * Implements D-Bus method GetRemotePendingMembers
* on interface org.freedesktop.Telepathy.Channel.Interface.Group
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_get_remote_pending_members (GabbleMediaChannel *obj, GArray ** ret, GError **error)
+gboolean
+gabble_media_channel_get_remote_pending_members (GabbleMediaChannel *self,
+ GArray **ret,
+ GError **error)
{
return TRUE;
}
@@ -372,16 +413,19 @@ gboolean gabble_media_channel_get_remote_pending_members (GabbleMediaChannel *ob
/**
* gabble_media_channel_get_self_handle
*
- * Implements DBus method GetSelfHandle
+ * Implements D-Bus method GetSelfHandle
* on interface org.freedesktop.Telepathy.Channel.Interface.Group
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_get_self_handle (GabbleMediaChannel *obj, guint* ret, GError **error)
+gboolean
+gabble_media_channel_get_self_handle (GabbleMediaChannel *self,
+ guint *ret,
+ GError **error)
{
return TRUE;
}
@@ -390,16 +434,19 @@ gboolean gabble_media_channel_get_self_handle (GabbleMediaChannel *obj, guint* r
/**
* gabble_media_channel_get_session_handlers
*
- * Implements DBus method GetSessionHandlers
+ * Implements D-Bus method GetSessionHandlers
* on interface org.freedesktop.Telepathy.Channel.Interface.IceSignalling
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_get_session_handlers (GabbleMediaChannel *obj, GPtrArray ** ret, GError **error)
+gboolean
+gabble_media_channel_get_session_handlers (GabbleMediaChannel *self,
+ GPtrArray **ret,
+ GError **error)
{
return TRUE;
}
@@ -408,16 +455,19 @@ gboolean gabble_media_channel_get_session_handlers (GabbleMediaChannel *obj, GPt
/**
* gabble_media_channel_list_streams
*
- * Implements DBus method ListStreams
+ * Implements D-Bus method ListStreams
* on interface org.freedesktop.Telepathy.Channel.Type.StreamedMedia
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_list_streams (GabbleMediaChannel *obj, GPtrArray ** ret, GError **error)
+gboolean
+gabble_media_channel_list_streams (GabbleMediaChannel *self,
+ GPtrArray **ret,
+ GError **error)
{
return TRUE;
}
@@ -426,16 +476,20 @@ gboolean gabble_media_channel_list_streams (GabbleMediaChannel *obj, GPtrArray *
/**
* gabble_media_channel_remove_members
*
- * Implements DBus method RemoveMembers
+ * Implements D-Bus method RemoveMembers
* on interface org.freedesktop.Telepathy.Channel.Interface.Group
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_remove_members (GabbleMediaChannel *obj, const GArray * contacts, const gchar * message, GError **error)
+gboolean
+gabble_media_channel_remove_members (GabbleMediaChannel *self,
+ const GArray *contacts,
+ const gchar *message,
+ GError **error)
{
return TRUE;
}
@@ -444,16 +498,21 @@ gboolean gabble_media_channel_remove_members (GabbleMediaChannel *obj, const GAr
/**
* gabble_media_channel_request_streams
*
- * Implements DBus method RequestStreams
+ * Implements D-Bus method RequestStreams
* on interface org.freedesktop.Telepathy.Channel.Type.StreamedMedia
*
* @error: Used to return a pointer to a GError detailing any error
- * that occured, DBus will throw the error only if this
- * function returns false.
+ * that occured, D-Bus will throw the error only if this
+ * function returns FALSE.
*
* Returns: TRUE if successful, FALSE if an error was thrown.
*/
-gboolean gabble_media_channel_request_streams (GabbleMediaChannel *obj, guint contact_handle, const GArray * types, GArray ** ret, GError **error)
+gboolean
+gabble_media_channel_request_streams (GabbleMediaChannel *self,
+ guint contact_handle,
+ const GArray *types,
+ GArray **ret,
+ GError **error)
{
return TRUE;
}