summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-02-06 18:02:40 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-02-06 18:02:40 +0000
commitf5749045eb45d050fd10913c442d8c16a805f025 (patch)
treeb190f195becaf1631e5e4334190833262318a6cb
parentedff235608137207b2eef460079f9e892016c2b2 (diff)
Delete the generate directory, no longer needed now we've implemented everything in terms of telepathy-glibtelepathy-gabble_0.5.2
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
-rw-r--r--generate/.git-darcs-dir0
-rw-r--r--generate/Makefile.am8
-rw-r--r--generate/README21
-rw-r--r--generate/async_annotate.py59
-rw-r--r--generate/async_implementations13
-rw-r--r--generate/do_src.sh47
-rw-r--r--generate/do_xml.sh24
-rw-r--r--generate/gabble.def9
-rw-r--r--generate/src/.git-darcs-dir0
-rw-r--r--generate/src/gabble-connection-manager-signals-marshal.list1
-rw-r--r--generate/src/gabble-connection-manager.c183
-rw-r--r--generate/src/gabble-connection-manager.h81
-rw-r--r--generate/src/gabble-connection-signals-marshal.list3
-rw-r--r--generate/src/gabble-connection.c840
-rw-r--r--generate/src/gabble-connection.h237
-rw-r--r--generate/src/gabble-im-channel-signals-marshal.list3
-rw-r--r--generate/src/gabble-im-channel.c326
-rw-r--r--generate/src/gabble-im-channel.h104
-rw-r--r--generate/src/gabble-media-channel-signals-marshal.list5
-rw-r--r--generate/src/gabble-media-channel.c582
-rw-r--r--generate/src/gabble-media-channel.h160
-rw-r--r--generate/src/gabble-media-session-signals-marshal.list1
-rw-r--r--generate/src/gabble-media-session.c158
-rw-r--r--generate/src/gabble-media-session.h72
-rw-r--r--generate/src/gabble-media-stream-signals-marshal.list2
-rw-r--r--generate/src/gabble-media-stream.c377
-rw-r--r--generate/src/gabble-media-stream.h109
-rw-r--r--generate/src/gabble-muc-channel-signals-marshal.list5
-rw-r--r--generate/src/gabble-muc-channel.c670
-rw-r--r--generate/src/gabble-muc-channel.h180
-rw-r--r--generate/src/gabble-roomlist-channel-signals-marshal.list0
-rw-r--r--generate/src/gabble-roomlist-channel.c261
-rw-r--r--generate/src/gabble-roomlist-channel.h91
-rw-r--r--generate/src/gabble-roster-channel-signals-marshal.list2
-rw-r--r--generate/src/gabble-roster-channel.c414
-rw-r--r--generate/src/gabble-roster-channel.h132
-rw-r--r--generate/src/telepathy-errors.h61
-rw-r--r--generate/xml-modified/.git-darcs-dir0
-rw-r--r--generate/xml-modified/gabble-connection-manager.xml23
-rw-r--r--generate/xml-modified/gabble-connection.xml173
-rw-r--r--generate/xml-modified/gabble-im-channel.xml53
-rw-r--r--generate/xml-modified/gabble-media-channel.xml112
-rw-r--r--generate/xml-modified/gabble-media-session.xml16
-rw-r--r--generate/xml-modified/gabble-media-stream.xml57
-rw-r--r--generate/xml-modified/gabble-muc-channel.xml133
-rw-r--r--generate/xml-modified/gabble-roomlist-channel.xml29
-rw-r--r--generate/xml-modified/gabble-roster-channel.xml64
-rw-r--r--generate/xml-pristine/.git-darcs-dir0
-rw-r--r--generate/xml-pristine/gabble-connection-manager.xml23
-rw-r--r--generate/xml-pristine/gabble-connection.xml162
-rw-r--r--generate/xml-pristine/gabble-im-channel.xml53
-rw-r--r--generate/xml-pristine/gabble-media-channel.xml112
-rw-r--r--generate/xml-pristine/gabble-media-session.xml16
-rw-r--r--generate/xml-pristine/gabble-media-stream.xml57
-rw-r--r--generate/xml-pristine/gabble-muc-channel.xml131
-rw-r--r--generate/xml-pristine/gabble-roomlist-channel.xml29
-rw-r--r--generate/xml-pristine/gabble-roster-channel.xml64
59 files changed, 1 insertions, 6550 deletions
diff --git a/Makefile.am b/Makefile.am
index 99b979ec4..0e12a88b3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = lib src data m4 generate tests
+SUBDIRS = lib src data m4 tests
dist-hook:
chmod a+w ${distdir}/ChangeLog
diff --git a/configure.ac b/configure.ac
index 817c4c4ed..4aad06678 100644
--- a/configure.ac
+++ b/configure.ac
@@ -164,6 +164,5 @@ AC_OUTPUT( Makefile \
src/Makefile \
m4/Makefile \
data/Makefile \
- generate/Makefile \
tests/Makefile
)
diff --git a/generate/.git-darcs-dir b/generate/.git-darcs-dir
deleted file mode 100644
index e69de29bb..000000000
--- a/generate/.git-darcs-dir
+++ /dev/null
diff --git a/generate/Makefile.am b/generate/Makefile.am
deleted file mode 100644
index 8baf14166..000000000
--- a/generate/Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
-EXTRA_DIST = \
- do_src.sh \
- do_xml.sh \
- gabble.def \
- src \
- xml-pristine \
- xml-modified
-
diff --git a/generate/README b/generate/README
deleted file mode 100644
index 1e86148ca..000000000
--- a/generate/README
+++ /dev/null
@@ -1,21 +0,0 @@
-Source code in this tree was originally generated from a magical gobject
-generation tool called gengobject.py. It takes D-Bus XML introspection data and
-outputs source, header and other files like signal marshallers. To read the XML
-from generate/xml-modified/ directory, and output new source in the
-generate/src/ directory, where changes can be reveiwed and applied to the src/
-directory by hand, run generate/do_src.sh.
-
-The XML is generated from the Python classes which are the current canonical
-definition of the Telepathy interfaces, according to the definitions in
-xml.def, and the list of methods which are to be implemented as asynchronous
-in async_implementations. To generate the XML run generate/do_xml.sh. This is
-a two-stage process: firstly, the "pristine" XML in generate/xml-pristine/
-is generated from the Python classes and xml.def, and secondly, the "modified"
-XML in generate/xml-modified/ is generated by patching xml-pristine/ according
-to async_implementations.
-
-Applying the changes to the C source can be as easy as:
- darcs diff -u generate/src | patch -d src
-Patch does a much better job of applying generated changes to the modified code
-than darcs did when pulling patches from seperate trees (xml -> generate ->
-live).
diff --git a/generate/async_annotate.py b/generate/async_annotate.py
deleted file mode 100644
index f05c0674f..000000000
--- a/generate/async_annotate.py
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/usr/bin/python2.4
-
-import sys
-
-try:
- from elementtree.ElementTree import fromstring, tostring, ElementTree, Element
-except ImportError:
- print "You need to install ElementTree (http://effbot.org/zone/element-index.htm)"
- sys.exit(1)
-
-from xml.dom.minidom import parseString
-from telepathy.server import *
-
-import sys
-
-def strip (element):
- if element.text:
- element.text = element.text.strip()
- if element.tail:
- element.tail = element.tail.strip()
- for child in element:
- strip (child)
-
-class AsyncAnnotation:
- def __init__(self, line):
- self.cls, self.interface, self.method = line.strip().split()
-
-def annotate(root, annotations):
- assert root.tag == 'node'
- annotations = [a for a in annotations if root.get('name') == '/' + a.cls]
-
- for interface_elt in root:
- if interface_elt.tag != 'interface':
- continue
- for method_elt in interface_elt:
- if method_elt.tag != 'method':
- continue
- for a in annotations:
- if (interface_elt.get('name') == a.interface
- and method_elt.get('name') == a.method):
- a_elt = Element('annotation',
- name='org.freedesktop.DBus.GLib.Async',
- value='')
- method_elt.insert(0, a_elt)
-
-if __name__ == '__main__':
- annotations = [AsyncAnnotation(line) for line in file(sys.argv[1])]
-
- root = ElementTree(file=sys.argv[2]).getroot()
- annotate(root, annotations)
-
- # pretty print
- strip(root)
- xml = tostring(root)
- dom = parseString(xml)
-
- output = file(sys.argv[3], 'w')
- output.write(dom.toprettyxml(' ', '\n'))
- output.close()
diff --git a/generate/async_implementations b/generate/async_implementations
deleted file mode 100644
index 5b60a9160..000000000
--- a/generate/async_implementations
+++ /dev/null
@@ -1,13 +0,0 @@
-GabbleConnection org.freedesktop.Telepathy.Connection.Interface.Avatars GetAvatarTokens
-GabbleConnection org.freedesktop.Telepathy.Connection.Interface.Avatars RequestAvatar
-GabbleConnection org.freedesktop.Telepathy.Connection.Interface.Avatars SetAvatar
-GabbleConnection org.freedesktop.Telepathy.Connection HoldHandles
-GabbleConnection org.freedesktop.Telepathy.Connection InspectHandles
-GabbleConnection org.freedesktop.Telepathy.Connection ReleaseHandles
-GabbleConnection org.freedesktop.Telepathy.Connection RequestChannel
-GabbleConnection org.freedesktop.Telepathy.Connection RequestHandles
-GabbleConnection org.freedesktop.Telepathy.Connection.Interface.Aliasing RequestAliases
-GabbleConnection org.freedesktop.Telepathy.Connection.Interface.Presence GetPresence
-GabbleConnection org.freedesktop.Telepathy.Properties SetProperties
-GabbleMucChannel org.freedesktop.Telepathy.Channel.Interface.Password ProvidePassword
-GabbleMucChannel org.freedesktop.Telepathy.Properties SetProperties
diff --git a/generate/do_src.sh b/generate/do_src.sh
deleted file mode 100644
index 1d1563d97..000000000
--- a/generate/do_src.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-
-set -e
-
-PYVER=2.4
-PYTHON=python$PYVER
-
-if [ `basename $PWD` == "generate" ]; then
- TP=${TELEPATHY_SPEC:=$PWD/../../telepathy-spec}
-else
- TP=${TELEPATHY_SPEC:=$PWD/../telepathy-spec}
-fi
-
-export PYTHONPATH=$TP:$PYTHONPATH
-
-if test -d generate; then cd generate; fi
-cd src
-
-echo Generating GabbleConnectionManager files ...
-$PYTHON $TP/tools/gengobject.py ../xml-modified/gabble-connection-manager.xml GabbleConnectionManager
-
-echo Generating GabbleConnection files ...
-$PYTHON $TP/tools/gengobject.py ../xml-modified/gabble-connection.xml GabbleConnection
-
-echo Generating GabbleIMChannel files ...
-$PYTHON $TP/tools/gengobject.py ../xml-modified/gabble-im-channel.xml GabbleIMChannel
-
-echo Generating GabbleMucChannel files ...
-$PYTHON $TP/tools/gengobject.py ../xml-modified/gabble-muc-channel.xml GabbleMucChannel
-
-echo Generating GabbleMediaChannel files ...
-$PYTHON $TP/tools/gengobject.py ../xml-modified/gabble-media-channel.xml GabbleMediaChannel
-
-echo Generating GabbleMediaSession files ...
-$PYTHON $TP/tools/gengobject.py ../xml-modified/gabble-media-session.xml GabbleMediaSession
-
-echo Generating GabbleMediaStream files ...
-$PYTHON $TP/tools/gengobject.py ../xml-modified/gabble-media-stream.xml GabbleMediaStream
-
-echo Generating GabbleRosterChannel files ...
-$PYTHON $TP/tools/gengobject.py ../xml-modified/gabble-roster-channel.xml GabbleRosterChannel
-
-echo Generating GabbleRoomlistChannel files ...
-$PYTHON $TP/tools/gengobject.py ../xml-modified/gabble-roomlist-channel.xml GabbleRoomlistChannel
-
-echo Generating error enums ...
-$PYTHON $TP/tools/generrors.py
diff --git a/generate/do_xml.sh b/generate/do_xml.sh
deleted file mode 100644
index 8ac5fdaf8..000000000
--- a/generate/do_xml.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-set -e
-
-PYVER=2.4
-PYTHON=python$PYVER
-
-if [ `basename $PWD` == "generate" ]; then
- TP=${TELEPATHY_SPEC:=$PWD/../../telepathy-spec}
-else
- TP=${TELEPATHY_SPEC:=$PWD/../telepathy-spec}
-fi
-
-export PYTHONPATH=$TP:$PYTHONPATH
-
-if test -d generate; then cd generate; fi
-cd xml-pristine
-
-echo "Generating pristine XML in generate/xml-pristine..."
-$PYTHON $TP/tools/genxml.py ../gabble.def
-echo "Patching XML to incorporate async annotations..."
-for x in *.xml; do
- $PYTHON ../async_annotate.py ../async_implementations $x ../xml-modified/$x
-done
diff --git a/generate/gabble.def b/generate/gabble.def
deleted file mode 100644
index e12cc1ea4..000000000
--- a/generate/gabble.def
+++ /dev/null
@@ -1,9 +0,0 @@
-gabble-connection-manager.xml GabbleConnectionManager ConnectionManager
-gabble-connection.xml GabbleConnection Connection, ConnectionInterfaceAvatars, ConnectionInterfaceAliasing, ConnectionInterfacePresence, PropertiesInterface, ConnectionInterfaceCapabilities
-gabble-im-channel.xml GabbleIMChannel ChannelTypeText
-gabble-muc-channel.xml GabbleMucChannel ChannelTypeText, ChannelInterfaceGroup, ChannelInterfacePassword, PropertiesInterface
-gabble-roster-channel.xml GabbleRosterChannel ChannelTypeContactList, ChannelInterfaceGroup
-gabble-media-channel.xml GabbleMediaChannel ChannelTypeStreamedMedia, ChannelInterfaceGroup, ChannelInterfaceMediaSignalling
-gabble-media-session.xml GabbleMediaSession MediaSessionHandler
-gabble-media-stream.xml GabbleMediaStream MediaStreamHandler
-gabble-roomlist-channel.xml GabbleRoomlistChannel ChannelTypeRoomList
diff --git a/generate/src/.git-darcs-dir b/generate/src/.git-darcs-dir
deleted file mode 100644
index e69de29bb..000000000
--- a/generate/src/.git-darcs-dir
+++ /dev/null
diff --git a/generate/src/gabble-connection-manager-signals-marshal.list b/generate/src/gabble-connection-manager-signals-marshal.list
deleted file mode 100644
index 41e40276c..000000000
--- a/generate/src/gabble-connection-manager-signals-marshal.list
+++ /dev/null
@@ -1 +0,0 @@
-VOID:STRING,STRING,STRING
diff --git a/generate/src/gabble-connection-manager.c b/generate/src/gabble-connection-manager.c
deleted file mode 100644
index 2969b6eb5..000000000
--- a/generate/src/gabble-connection-manager.c
+++ /dev/null
@@ -1,183 +0,0 @@
-/*
- * gabble-connection-manager.c - Source for GabbleConnectionManager
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <dbus/dbus-glib.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "gabble-connection-manager.h"
-#include "gabble-connection-manager-signals-marshal.h"
-
-#include "gabble-connection-manager-glue.h"
-
-G_DEFINE_TYPE(GabbleConnectionManager, gabble_connection_manager, G_TYPE_OBJECT)
-
-/* signal enum */
-enum
-{
- NEW_CONNECTION,
- LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL] = {0};
-
-/* private structure */
-typedef struct _GabbleConnectionManagerPrivate GabbleConnectionManagerPrivate;
-
-struct _GabbleConnectionManagerPrivate
-{
- gboolean dispose_has_run;
-};
-
-#define GABBLE_CONNECTION_MANAGER_GET_PRIVATE(obj) \
- ((GabbleConnectionManagerPrivate *)obj->priv)
-
-static void
-gabble_connection_manager_init (GabbleConnectionManager *self)
-{
- GabbleConnectionManagerPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
- GABBLE_TYPE_CONNECTION_MANAGER, GabbleConnectionManagerPrivate);
-
- self->priv = priv;
-
- /* allocate any data required by the object here */
-}
-
-static void gabble_connection_manager_dispose (GObject *object);
-static void gabble_connection_manager_finalize (GObject *object);
-
-static void
-gabble_connection_manager_class_init (GabbleConnectionManagerClass *gabble_connection_manager_class)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (gabble_connection_manager_class);
-
- g_type_class_add_private (gabble_connection_manager_class, sizeof (GabbleConnectionManagerPrivate));
-
- object_class->dispose = gabble_connection_manager_dispose;
- object_class->finalize = gabble_connection_manager_finalize;
-
- signals[NEW_CONNECTION] =
- g_signal_new ("new-connection",
- G_OBJECT_CLASS_TYPE (gabble_connection_manager_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_connection_manager_marshal_VOID__STRING_STRING_STRING,
- G_TYPE_NONE, 3, G_TYPE_STRING, DBUS_TYPE_G_OBJECT_PATH, G_TYPE_STRING);
-
- dbus_g_object_type_install_info (G_TYPE_FROM_CLASS (gabble_connection_manager_class), &dbus_glib_gabble_connection_manager_object_info);
-}
-
-void
-gabble_connection_manager_dispose (GObject *object)
-{
- GabbleConnectionManager *self = GABBLE_CONNECTION_MANAGER (object);
- GabbleConnectionManagerPrivate *priv = GABBLE_CONNECTION_MANAGER_GET_PRIVATE (self);
-
- if (priv->dispose_has_run)
- return;
-
- priv->dispose_has_run = TRUE;
-
- /* release any references held by the object here */
-
- if (G_OBJECT_CLASS (gabble_connection_manager_parent_class)->dispose)
- G_OBJECT_CLASS (gabble_connection_manager_parent_class)->dispose (object);
-}
-
-void
-gabble_connection_manager_finalize (GObject *object)
-{
- GabbleConnectionManager *self = GABBLE_CONNECTION_MANAGER (object);
- GabbleConnectionManagerPrivate *priv = GABBLE_CONNECTION_MANAGER_GET_PRIVATE (self);
-
- /* free any data held directly by the object here */
-
- G_OBJECT_CLASS (gabble_connection_manager_parent_class)->finalize (object);
-}
-
-
-
-/**
- * gabble_connection_manager_get_parameters
- *
- * Implements D-Bus method GetParameters
- * on interface org.freedesktop.Telepathy.ConnectionManager
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_manager_get_parameters (GabbleConnectionManager *self,
- const gchar *proto,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_manager_list_protocols
- *
- * Implements D-Bus method ListProtocols
- * on interface org.freedesktop.Telepathy.ConnectionManager
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_manager_list_protocols (GabbleConnectionManager *self,
- gchar ***ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_manager_request_connection
- *
- * Implements D-Bus method RequestConnection
- * on interface org.freedesktop.Telepathy.ConnectionManager
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_manager_request_connection (GabbleConnectionManager *self,
- const gchar *proto,
- GHashTable *parameters,
- gchar **ret,
- gchar **ret1,
- GError **error)
-{
- return TRUE;
-}
-
diff --git a/generate/src/gabble-connection-manager.h b/generate/src/gabble-connection-manager.h
deleted file mode 100644
index 1605b0b65..000000000
--- a/generate/src/gabble-connection-manager.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * gabble-connection-manager.h - Header for GabbleConnectionManager
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __GABBLE_CONNECTION_MANAGER_H__
-#define __GABBLE_CONNECTION_MANAGER_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GabbleConnectionManager GabbleConnectionManager;
-typedef struct _GabbleConnectionManagerClass GabbleConnectionManagerClass;
-
-struct _GabbleConnectionManagerClass {
- GObjectClass parent_class;
-};
-
-struct _GabbleConnectionManager {
- GObject parent;
-
- gpointer priv;
-};
-
-GType gabble_connection_manager_get_type(void);
-
-/* TYPE MACROS */
-#define GABBLE_TYPE_CONNECTION_MANAGER \
- (gabble_connection_manager_get_type())
-#define GABBLE_CONNECTION_MANAGER(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_CONNECTION_MANAGER, GabbleConnectionManager))
-#define GABBLE_CONNECTION_MANAGER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_CONNECTION_MANAGER, GabbleConnectionManagerClass))
-#define GABBLE_IS_CONNECTION_MANAGER(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_CONNECTION_MANAGER))
-#define GABBLE_IS_CONNECTION_MANAGER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_CONNECTION_MANAGER))
-#define GABBLE_CONNECTION_MANAGER_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_CONNECTION_MANAGER, GabbleConnectionManagerClass))
-
-
-gboolean
-gabble_connection_manager_get_parameters (GabbleConnectionManager *self,
- const gchar *proto,
- GPtrArray **ret,
- GError **error);
-
-gboolean
-gabble_connection_manager_list_protocols (GabbleConnectionManager *self,
- gchar ***ret,
- GError **error);
-
-gboolean
-gabble_connection_manager_request_connection (GabbleConnectionManager *self,
- const gchar *proto,
- GHashTable *parameters,
- gchar **ret,
- gchar **ret1,
- GError **error);
-
-
-
-G_END_DECLS
-
-#endif /* #ifndef __GABBLE_CONNECTION_MANAGER_H__*/
diff --git a/generate/src/gabble-connection-signals-marshal.list b/generate/src/gabble-connection-signals-marshal.list
deleted file mode 100644
index 3b6abc580..000000000
--- a/generate/src/gabble-connection-signals-marshal.list
+++ /dev/null
@@ -1,3 +0,0 @@
-VOID:STRING,STRING,UINT,UINT,BOOLEAN
-VOID:UINT,STRING
-VOID:UINT,UINT
diff --git a/generate/src/gabble-connection.c b/generate/src/gabble-connection.c
deleted file mode 100644
index 39cc98407..000000000
--- a/generate/src/gabble-connection.c
+++ /dev/null
@@ -1,840 +0,0 @@
-/*
- * gabble-connection.c - Source for GabbleConnection
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <dbus/dbus-glib.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "gabble-connection.h"
-#include "gabble-connection-signals-marshal.h"
-
-#include "gabble-connection-glue.h"
-
-G_DEFINE_TYPE(GabbleConnection, gabble_connection, G_TYPE_OBJECT)
-
-/* signal enum */
-enum
-{
- ALIASES_CHANGED,
- AVATAR_UPDATED,
- CAPABILITIES_CHANGED,
- NEW_CHANNEL,
- PRESENCE_UPDATE,
- PROPERTIES_CHANGED,
- PROPERTY_FLAGS_CHANGED,
- STATUS_CHANGED,
- LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL] = {0};
-
-/* private structure */
-typedef struct _GabbleConnectionPrivate GabbleConnectionPrivate;
-
-struct _GabbleConnectionPrivate
-{
- gboolean dispose_has_run;
-};
-
-#define GABBLE_CONNECTION_GET_PRIVATE(obj) \
- ((GabbleConnectionPrivate *)obj->priv)
-
-static void
-gabble_connection_init (GabbleConnection *self)
-{
- GabbleConnectionPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
- GABBLE_TYPE_CONNECTION, GabbleConnectionPrivate);
-
- self->priv = priv;
-
- /* allocate any data required by the object here */
-}
-
-static void gabble_connection_dispose (GObject *object);
-static void gabble_connection_finalize (GObject *object);
-
-static void
-gabble_connection_class_init (GabbleConnectionClass *gabble_connection_class)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (gabble_connection_class);
-
- g_type_class_add_private (gabble_connection_class, sizeof (GabbleConnectionPrivate));
-
- object_class->dispose = gabble_connection_dispose;
- object_class->finalize = gabble_connection_finalize;
-
- signals[ALIASES_CHANGED] =
- g_signal_new ("aliases-changed",
- G_OBJECT_CLASS_TYPE (gabble_connection_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOXED,
- G_TYPE_NONE, 1, (dbus_g_type_get_collection ("GPtrArray", (dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_INVALID)))));
-
- signals[AVATAR_UPDATED] =
- g_signal_new ("avatar-updated",
- G_OBJECT_CLASS_TYPE (gabble_connection_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_connection_marshal_VOID__UINT_STRING,
- G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_STRING);
-
- signals[CAPABILITIES_CHANGED] =
- g_signal_new ("capabilities-changed",
- G_OBJECT_CLASS_TYPE (gabble_connection_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOXED,
- G_TYPE_NONE, 1, (dbus_g_type_get_collection ("GPtrArray", (dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)))));
-
- signals[NEW_CHANNEL] =
- g_signal_new ("new-channel",
- G_OBJECT_CLASS_TYPE (gabble_connection_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_connection_marshal_VOID__STRING_STRING_UINT_UINT_BOOLEAN,
- G_TYPE_NONE, 5, DBUS_TYPE_G_OBJECT_PATH, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_BOOLEAN);
-
- signals[PRESENCE_UPDATE] =
- g_signal_new ("presence-update",
- G_OBJECT_CLASS_TYPE (gabble_connection_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOXED,
- G_TYPE_NONE, 1, (dbus_g_type_get_map ("GHashTable", G_TYPE_UINT, (dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, (dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, (dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE)))), G_TYPE_INVALID)))));
-
- signals[PROPERTIES_CHANGED] =
- g_signal_new ("properties-changed",
- G_OBJECT_CLASS_TYPE (gabble_connection_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOXED,
- G_TYPE_NONE, 1, (dbus_g_type_get_collection ("GPtrArray", (dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_VALUE, G_TYPE_INVALID)))));
-
- signals[PROPERTY_FLAGS_CHANGED] =
- g_signal_new ("property-flags-changed",
- G_OBJECT_CLASS_TYPE (gabble_connection_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOXED,
- G_TYPE_NONE, 1, (dbus_g_type_get_collection ("GPtrArray", (dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)))));
-
- signals[STATUS_CHANGED] =
- g_signal_new ("status-changed",
- G_OBJECT_CLASS_TYPE (gabble_connection_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_connection_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_connection_class), &dbus_glib_gabble_connection_object_info);
-}
-
-void
-gabble_connection_dispose (GObject *object)
-{
- GabbleConnection *self = GABBLE_CONNECTION (object);
- GabbleConnectionPrivate *priv = GABBLE_CONNECTION_GET_PRIVATE (self);
-
- if (priv->dispose_has_run)
- return;
-
- priv->dispose_has_run = TRUE;
-
- /* release any references held by the object here */
-
- if (G_OBJECT_CLASS (gabble_connection_parent_class)->dispose)
- G_OBJECT_CLASS (gabble_connection_parent_class)->dispose (object);
-}
-
-void
-gabble_connection_finalize (GObject *object)
-{
- GabbleConnection *self = GABBLE_CONNECTION (object);
- GabbleConnectionPrivate *priv = GABBLE_CONNECTION_GET_PRIVATE (self);
-
- /* free any data held directly by the object here */
-
- G_OBJECT_CLASS (gabble_connection_parent_class)->finalize (object);
-}
-
-
-
-/**
- * gabble_connection_add_status
- *
- * Implements D-Bus method AddStatus
- * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_add_status (GabbleConnection *self,
- const gchar *status,
- GHashTable *parms,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_advertise_capabilities
- *
- * Implements D-Bus method AdvertiseCapabilities
- * on interface org.freedesktop.Telepathy.Connection.Interface.Capabilities
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_advertise_capabilities (GabbleConnection *self,
- const GPtrArray *add,
- const gchar **remove,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_clear_status
- *
- * Implements D-Bus method ClearStatus
- * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_clear_status (GabbleConnection *self,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_connect
- *
- * Implements D-Bus method Connect
- * on interface org.freedesktop.Telepathy.Connection
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_connect (GabbleConnection *self,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_disconnect
- *
- * Implements D-Bus method Disconnect
- * on interface org.freedesktop.Telepathy.Connection
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_disconnect (GabbleConnection *self,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_get_alias_flags
- *
- * Implements D-Bus method GetAliasFlags
- * on interface org.freedesktop.Telepathy.Connection.Interface.Aliasing
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_get_alias_flags (GabbleConnection *self,
- guint *ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_get_avatar_requirements
- *
- * Implements D-Bus method GetAvatarRequirements
- * on interface org.freedesktop.Telepathy.Connection.Interface.Avatars
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_get_avatar_requirements (GabbleConnection *self,
- gchar ***ret,
- guint *ret1,
- guint *ret2,
- guint *ret3,
- guint *ret4,
- guint *ret5,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_get_avatar_tokens
- *
- * Implements D-Bus method GetAvatarTokens
- * on interface org.freedesktop.Telepathy.Connection.Interface.Avatars
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_connection_get_avatar_tokens (GabbleConnection *self,
- const GArray *contacts,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
-
-/**
- * gabble_connection_get_capabilities
- *
- * Implements D-Bus method GetCapabilities
- * on interface org.freedesktop.Telepathy.Connection.Interface.Capabilities
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_get_capabilities (GabbleConnection *self,
- const GArray *handles,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_get_interfaces
- *
- * Implements D-Bus method GetInterfaces
- * on interface org.freedesktop.Telepathy.Connection
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_get_interfaces (GabbleConnection *self,
- gchar ***ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_get_presence
- *
- * Implements D-Bus method GetPresence
- * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_connection_get_presence (GabbleConnection *self,
- const GArray *contacts,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
-
-/**
- * gabble_connection_get_properties
- *
- * Implements D-Bus method GetProperties
- * on interface org.freedesktop.Telepathy.Properties
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_get_properties (GabbleConnection *self,
- const GArray *properties,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_get_protocol
- *
- * Implements D-Bus method GetProtocol
- * on interface org.freedesktop.Telepathy.Connection
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_get_protocol (GabbleConnection *self,
- gchar **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_get_self_handle
- *
- * Implements D-Bus method GetSelfHandle
- * on interface org.freedesktop.Telepathy.Connection
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_get_self_handle (GabbleConnection *self,
- guint *ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_get_status
- *
- * Implements D-Bus method GetStatus
- * on interface org.freedesktop.Telepathy.Connection
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_get_status (GabbleConnection *self,
- guint *ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_get_statuses
- *
- * Implements D-Bus method GetStatuses
- * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_get_statuses (GabbleConnection *self,
- GHashTable **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_hold_handles
- *
- * Implements D-Bus method HoldHandles
- * on interface org.freedesktop.Telepathy.Connection
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_connection_hold_handles (GabbleConnection *self,
- guint handle_type,
- const GArray *handles,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
-
-/**
- * gabble_connection_inspect_handles
- *
- * Implements D-Bus method InspectHandles
- * on interface org.freedesktop.Telepathy.Connection
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_connection_inspect_handles (GabbleConnection *self,
- guint handle_type,
- const GArray *handles,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
-
-/**
- * gabble_connection_list_channels
- *
- * Implements D-Bus method ListChannels
- * on interface org.freedesktop.Telepathy.Connection
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_list_channels (GabbleConnection *self,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_list_properties
- *
- * Implements D-Bus method ListProperties
- * on interface org.freedesktop.Telepathy.Properties
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_list_properties (GabbleConnection *self,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_release_handles
- *
- * Implements D-Bus method ReleaseHandles
- * on interface org.freedesktop.Telepathy.Connection
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_connection_release_handles (GabbleConnection *self,
- guint handle_type,
- const GArray *handles,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
-
-/**
- * gabble_connection_remove_status
- *
- * Implements D-Bus method RemoveStatus
- * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_remove_status (GabbleConnection *self,
- const gchar *status,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_request_aliases
- *
- * Implements D-Bus method RequestAliases
- * on interface org.freedesktop.Telepathy.Connection.Interface.Aliasing
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_connection_request_aliases (GabbleConnection *self,
- const GArray *contacts,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
-
-/**
- * gabble_connection_request_avatar
- *
- * Implements D-Bus method RequestAvatar
- * on interface org.freedesktop.Telepathy.Connection.Interface.Avatars
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_connection_request_avatar (GabbleConnection *self,
- guint contact,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
-
-/**
- * gabble_connection_request_channel
- *
- * Implements D-Bus method RequestChannel
- * on interface org.freedesktop.Telepathy.Connection
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_connection_request_channel (GabbleConnection *self,
- const gchar *type,
- guint handle_type,
- guint handle,
- gboolean suppress_handler,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
-
-/**
- * gabble_connection_request_handles
- *
- * Implements D-Bus method RequestHandles
- * on interface org.freedesktop.Telepathy.Connection
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_connection_request_handles (GabbleConnection *self,
- guint handle_type,
- const gchar **names,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
-
-/**
- * gabble_connection_request_presence
- *
- * Implements D-Bus method RequestPresence
- * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_request_presence (GabbleConnection *self,
- const GArray *contacts,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_set_aliases
- *
- * Implements D-Bus method SetAliases
- * on interface org.freedesktop.Telepathy.Connection.Interface.Aliasing
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_set_aliases (GabbleConnection *self,
- GHashTable *aliases,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_set_avatar
- *
- * Implements D-Bus method SetAvatar
- * on interface org.freedesktop.Telepathy.Connection.Interface.Avatars
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_connection_set_avatar (GabbleConnection *self,
- const GArray *avatar,
- const gchar *mime_type,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
-
-/**
- * gabble_connection_set_last_activity_time
- *
- * Implements D-Bus method SetLastActivityTime
- * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_set_last_activity_time (GabbleConnection *self,
- guint time,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_connection_set_properties
- *
- * Implements D-Bus method SetProperties
- * on interface org.freedesktop.Telepathy.Properties
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_connection_set_properties (GabbleConnection *self,
- const GPtrArray *properties,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
-
-/**
- * gabble_connection_set_status
- *
- * Implements D-Bus method SetStatus
- * on interface org.freedesktop.Telepathy.Connection.Interface.Presence
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_connection_set_status (GabbleConnection *self,
- GHashTable *statuses,
- GError **error)
-{
- return TRUE;
-}
-
diff --git a/generate/src/gabble-connection.h b/generate/src/gabble-connection.h
deleted file mode 100644
index 4e2e8f31f..000000000
--- a/generate/src/gabble-connection.h
+++ /dev/null
@@ -1,237 +0,0 @@
-/*
- * gabble-connection.h - Header for GabbleConnection
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __GABBLE_CONNECTION_H__
-#define __GABBLE_CONNECTION_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GabbleConnection GabbleConnection;
-typedef struct _GabbleConnectionClass GabbleConnectionClass;
-
-struct _GabbleConnectionClass {
- GObjectClass parent_class;
-};
-
-struct _GabbleConnection {
- GObject parent;
-
- gpointer priv;
-};
-
-GType gabble_connection_get_type(void);
-
-/* TYPE MACROS */
-#define GABBLE_TYPE_CONNECTION \
- (gabble_connection_get_type())
-#define GABBLE_CONNECTION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_CONNECTION, GabbleConnection))
-#define GABBLE_CONNECTION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_CONNECTION, GabbleConnectionClass))
-#define GABBLE_IS_CONNECTION(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_CONNECTION))
-#define GABBLE_IS_CONNECTION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_CONNECTION))
-#define GABBLE_CONNECTION_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_CONNECTION, GabbleConnectionClass))
-
-
-gboolean
-gabble_connection_add_status (GabbleConnection *self,
- const gchar *status,
- GHashTable *parms,
- GError **error);
-
-gboolean
-gabble_connection_advertise_capabilities (GabbleConnection *self,
- const GPtrArray *add,
- const gchar **remove,
- GPtrArray **ret,
- GError **error);
-
-gboolean
-gabble_connection_clear_status (GabbleConnection *self,
- GError **error);
-
-gboolean
-gabble_connection_connect (GabbleConnection *self,
- GError **error);
-
-gboolean
-gabble_connection_disconnect (GabbleConnection *self,
- GError **error);
-
-gboolean
-gabble_connection_get_alias_flags (GabbleConnection *self,
- guint *ret,
- GError **error);
-
-gboolean
-gabble_connection_get_avatar_requirements (GabbleConnection *self,
- gchar ***ret,
- guint *ret1,
- guint *ret2,
- guint *ret3,
- guint *ret4,
- guint *ret5,
- GError **error);
-
-void
-gabble_connection_get_avatar_tokens (GabbleConnection *self,
- const GArray *contacts,
- DBusGMethodInvocation *context);
-
-gboolean
-gabble_connection_get_capabilities (GabbleConnection *self,
- const GArray *handles,
- GPtrArray **ret,
- GError **error);
-
-gboolean
-gabble_connection_get_interfaces (GabbleConnection *self,
- gchar ***ret,
- GError **error);
-
-void
-gabble_connection_get_presence (GabbleConnection *self,
- const GArray *contacts,
- DBusGMethodInvocation *context);
-
-gboolean
-gabble_connection_get_properties (GabbleConnection *self,
- const GArray *properties,
- GPtrArray **ret,
- GError **error);
-
-gboolean
-gabble_connection_get_protocol (GabbleConnection *self,
- gchar **ret,
- GError **error);
-
-gboolean
-gabble_connection_get_self_handle (GabbleConnection *self,
- guint *ret,
- GError **error);
-
-gboolean
-gabble_connection_get_status (GabbleConnection *self,
- guint *ret,
- GError **error);
-
-gboolean
-gabble_connection_get_statuses (GabbleConnection *self,
- GHashTable **ret,
- GError **error);
-
-void
-gabble_connection_hold_handles (GabbleConnection *self,
- guint handle_type,
- const GArray *handles,
- DBusGMethodInvocation *context);
-
-void
-gabble_connection_inspect_handles (GabbleConnection *self,
- guint handle_type,
- const GArray *handles,
- DBusGMethodInvocation *context);
-
-gboolean
-gabble_connection_list_channels (GabbleConnection *self,
- GPtrArray **ret,
- GError **error);
-
-gboolean
-gabble_connection_list_properties (GabbleConnection *self,
- GPtrArray **ret,
- GError **error);
-
-void
-gabble_connection_release_handles (GabbleConnection *self,
- guint handle_type,
- const GArray *handles,
- DBusGMethodInvocation *context);
-
-gboolean
-gabble_connection_remove_status (GabbleConnection *self,
- const gchar *status,
- GError **error);
-
-void
-gabble_connection_request_aliases (GabbleConnection *self,
- const GArray *contacts,
- DBusGMethodInvocation *context);
-
-void
-gabble_connection_request_avatar (GabbleConnection *self,
- guint contact,
- DBusGMethodInvocation *context);
-
-void
-gabble_connection_request_channel (GabbleConnection *self,
- const gchar *type,
- guint handle_type,
- guint handle,
- gboolean suppress_handler,
- DBusGMethodInvocation *context);
-
-void
-gabble_connection_request_handles (GabbleConnection *self,
- guint handle_type,
- const gchar **names,
- DBusGMethodInvocation *context);
-
-gboolean
-gabble_connection_request_presence (GabbleConnection *self,
- const GArray *contacts,
- GError **error);
-
-gboolean
-gabble_connection_set_aliases (GabbleConnection *self,
- GHashTable *aliases,
- GError **error);
-
-void
-gabble_connection_set_avatar (GabbleConnection *self,
- const GArray *avatar,
- const gchar *mime_type,
- DBusGMethodInvocation *context);
-
-gboolean
-gabble_connection_set_last_activity_time (GabbleConnection *self,
- guint time,
- GError **error);
-
-void
-gabble_connection_set_properties (GabbleConnection *self,
- const GPtrArray *properties,
- DBusGMethodInvocation *context);
-
-gboolean
-gabble_connection_set_status (GabbleConnection *self,
- GHashTable *statuses,
- GError **error);
-
-
-
-G_END_DECLS
-
-#endif /* #ifndef __GABBLE_CONNECTION_H__*/
diff --git a/generate/src/gabble-im-channel-signals-marshal.list b/generate/src/gabble-im-channel-signals-marshal.list
deleted file mode 100644
index da94b09b2..000000000
--- a/generate/src/gabble-im-channel-signals-marshal.list
+++ /dev/null
@@ -1,3 +0,0 @@
-VOID:UINT,UINT,UINT,UINT,UINT,STRING
-VOID:UINT,UINT,UINT,STRING
-VOID:UINT,UINT,STRING
diff --git a/generate/src/gabble-im-channel.c b/generate/src/gabble-im-channel.c
deleted file mode 100644
index 3e066aa37..000000000
--- a/generate/src/gabble-im-channel.c
+++ /dev/null
@@ -1,326 +0,0 @@
-/*
- * gabble-im-channel.c - Source for GabbleIMChannel
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <dbus/dbus-glib.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "gabble-im-channel.h"
-#include "gabble-im-channel-signals-marshal.h"
-
-#include "gabble-im-channel-glue.h"
-
-G_DEFINE_TYPE(GabbleIMChannel, gabble_im_channel, G_TYPE_OBJECT)
-
-/* signal enum */
-enum
-{
- CLOSED,
- LOST_MESSAGE,
- RECEIVED,
- SEND_ERROR,
- SENT,
- LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL] = {0};
-
-/* private structure */
-typedef struct _GabbleIMChannelPrivate GabbleIMChannelPrivate;
-
-struct _GabbleIMChannelPrivate
-{
- gboolean dispose_has_run;
-};
-
-#define GABBLE_IM_CHANNEL_GET_PRIVATE(obj) \
- ((GabbleIMChannelPrivate *)obj->priv)
-
-static void
-gabble_im_channel_init (GabbleIMChannel *self)
-{
- GabbleIMChannelPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
- GABBLE_TYPE_IM_CHANNEL, GabbleIMChannelPrivate);
-
- self->priv = priv;
-
- /* allocate any data required by the object here */
-}
-
-static void gabble_im_channel_dispose (GObject *object);
-static void gabble_im_channel_finalize (GObject *object);
-
-static void
-gabble_im_channel_class_init (GabbleIMChannelClass *gabble_im_channel_class)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (gabble_im_channel_class);
-
- g_type_class_add_private (gabble_im_channel_class, sizeof (GabbleIMChannelPrivate));
-
- object_class->dispose = gabble_im_channel_dispose;
- object_class->finalize = gabble_im_channel_finalize;
-
- signals[CLOSED] =
- g_signal_new ("closed",
- G_OBJECT_CLASS_TYPE (gabble_im_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE, 0);
-
- signals[LOST_MESSAGE] =
- g_signal_new ("lost-message",
- G_OBJECT_CLASS_TYPE (gabble_im_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE, 0);
-
- signals[RECEIVED] =
- g_signal_new ("received",
- G_OBJECT_CLASS_TYPE (gabble_im_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_im_channel_marshal_VOID__UINT_UINT_UINT_UINT_UINT_STRING,
- G_TYPE_NONE, 6, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING);
-
- signals[SEND_ERROR] =
- g_signal_new ("send-error",
- G_OBJECT_CLASS_TYPE (gabble_im_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_im_channel_marshal_VOID__UINT_UINT_UINT_STRING,
- G_TYPE_NONE, 4, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING);
-
- signals[SENT] =
- g_signal_new ("sent",
- G_OBJECT_CLASS_TYPE (gabble_im_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_im_channel_marshal_VOID__UINT_UINT_STRING,
- G_TYPE_NONE, 3, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING);
-
- dbus_g_object_type_install_info (G_TYPE_FROM_CLASS (gabble_im_channel_class), &dbus_glib_gabble_im_channel_object_info);
-}
-
-void
-gabble_im_channel_dispose (GObject *object)
-{
- GabbleIMChannel *self = GABBLE_IM_CHANNEL (object);
- GabbleIMChannelPrivate *priv = GABBLE_IM_CHANNEL_GET_PRIVATE (self);
-
- if (priv->dispose_has_run)
- return;
-
- priv->dispose_has_run = TRUE;
-
- /* release any references held by the object here */
-
- if (G_OBJECT_CLASS (gabble_im_channel_parent_class)->dispose)
- G_OBJECT_CLASS (gabble_im_channel_parent_class)->dispose (object);
-}
-
-void
-gabble_im_channel_finalize (GObject *object)
-{
- GabbleIMChannel *self = GABBLE_IM_CHANNEL (object);
- GabbleIMChannelPrivate *priv = GABBLE_IM_CHANNEL_GET_PRIVATE (self);
-
- /* free any data held directly by the object here */
-
- G_OBJECT_CLASS (gabble_im_channel_parent_class)->finalize (object);
-}
-
-
-
-/**
- * gabble_im_channel_acknowledge_pending_messages
- *
- * Implements D-Bus method AcknowledgePendingMessages
- * on interface org.freedesktop.Telepathy.Channel.Type.Text
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_im_channel_acknowledge_pending_messages (GabbleIMChannel *self,
- const GArray *ids,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_im_channel_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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_im_channel_close (GabbleIMChannel *self,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_im_channel_get_channel_type
- *
- * Implements D-Bus method GetChannelType
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_im_channel_get_channel_type (GabbleIMChannel *self,
- gchar **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_im_channel_get_handle
- *
- * Implements D-Bus method GetHandle
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_im_channel_get_handle (GabbleIMChannel *self,
- guint *ret,
- guint *ret1,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_im_channel_get_interfaces
- *
- * Implements D-Bus method GetInterfaces
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_im_channel_get_interfaces (GabbleIMChannel *self,
- gchar ***ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_im_channel_get_message_types
- *
- * Implements D-Bus method GetMessageTypes
- * on interface org.freedesktop.Telepathy.Channel.Type.Text
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_im_channel_get_message_types (GabbleIMChannel *self,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_im_channel_list_pending_messages
- *
- * Implements D-Bus method ListPendingMessages
- * on interface org.freedesktop.Telepathy.Channel.Type.Text
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_im_channel_list_pending_messages (GabbleIMChannel *self,
- gboolean clear,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_im_channel_send
- *
- * Implements D-Bus method Send
- * on interface org.freedesktop.Telepathy.Channel.Type.Text
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_im_channel_send (GabbleIMChannel *self,
- guint type,
- const gchar *text,
- GError **error)
-{
- return TRUE;
-}
-
diff --git a/generate/src/gabble-im-channel.h b/generate/src/gabble-im-channel.h
deleted file mode 100644
index 91e79cba5..000000000
--- a/generate/src/gabble-im-channel.h
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
- * gabble-im-channel.h - Header for GabbleIMChannel
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __GABBLE_IM_CHANNEL_H__
-#define __GABBLE_IM_CHANNEL_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GabbleIMChannel GabbleIMChannel;
-typedef struct _GabbleIMChannelClass GabbleIMChannelClass;
-
-struct _GabbleIMChannelClass {
- GObjectClass parent_class;
-};
-
-struct _GabbleIMChannel {
- GObject parent;
-
- gpointer priv;
-};
-
-GType gabble_im_channel_get_type(void);
-
-/* TYPE MACROS */
-#define GABBLE_TYPE_IM_CHANNEL \
- (gabble_im_channel_get_type())
-#define GABBLE_IM_CHANNEL(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_IM_CHANNEL, GabbleIMChannel))
-#define GABBLE_IM_CHANNEL_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_IM_CHANNEL, GabbleIMChannelClass))
-#define GABBLE_IS_IM_CHANNEL(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_IM_CHANNEL))
-#define GABBLE_IS_IM_CHANNEL_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_IM_CHANNEL))
-#define GABBLE_IM_CHANNEL_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_IM_CHANNEL, GabbleIMChannelClass))
-
-
-gboolean
-gabble_im_channel_acknowledge_pending_messages (GabbleIMChannel *self,
- const GArray *ids,
- GError **error);
-
-gboolean
-gabble_im_channel_close (GabbleIMChannel *self,
- GError **error);
-
-gboolean
-gabble_im_channel_get_channel_type (GabbleIMChannel *self,
- gchar **ret,
- GError **error);
-
-gboolean
-gabble_im_channel_get_handle (GabbleIMChannel *self,
- guint *ret,
- guint *ret1,
- GError **error);
-
-gboolean
-gabble_im_channel_get_interfaces (GabbleIMChannel *self,
- gchar ***ret,
- GError **error);
-
-gboolean
-gabble_im_channel_get_message_types (GabbleIMChannel *self,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_im_channel_list_pending_messages (GabbleIMChannel *self,
- gboolean clear,
- GPtrArray **ret,
- GError **error);
-
-gboolean
-gabble_im_channel_send (GabbleIMChannel *self,
- guint type,
- const gchar *text,
- GError **error);
-
-
-
-G_END_DECLS
-
-#endif /* #ifndef __GABBLE_IM_CHANNEL_H__*/
diff --git a/generate/src/gabble-media-channel-signals-marshal.list b/generate/src/gabble-media-channel-signals-marshal.list
deleted file mode 100644
index 660f1d113..000000000
--- a/generate/src/gabble-media-channel-signals-marshal.list
+++ /dev/null
@@ -1,5 +0,0 @@
-VOID:UINT,UINT,STRING
-VOID:STRING,STRING
-VOID:UINT,UINT
-VOID:UINT,UINT,UINT
-VOID:STRING,BOXED,BOXED,BOXED,BOXED,UINT,UINT
diff --git a/generate/src/gabble-media-channel.c b/generate/src/gabble-media-channel.c
deleted file mode 100644
index e2f4ea971..000000000
--- a/generate/src/gabble-media-channel.c
+++ /dev/null
@@ -1,582 +0,0 @@
-/*
- * gabble-media-channel.c - Source for GabbleMediaChannel
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <dbus/dbus-glib.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "gabble-media-channel.h"
-#include "gabble-media-channel-signals-marshal.h"
-
-#include "gabble-media-channel-glue.h"
-
-G_DEFINE_TYPE(GabbleMediaChannel, gabble_media_channel, G_TYPE_OBJECT)
-
-/* signal enum */
-enum
-{
- CLOSED,
- GROUP_FLAGS_CHANGED,
- MEMBERS_CHANGED,
- NEW_SESSION_HANDLER,
- STREAM_ADDED,
- STREAM_DIRECTION_CHANGED,
- STREAM_ERROR,
- STREAM_REMOVED,
- STREAM_STATE_CHANGED,
- LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL] = {0};
-
-/* private structure */
-typedef struct _GabbleMediaChannelPrivate GabbleMediaChannelPrivate;
-
-struct _GabbleMediaChannelPrivate
-{
- gboolean dispose_has_run;
-};
-
-#define GABBLE_MEDIA_CHANNEL_GET_PRIVATE(obj) \
- ((GabbleMediaChannelPrivate *)obj->priv)
-
-static void
-gabble_media_channel_init (GabbleMediaChannel *self)
-{
- GabbleMediaChannelPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
- GABBLE_TYPE_MEDIA_CHANNEL, GabbleMediaChannelPrivate);
-
- self->priv = priv;
-
- /* allocate any data required by the object here */
-}
-
-static void gabble_media_channel_dispose (GObject *object);
-static void gabble_media_channel_finalize (GObject *object);
-
-static void
-gabble_media_channel_class_init (GabbleMediaChannelClass *gabble_media_channel_class)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (gabble_media_channel_class);
-
- g_type_class_add_private (gabble_media_channel_class, sizeof (GabbleMediaChannelPrivate));
-
- object_class->dispose = gabble_media_channel_dispose;
- object_class->finalize = gabble_media_channel_finalize;
-
- signals[CLOSED] =
- g_signal_new ("closed",
- G_OBJECT_CLASS_TYPE (gabble_media_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE, 0);
-
- signals[GROUP_FLAGS_CHANGED] =
- g_signal_new ("group-flags-changed",
- G_OBJECT_CLASS_TYPE (gabble_media_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_media_channel_marshal_VOID__UINT_UINT,
- G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT);
-
- signals[MEMBERS_CHANGED] =
- g_signal_new ("members-changed",
- G_OBJECT_CLASS_TYPE (gabble_media_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- 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_SESSION_HANDLER] =
- g_signal_new ("new-session-handler",
- G_OBJECT_CLASS_TYPE (gabble_media_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_media_channel_marshal_VOID__STRING_STRING,
- G_TYPE_NONE, 2, DBUS_TYPE_G_OBJECT_PATH, G_TYPE_STRING);
-
- signals[STREAM_ADDED] =
- g_signal_new ("stream-added",
- G_OBJECT_CLASS_TYPE (gabble_media_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_media_channel_marshal_VOID__UINT_UINT_UINT,
- G_TYPE_NONE, 3, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT);
-
- signals[STREAM_DIRECTION_CHANGED] =
- g_signal_new ("stream-direction-changed",
- G_OBJECT_CLASS_TYPE (gabble_media_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_media_channel_marshal_VOID__UINT_UINT_UINT,
- G_TYPE_NONE, 3, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT);
-
- signals[STREAM_ERROR] =
- g_signal_new ("stream-error",
- G_OBJECT_CLASS_TYPE (gabble_media_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_media_channel_marshal_VOID__UINT_UINT_STRING,
- G_TYPE_NONE, 3, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING);
-
- signals[STREAM_REMOVED] =
- g_signal_new ("stream-removed",
- G_OBJECT_CLASS_TYPE (gabble_media_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__UINT,
- G_TYPE_NONE, 1, G_TYPE_UINT);
-
- signals[STREAM_STATE_CHANGED] =
- g_signal_new ("stream-state-changed",
- G_OBJECT_CLASS_TYPE (gabble_media_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- 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);
-}
-
-void
-gabble_media_channel_dispose (GObject *object)
-{
- GabbleMediaChannel *self = GABBLE_MEDIA_CHANNEL (object);
- GabbleMediaChannelPrivate *priv = GABBLE_MEDIA_CHANNEL_GET_PRIVATE (self);
-
- if (priv->dispose_has_run)
- return;
-
- priv->dispose_has_run = TRUE;
-
- /* release any references held by the object here */
-
- if (G_OBJECT_CLASS (gabble_media_channel_parent_class)->dispose)
- G_OBJECT_CLASS (gabble_media_channel_parent_class)->dispose (object);
-}
-
-void
-gabble_media_channel_finalize (GObject *object)
-{
- GabbleMediaChannel *self = GABBLE_MEDIA_CHANNEL (object);
- GabbleMediaChannelPrivate *priv = GABBLE_MEDIA_CHANNEL_GET_PRIVATE (self);
-
- /* free any data held directly by the object here */
-
- G_OBJECT_CLASS (gabble_media_channel_parent_class)->finalize (object);
-}
-
-
-
-/**
- * gabble_media_channel_add_members
- *
- * 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 occurred, 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 *self,
- const GArray *contacts,
- const gchar *message,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_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 occurred, 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 *self,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_get_all_members
- *
- * 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 occurred, 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 *self,
- GArray **ret,
- GArray **ret1,
- GArray **ret2,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_get_channel_type
- *
- * Implements D-Bus method GetChannelType
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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 *self,
- gchar **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_get_group_flags
- *
- * 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 occurred, 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 *self,
- guint *ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_get_handle
- *
- * Implements D-Bus method GetHandle
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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 *self,
- guint *ret,
- guint *ret1,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_get_handle_owners
- *
- * 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 occurred, 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 *self,
- const GArray *handles,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_get_interfaces
- *
- * Implements D-Bus method GetInterfaces
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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 *self,
- gchar ***ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_get_local_pending_members
- *
- * 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 occurred, 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 *self,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_get_members
- *
- * 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 occurred, 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 *self,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_get_remote_pending_members
- *
- * 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 occurred, 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 *self,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_get_self_handle
- *
- * 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 occurred, 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 *self,
- guint *ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_get_session_handlers
- *
- * Implements D-Bus method GetSessionHandlers
- * on interface org.freedesktop.Telepathy.Channel.Interface.MediaSignalling
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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 *self,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_list_streams
- *
- * 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 occurred, 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 *self,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_remove_members
- *
- * 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 occurred, 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 *self,
- const GArray *contacts,
- const gchar *message,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_remove_streams
- *
- * Implements D-Bus method RemoveStreams
- * on interface org.freedesktop.Telepathy.Channel.Type.StreamedMedia
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_streams (GabbleMediaChannel *self,
- const GArray *streams,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_request_stream_direction
- *
- * Implements D-Bus method RequestStreamDirection
- * on interface org.freedesktop.Telepathy.Channel.Type.StreamedMedia
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_stream_direction (GabbleMediaChannel *self,
- guint stream_id,
- guint stream_direction,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_channel_request_streams
- *
- * 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 occurred, 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 *self,
- guint contact_handle,
- const GArray *types,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
diff --git a/generate/src/gabble-media-channel.h b/generate/src/gabble-media-channel.h
deleted file mode 100644
index 9353c08f1..000000000
--- a/generate/src/gabble-media-channel.h
+++ /dev/null
@@ -1,160 +0,0 @@
-/*
- * gabble-media-channel.h - Header for GabbleMediaChannel
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __GABBLE_MEDIA_CHANNEL_H__
-#define __GABBLE_MEDIA_CHANNEL_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GabbleMediaChannel GabbleMediaChannel;
-typedef struct _GabbleMediaChannelClass GabbleMediaChannelClass;
-
-struct _GabbleMediaChannelClass {
- GObjectClass parent_class;
-};
-
-struct _GabbleMediaChannel {
- GObject parent;
-
- gpointer priv;
-};
-
-GType gabble_media_channel_get_type(void);
-
-/* TYPE MACROS */
-#define GABBLE_TYPE_MEDIA_CHANNEL \
- (gabble_media_channel_get_type())
-#define GABBLE_MEDIA_CHANNEL(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_MEDIA_CHANNEL, GabbleMediaChannel))
-#define GABBLE_MEDIA_CHANNEL_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_MEDIA_CHANNEL, GabbleMediaChannelClass))
-#define GABBLE_IS_MEDIA_CHANNEL(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_MEDIA_CHANNEL))
-#define GABBLE_IS_MEDIA_CHANNEL_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_MEDIA_CHANNEL))
-#define GABBLE_MEDIA_CHANNEL_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_MEDIA_CHANNEL, GabbleMediaChannelClass))
-
-
-gboolean
-gabble_media_channel_add_members (GabbleMediaChannel *self,
- const GArray *contacts,
- const gchar *message,
- GError **error);
-
-gboolean
-gabble_media_channel_close (GabbleMediaChannel *self,
- GError **error);
-
-gboolean
-gabble_media_channel_get_all_members (GabbleMediaChannel *self,
- GArray **ret,
- GArray **ret1,
- GArray **ret2,
- GError **error);
-
-gboolean
-gabble_media_channel_get_channel_type (GabbleMediaChannel *self,
- gchar **ret,
- GError **error);
-
-gboolean
-gabble_media_channel_get_group_flags (GabbleMediaChannel *self,
- guint *ret,
- GError **error);
-
-gboolean
-gabble_media_channel_get_handle (GabbleMediaChannel *self,
- guint *ret,
- guint *ret1,
- GError **error);
-
-gboolean
-gabble_media_channel_get_handle_owners (GabbleMediaChannel *self,
- const GArray *handles,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_media_channel_get_interfaces (GabbleMediaChannel *self,
- gchar ***ret,
- GError **error);
-
-gboolean
-gabble_media_channel_get_local_pending_members (GabbleMediaChannel *self,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_media_channel_get_members (GabbleMediaChannel *self,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_media_channel_get_remote_pending_members (GabbleMediaChannel *self,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_media_channel_get_self_handle (GabbleMediaChannel *self,
- guint *ret,
- GError **error);
-
-gboolean
-gabble_media_channel_get_session_handlers (GabbleMediaChannel *self,
- GPtrArray **ret,
- GError **error);
-
-gboolean
-gabble_media_channel_list_streams (GabbleMediaChannel *self,
- GPtrArray **ret,
- GError **error);
-
-gboolean
-gabble_media_channel_remove_members (GabbleMediaChannel *self,
- const GArray *contacts,
- const gchar *message,
- GError **error);
-
-gboolean
-gabble_media_channel_remove_streams (GabbleMediaChannel *self,
- const GArray *streams,
- GError **error);
-
-gboolean
-gabble_media_channel_request_stream_direction (GabbleMediaChannel *self,
- guint stream_id,
- guint stream_direction,
- GError **error);
-
-gboolean
-gabble_media_channel_request_streams (GabbleMediaChannel *self,
- guint contact_handle,
- const GArray *types,
- GPtrArray **ret,
- GError **error);
-
-
-
-G_END_DECLS
-
-#endif /* #ifndef __GABBLE_MEDIA_CHANNEL_H__*/
diff --git a/generate/src/gabble-media-session-signals-marshal.list b/generate/src/gabble-media-session-signals-marshal.list
deleted file mode 100644
index f46d6646b..000000000
--- a/generate/src/gabble-media-session-signals-marshal.list
+++ /dev/null
@@ -1 +0,0 @@
-VOID:STRING,UINT,UINT,UINT
diff --git a/generate/src/gabble-media-session.c b/generate/src/gabble-media-session.c
deleted file mode 100644
index 92613f8d1..000000000
--- a/generate/src/gabble-media-session.c
+++ /dev/null
@@ -1,158 +0,0 @@
-/*
- * gabble-media-session.c - Source for GabbleMediaSession
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <dbus/dbus-glib.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "gabble-media-session.h"
-#include "gabble-media-session-signals-marshal.h"
-
-#include "gabble-media-session-glue.h"
-
-G_DEFINE_TYPE(GabbleMediaSession, gabble_media_session, G_TYPE_OBJECT)
-
-/* signal enum */
-enum
-{
- NEW_STREAM_HANDLER,
- LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL] = {0};
-
-/* private structure */
-typedef struct _GabbleMediaSessionPrivate GabbleMediaSessionPrivate;
-
-struct _GabbleMediaSessionPrivate
-{
- gboolean dispose_has_run;
-};
-
-#define GABBLE_MEDIA_SESSION_GET_PRIVATE(obj) \
- ((GabbleMediaSessionPrivate *)obj->priv)
-
-static void
-gabble_media_session_init (GabbleMediaSession *self)
-{
- GabbleMediaSessionPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
- GABBLE_TYPE_MEDIA_SESSION, GabbleMediaSessionPrivate);
-
- self->priv = priv;
-
- /* allocate any data required by the object here */
-}
-
-static void gabble_media_session_dispose (GObject *object);
-static void gabble_media_session_finalize (GObject *object);
-
-static void
-gabble_media_session_class_init (GabbleMediaSessionClass *gabble_media_session_class)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (gabble_media_session_class);
-
- g_type_class_add_private (gabble_media_session_class, sizeof (GabbleMediaSessionPrivate));
-
- object_class->dispose = gabble_media_session_dispose;
- object_class->finalize = gabble_media_session_finalize;
-
- signals[NEW_STREAM_HANDLER] =
- g_signal_new ("new-stream-handler",
- G_OBJECT_CLASS_TYPE (gabble_media_session_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_media_session_marshal_VOID__STRING_UINT_UINT_UINT,
- G_TYPE_NONE, 4, DBUS_TYPE_G_OBJECT_PATH, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT);
-
- dbus_g_object_type_install_info (G_TYPE_FROM_CLASS (gabble_media_session_class), &dbus_glib_gabble_media_session_object_info);
-}
-
-void
-gabble_media_session_dispose (GObject *object)
-{
- GabbleMediaSession *self = GABBLE_MEDIA_SESSION (object);
- GabbleMediaSessionPrivate *priv = GABBLE_MEDIA_SESSION_GET_PRIVATE (self);
-
- if (priv->dispose_has_run)
- return;
-
- priv->dispose_has_run = TRUE;
-
- /* release any references held by the object here */
-
- if (G_OBJECT_CLASS (gabble_media_session_parent_class)->dispose)
- G_OBJECT_CLASS (gabble_media_session_parent_class)->dispose (object);
-}
-
-void
-gabble_media_session_finalize (GObject *object)
-{
- GabbleMediaSession *self = GABBLE_MEDIA_SESSION (object);
- GabbleMediaSessionPrivate *priv = GABBLE_MEDIA_SESSION_GET_PRIVATE (self);
-
- /* free any data held directly by the object here */
-
- G_OBJECT_CLASS (gabble_media_session_parent_class)->finalize (object);
-}
-
-
-
-/**
- * gabble_media_session_error
- *
- * Implements D-Bus method Error
- * on interface org.freedesktop.Telepathy.Media.SessionHandler
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_session_error (GabbleMediaSession *self,
- guint errno,
- const gchar *message,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_session_ready
- *
- * Implements D-Bus method Ready
- * on interface org.freedesktop.Telepathy.Media.SessionHandler
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_session_ready (GabbleMediaSession *self,
- GError **error)
-{
- return TRUE;
-}
-
diff --git a/generate/src/gabble-media-session.h b/generate/src/gabble-media-session.h
deleted file mode 100644
index f8cbec03f..000000000
--- a/generate/src/gabble-media-session.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * gabble-media-session.h - Header for GabbleMediaSession
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __GABBLE_MEDIA_SESSION_H__
-#define __GABBLE_MEDIA_SESSION_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GabbleMediaSession GabbleMediaSession;
-typedef struct _GabbleMediaSessionClass GabbleMediaSessionClass;
-
-struct _GabbleMediaSessionClass {
- GObjectClass parent_class;
-};
-
-struct _GabbleMediaSession {
- GObject parent;
-
- gpointer priv;
-};
-
-GType gabble_media_session_get_type(void);
-
-/* TYPE MACROS */
-#define GABBLE_TYPE_MEDIA_SESSION \
- (gabble_media_session_get_type())
-#define GABBLE_MEDIA_SESSION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_MEDIA_SESSION, GabbleMediaSession))
-#define GABBLE_MEDIA_SESSION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_MEDIA_SESSION, GabbleMediaSessionClass))
-#define GABBLE_IS_MEDIA_SESSION(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_MEDIA_SESSION))
-#define GABBLE_IS_MEDIA_SESSION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_MEDIA_SESSION))
-#define GABBLE_MEDIA_SESSION_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_MEDIA_SESSION, GabbleMediaSessionClass))
-
-
-gboolean
-gabble_media_session_error (GabbleMediaSession *self,
- guint errno,
- const gchar *message,
- GError **error);
-
-gboolean
-gabble_media_session_ready (GabbleMediaSession *self,
- GError **error);
-
-
-
-G_END_DECLS
-
-#endif /* #ifndef __GABBLE_MEDIA_SESSION_H__*/
diff --git a/generate/src/gabble-media-stream-signals-marshal.list b/generate/src/gabble-media-stream-signals-marshal.list
deleted file mode 100644
index 60e5cb9f9..000000000
--- a/generate/src/gabble-media-stream-signals-marshal.list
+++ /dev/null
@@ -1,2 +0,0 @@
-VOID:STRING,STRING
-VOID:STRING,BOXED
diff --git a/generate/src/gabble-media-stream.c b/generate/src/gabble-media-stream.c
deleted file mode 100644
index 46adbec60..000000000
--- a/generate/src/gabble-media-stream.c
+++ /dev/null
@@ -1,377 +0,0 @@
-/*
- * gabble-media-stream.c - Source for GabbleMediaStream
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <dbus/dbus-glib.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "gabble-media-stream.h"
-#include "gabble-media-stream-signals-marshal.h"
-
-#include "gabble-media-stream-glue.h"
-
-G_DEFINE_TYPE(GabbleMediaStream, gabble_media_stream, G_TYPE_OBJECT)
-
-/* signal enum */
-enum
-{
- ADD_REMOTE_CANDIDATE,
- CLOSE,
- REMOVE_REMOTE_CANDIDATE,
- SET_ACTIVE_CANDIDATE_PAIR,
- SET_REMOTE_CANDIDATE_LIST,
- SET_REMOTE_CODECS,
- SET_STREAM_PLAYING,
- SET_STREAM_SENDING,
- LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL] = {0};
-
-/* private structure */
-typedef struct _GabbleMediaStreamPrivate GabbleMediaStreamPrivate;
-
-struct _GabbleMediaStreamPrivate
-{
- gboolean dispose_has_run;
-};
-
-#define GABBLE_MEDIA_STREAM_GET_PRIVATE(obj) \
- ((GabbleMediaStreamPrivate *)obj->priv)
-
-static void
-gabble_media_stream_init (GabbleMediaStream *self)
-{
- GabbleMediaStreamPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
- GABBLE_TYPE_MEDIA_STREAM, GabbleMediaStreamPrivate);
-
- self->priv = priv;
-
- /* allocate any data required by the object here */
-}
-
-static void gabble_media_stream_dispose (GObject *object);
-static void gabble_media_stream_finalize (GObject *object);
-
-static void
-gabble_media_stream_class_init (GabbleMediaStreamClass *gabble_media_stream_class)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (gabble_media_stream_class);
-
- g_type_class_add_private (gabble_media_stream_class, sizeof (GabbleMediaStreamPrivate));
-
- object_class->dispose = gabble_media_stream_dispose;
- object_class->finalize = gabble_media_stream_finalize;
-
- signals[ADD_REMOTE_CANDIDATE] =
- g_signal_new ("add-remote-candidate",
- G_OBJECT_CLASS_TYPE (gabble_media_stream_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_media_stream_marshal_VOID__STRING_BOXED,
- G_TYPE_NONE, 2, G_TYPE_STRING, (dbus_g_type_get_collection ("GPtrArray", (dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_DOUBLE, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INVALID)))));
-
- signals[CLOSE] =
- g_signal_new ("close",
- G_OBJECT_CLASS_TYPE (gabble_media_stream_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE, 0);
-
- signals[REMOVE_REMOTE_CANDIDATE] =
- g_signal_new ("remove-remote-candidate",
- G_OBJECT_CLASS_TYPE (gabble_media_stream_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__STRING,
- G_TYPE_NONE, 1, G_TYPE_STRING);
-
- signals[SET_ACTIVE_CANDIDATE_PAIR] =
- g_signal_new ("set-active-candidate-pair",
- G_OBJECT_CLASS_TYPE (gabble_media_stream_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_media_stream_marshal_VOID__STRING_STRING,
- G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING);
-
- signals[SET_REMOTE_CANDIDATE_LIST] =
- g_signal_new ("set-remote-candidate-list",
- G_OBJECT_CLASS_TYPE (gabble_media_stream_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOXED,
- G_TYPE_NONE, 1, (dbus_g_type_get_collection ("GPtrArray", (dbus_g_type_get_struct ("GValueArray", G_TYPE_STRING, (dbus_g_type_get_collection ("GPtrArray", (dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_DOUBLE, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INVALID)))), G_TYPE_INVALID)))));
-
- signals[SET_REMOTE_CODECS] =
- g_signal_new ("set-remote-codecs",
- G_OBJECT_CLASS_TYPE (gabble_media_stream_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOXED,
- G_TYPE_NONE, 1, (dbus_g_type_get_collection ("GPtrArray", (dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, DBUS_TYPE_G_STRING_STRING_HASHTABLE, G_TYPE_INVALID)))));
-
- signals[SET_STREAM_PLAYING] =
- g_signal_new ("set-stream-playing",
- G_OBJECT_CLASS_TYPE (gabble_media_stream_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOOLEAN,
- G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-
- signals[SET_STREAM_SENDING] =
- g_signal_new ("set-stream-sending",
- G_OBJECT_CLASS_TYPE (gabble_media_stream_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOOLEAN,
- G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-
- dbus_g_object_type_install_info (G_TYPE_FROM_CLASS (gabble_media_stream_class), &dbus_glib_gabble_media_stream_object_info);
-}
-
-void
-gabble_media_stream_dispose (GObject *object)
-{
- GabbleMediaStream *self = GABBLE_MEDIA_STREAM (object);
- GabbleMediaStreamPrivate *priv = GABBLE_MEDIA_STREAM_GET_PRIVATE (self);
-
- if (priv->dispose_has_run)
- return;
-
- priv->dispose_has_run = TRUE;
-
- /* release any references held by the object here */
-
- if (G_OBJECT_CLASS (gabble_media_stream_parent_class)->dispose)
- G_OBJECT_CLASS (gabble_media_stream_parent_class)->dispose (object);
-}
-
-void
-gabble_media_stream_finalize (GObject *object)
-{
- GabbleMediaStream *self = GABBLE_MEDIA_STREAM (object);
- GabbleMediaStreamPrivate *priv = GABBLE_MEDIA_STREAM_GET_PRIVATE (self);
-
- /* free any data held directly by the object here */
-
- G_OBJECT_CLASS (gabble_media_stream_parent_class)->finalize (object);
-}
-
-
-
-/**
- * gabble_media_stream_codec_choice
- *
- * Implements D-Bus method CodecChoice
- * on interface org.freedesktop.Telepathy.Media.StreamHandler
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_stream_codec_choice (GabbleMediaStream *self,
- guint codec_id,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_stream_error
- *
- * Implements D-Bus method Error
- * on interface org.freedesktop.Telepathy.Media.StreamHandler
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_stream_error (GabbleMediaStream *self,
- guint errno,
- const gchar *message,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_stream_native_candidates_prepared
- *
- * Implements D-Bus method NativeCandidatesPrepared
- * on interface org.freedesktop.Telepathy.Media.StreamHandler
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_stream_native_candidates_prepared (GabbleMediaStream *self,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_stream_new_active_candidate_pair
- *
- * Implements D-Bus method NewActiveCandidatePair
- * on interface org.freedesktop.Telepathy.Media.StreamHandler
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_stream_new_active_candidate_pair (GabbleMediaStream *self,
- const gchar *native_candidate_id,
- const gchar *remote_candidate_id,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_stream_new_native_candidate
- *
- * Implements D-Bus method NewNativeCandidate
- * on interface org.freedesktop.Telepathy.Media.StreamHandler
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_stream_new_native_candidate (GabbleMediaStream *self,
- const gchar *candidate_id,
- const GPtrArray *transports,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_stream_ready
- *
- * Implements D-Bus method Ready
- * on interface org.freedesktop.Telepathy.Media.StreamHandler
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_stream_ready (GabbleMediaStream *self,
- const GPtrArray *codecs,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_stream_set_local_codecs
- *
- * Implements D-Bus method SetLocalCodecs
- * on interface org.freedesktop.Telepathy.Media.StreamHandler
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_stream_set_local_codecs (GabbleMediaStream *self,
- const GPtrArray *codecs,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_stream_stream_state
- *
- * Implements D-Bus method StreamState
- * on interface org.freedesktop.Telepathy.Media.StreamHandler
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_stream_stream_state (GabbleMediaStream *self,
- guint state,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_media_stream_supported_codecs
- *
- * Implements D-Bus method SupportedCodecs
- * on interface org.freedesktop.Telepathy.Media.StreamHandler
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, 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_stream_supported_codecs (GabbleMediaStream *self,
- const GPtrArray *codecs,
- GError **error)
-{
- return TRUE;
-}
-
diff --git a/generate/src/gabble-media-stream.h b/generate/src/gabble-media-stream.h
deleted file mode 100644
index 862ee76f7..000000000
--- a/generate/src/gabble-media-stream.h
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
- * gabble-media-stream.h - Header for GabbleMediaStream
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __GABBLE_MEDIA_STREAM_H__
-#define __GABBLE_MEDIA_STREAM_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GabbleMediaStream GabbleMediaStream;
-typedef struct _GabbleMediaStreamClass GabbleMediaStreamClass;
-
-struct _GabbleMediaStreamClass {
- GObjectClass parent_class;
-};
-
-struct _GabbleMediaStream {
- GObject parent;
-
- gpointer priv;
-};
-
-GType gabble_media_stream_get_type(void);
-
-/* TYPE MACROS */
-#define GABBLE_TYPE_MEDIA_STREAM \
- (gabble_media_stream_get_type())
-#define GABBLE_MEDIA_STREAM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_MEDIA_STREAM, GabbleMediaStream))
-#define GABBLE_MEDIA_STREAM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_MEDIA_STREAM, GabbleMediaStreamClass))
-#define GABBLE_IS_MEDIA_STREAM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_MEDIA_STREAM))
-#define GABBLE_IS_MEDIA_STREAM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_MEDIA_STREAM))
-#define GABBLE_MEDIA_STREAM_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_MEDIA_STREAM, GabbleMediaStreamClass))
-
-
-gboolean
-gabble_media_stream_codec_choice (GabbleMediaStream *self,
- guint codec_id,
- GError **error);
-
-gboolean
-gabble_media_stream_error (GabbleMediaStream *self,
- guint errno,
- const gchar *message,
- GError **error);
-
-gboolean
-gabble_media_stream_native_candidates_prepared (GabbleMediaStream *self,
- GError **error);
-
-gboolean
-gabble_media_stream_new_active_candidate_pair (GabbleMediaStream *self,
- const gchar *native_candidate_id,
- const gchar *remote_candidate_id,
- GError **error);
-
-gboolean
-gabble_media_stream_new_native_candidate (GabbleMediaStream *self,
- const gchar *candidate_id,
- const GPtrArray *transports,
- GError **error);
-
-gboolean
-gabble_media_stream_ready (GabbleMediaStream *self,
- const GPtrArray *codecs,
- GError **error);
-
-gboolean
-gabble_media_stream_set_local_codecs (GabbleMediaStream *self,
- const GPtrArray *codecs,
- GError **error);
-
-gboolean
-gabble_media_stream_stream_state (GabbleMediaStream *self,
- guint state,
- GError **error);
-
-gboolean
-gabble_media_stream_supported_codecs (GabbleMediaStream *self,
- const GPtrArray *codecs,
- GError **error);
-
-
-
-G_END_DECLS
-
-#endif /* #ifndef __GABBLE_MEDIA_STREAM_H__*/
diff --git a/generate/src/gabble-muc-channel-signals-marshal.list b/generate/src/gabble-muc-channel-signals-marshal.list
deleted file mode 100644
index 8fd20bec7..000000000
--- a/generate/src/gabble-muc-channel-signals-marshal.list
+++ /dev/null
@@ -1,5 +0,0 @@
-VOID:UINT,UINT,UINT,UINT,UINT,STRING
-VOID:UINT,UINT,UINT,STRING
-VOID:UINT,UINT,STRING
-VOID:UINT,UINT
-VOID:STRING,BOXED,BOXED,BOXED,BOXED,UINT,UINT
diff --git a/generate/src/gabble-muc-channel.c b/generate/src/gabble-muc-channel.c
deleted file mode 100644
index c30237494..000000000
--- a/generate/src/gabble-muc-channel.c
+++ /dev/null
@@ -1,670 +0,0 @@
-/*
- * gabble-muc-channel.c - Source for GabbleMucChannel
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <dbus/dbus-glib.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "gabble-muc-channel.h"
-#include "gabble-muc-channel-signals-marshal.h"
-
-#include "gabble-muc-channel-glue.h"
-
-G_DEFINE_TYPE(GabbleMucChannel, gabble_muc_channel, G_TYPE_OBJECT)
-
-/* signal enum */
-enum
-{
- CLOSED,
- GROUP_FLAGS_CHANGED,
- LOST_MESSAGE,
- MEMBERS_CHANGED,
- PASSWORD_FLAGS_CHANGED,
- PROPERTIES_CHANGED,
- PROPERTY_FLAGS_CHANGED,
- RECEIVED,
- SEND_ERROR,
- SENT,
- LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL] = {0};
-
-/* private structure */
-typedef struct _GabbleMucChannelPrivate GabbleMucChannelPrivate;
-
-struct _GabbleMucChannelPrivate
-{
- gboolean dispose_has_run;
-};
-
-#define GABBLE_MUC_CHANNEL_GET_PRIVATE(obj) \
- ((GabbleMucChannelPrivate *)obj->priv)
-
-static void
-gabble_muc_channel_init (GabbleMucChannel *self)
-{
- GabbleMucChannelPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
- GABBLE_TYPE_MUC_CHANNEL, GabbleMucChannelPrivate);
-
- self->priv = priv;
-
- /* allocate any data required by the object here */
-}
-
-static void gabble_muc_channel_dispose (GObject *object);
-static void gabble_muc_channel_finalize (GObject *object);
-
-static void
-gabble_muc_channel_class_init (GabbleMucChannelClass *gabble_muc_channel_class)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (gabble_muc_channel_class);
-
- g_type_class_add_private (gabble_muc_channel_class, sizeof (GabbleMucChannelPrivate));
-
- object_class->dispose = gabble_muc_channel_dispose;
- object_class->finalize = gabble_muc_channel_finalize;
-
- signals[CLOSED] =
- g_signal_new ("closed",
- G_OBJECT_CLASS_TYPE (gabble_muc_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE, 0);
-
- signals[GROUP_FLAGS_CHANGED] =
- g_signal_new ("group-flags-changed",
- G_OBJECT_CLASS_TYPE (gabble_muc_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_muc_channel_marshal_VOID__UINT_UINT,
- G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT);
-
- signals[LOST_MESSAGE] =
- g_signal_new ("lost-message",
- G_OBJECT_CLASS_TYPE (gabble_muc_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE, 0);
-
- signals[MEMBERS_CHANGED] =
- g_signal_new ("members-changed",
- G_OBJECT_CLASS_TYPE (gabble_muc_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_muc_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[PASSWORD_FLAGS_CHANGED] =
- g_signal_new ("password-flags-changed",
- G_OBJECT_CLASS_TYPE (gabble_muc_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_muc_channel_marshal_VOID__UINT_UINT,
- G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT);
-
- signals[PROPERTIES_CHANGED] =
- g_signal_new ("properties-changed",
- G_OBJECT_CLASS_TYPE (gabble_muc_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOXED,
- G_TYPE_NONE, 1, (dbus_g_type_get_collection ("GPtrArray", (dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_VALUE, G_TYPE_INVALID)))));
-
- signals[PROPERTY_FLAGS_CHANGED] =
- g_signal_new ("property-flags-changed",
- G_OBJECT_CLASS_TYPE (gabble_muc_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOXED,
- G_TYPE_NONE, 1, (dbus_g_type_get_collection ("GPtrArray", (dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_UINT, G_TYPE_INVALID)))));
-
- signals[RECEIVED] =
- g_signal_new ("received",
- G_OBJECT_CLASS_TYPE (gabble_muc_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_muc_channel_marshal_VOID__UINT_UINT_UINT_UINT_UINT_STRING,
- G_TYPE_NONE, 6, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING);
-
- signals[SEND_ERROR] =
- g_signal_new ("send-error",
- G_OBJECT_CLASS_TYPE (gabble_muc_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_muc_channel_marshal_VOID__UINT_UINT_UINT_STRING,
- G_TYPE_NONE, 4, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING);
-
- signals[SENT] =
- g_signal_new ("sent",
- G_OBJECT_CLASS_TYPE (gabble_muc_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_muc_channel_marshal_VOID__UINT_UINT_STRING,
- G_TYPE_NONE, 3, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_STRING);
-
- dbus_g_object_type_install_info (G_TYPE_FROM_CLASS (gabble_muc_channel_class), &dbus_glib_gabble_muc_channel_object_info);
-}
-
-void
-gabble_muc_channel_dispose (GObject *object)
-{
- GabbleMucChannel *self = GABBLE_MUC_CHANNEL (object);
- GabbleMucChannelPrivate *priv = GABBLE_MUC_CHANNEL_GET_PRIVATE (self);
-
- if (priv->dispose_has_run)
- return;
-
- priv->dispose_has_run = TRUE;
-
- /* release any references held by the object here */
-
- if (G_OBJECT_CLASS (gabble_muc_channel_parent_class)->dispose)
- G_OBJECT_CLASS (gabble_muc_channel_parent_class)->dispose (object);
-}
-
-void
-gabble_muc_channel_finalize (GObject *object)
-{
- GabbleMucChannel *self = GABBLE_MUC_CHANNEL (object);
- GabbleMucChannelPrivate *priv = GABBLE_MUC_CHANNEL_GET_PRIVATE (self);
-
- /* free any data held directly by the object here */
-
- G_OBJECT_CLASS (gabble_muc_channel_parent_class)->finalize (object);
-}
-
-
-
-/**
- * gabble_muc_channel_acknowledge_pending_messages
- *
- * Implements D-Bus method AcknowledgePendingMessages
- * on interface org.freedesktop.Telepathy.Channel.Type.Text
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_acknowledge_pending_messages (GabbleMucChannel *self,
- const GArray *ids,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_add_members
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_add_members (GabbleMucChannel *self,
- const GArray *contacts,
- const gchar *message,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_close (GabbleMucChannel *self,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_all_members
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_all_members (GabbleMucChannel *self,
- GArray **ret,
- GArray **ret1,
- GArray **ret2,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_channel_type
- *
- * Implements D-Bus method GetChannelType
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_channel_type (GabbleMucChannel *self,
- gchar **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_group_flags
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_group_flags (GabbleMucChannel *self,
- guint *ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_handle
- *
- * Implements D-Bus method GetHandle
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_handle (GabbleMucChannel *self,
- guint *ret,
- guint *ret1,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_handle_owners
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_handle_owners (GabbleMucChannel *self,
- const GArray *handles,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_interfaces
- *
- * Implements D-Bus method GetInterfaces
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_interfaces (GabbleMucChannel *self,
- gchar ***ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_local_pending_members
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_local_pending_members (GabbleMucChannel *self,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_members
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_members (GabbleMucChannel *self,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_message_types
- *
- * Implements D-Bus method GetMessageTypes
- * on interface org.freedesktop.Telepathy.Channel.Type.Text
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_message_types (GabbleMucChannel *self,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_password_flags
- *
- * Implements D-Bus method GetPasswordFlags
- * on interface org.freedesktop.Telepathy.Channel.Interface.Password
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_password_flags (GabbleMucChannel *self,
- guint *ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_properties
- *
- * Implements D-Bus method GetProperties
- * on interface org.freedesktop.Telepathy.Properties
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_properties (GabbleMucChannel *self,
- const GArray *properties,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_remote_pending_members
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_remote_pending_members (GabbleMucChannel *self,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_get_self_handle
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_get_self_handle (GabbleMucChannel *self,
- guint *ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_list_pending_messages
- *
- * Implements D-Bus method ListPendingMessages
- * on interface org.freedesktop.Telepathy.Channel.Type.Text
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_list_pending_messages (GabbleMucChannel *self,
- gboolean clear,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_list_properties
- *
- * Implements D-Bus method ListProperties
- * on interface org.freedesktop.Telepathy.Properties
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_list_properties (GabbleMucChannel *self,
- GPtrArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_provide_password
- *
- * Implements D-Bus method ProvidePassword
- * on interface org.freedesktop.Telepathy.Channel.Interface.Password
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_muc_channel_provide_password (GabbleMucChannel *self,
- const gchar *password,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
-
-/**
- * gabble_muc_channel_remove_members
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_remove_members (GabbleMucChannel *self,
- const GArray *contacts,
- const gchar *message,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_send
- *
- * Implements D-Bus method Send
- * on interface org.freedesktop.Telepathy.Channel.Type.Text
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_muc_channel_send (GabbleMucChannel *self,
- guint type,
- const gchar *text,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_muc_channel_set_properties
- *
- * Implements D-Bus method SetProperties
- * on interface org.freedesktop.Telepathy.Properties
- *
- * @context: The D-Bus invocation context to use to return values
- * or throw an error.
- */
-void
-gabble_muc_channel_set_properties (GabbleMucChannel *self,
- const GPtrArray *properties,
- DBusGMethodInvocation *context)
-{
- return;
-}
-
diff --git a/generate/src/gabble-muc-channel.h b/generate/src/gabble-muc-channel.h
deleted file mode 100644
index 95c02466b..000000000
--- a/generate/src/gabble-muc-channel.h
+++ /dev/null
@@ -1,180 +0,0 @@
-/*
- * gabble-muc-channel.h - Header for GabbleMucChannel
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __GABBLE_MUC_CHANNEL_H__
-#define __GABBLE_MUC_CHANNEL_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GabbleMucChannel GabbleMucChannel;
-typedef struct _GabbleMucChannelClass GabbleMucChannelClass;
-
-struct _GabbleMucChannelClass {
- GObjectClass parent_class;
-};
-
-struct _GabbleMucChannel {
- GObject parent;
-
- gpointer priv;
-};
-
-GType gabble_muc_channel_get_type(void);
-
-/* TYPE MACROS */
-#define GABBLE_TYPE_MUC_CHANNEL \
- (gabble_muc_channel_get_type())
-#define GABBLE_MUC_CHANNEL(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_MUC_CHANNEL, GabbleMucChannel))
-#define GABBLE_MUC_CHANNEL_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_MUC_CHANNEL, GabbleMucChannelClass))
-#define GABBLE_IS_MUC_CHANNEL(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_MUC_CHANNEL))
-#define GABBLE_IS_MUC_CHANNEL_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_MUC_CHANNEL))
-#define GABBLE_MUC_CHANNEL_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_MUC_CHANNEL, GabbleMucChannelClass))
-
-
-gboolean
-gabble_muc_channel_acknowledge_pending_messages (GabbleMucChannel *self,
- const GArray *ids,
- GError **error);
-
-gboolean
-gabble_muc_channel_add_members (GabbleMucChannel *self,
- const GArray *contacts,
- const gchar *message,
- GError **error);
-
-gboolean
-gabble_muc_channel_close (GabbleMucChannel *self,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_all_members (GabbleMucChannel *self,
- GArray **ret,
- GArray **ret1,
- GArray **ret2,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_channel_type (GabbleMucChannel *self,
- gchar **ret,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_group_flags (GabbleMucChannel *self,
- guint *ret,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_handle (GabbleMucChannel *self,
- guint *ret,
- guint *ret1,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_handle_owners (GabbleMucChannel *self,
- const GArray *handles,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_interfaces (GabbleMucChannel *self,
- gchar ***ret,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_local_pending_members (GabbleMucChannel *self,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_members (GabbleMucChannel *self,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_message_types (GabbleMucChannel *self,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_password_flags (GabbleMucChannel *self,
- guint *ret,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_properties (GabbleMucChannel *self,
- const GArray *properties,
- GPtrArray **ret,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_remote_pending_members (GabbleMucChannel *self,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_muc_channel_get_self_handle (GabbleMucChannel *self,
- guint *ret,
- GError **error);
-
-gboolean
-gabble_muc_channel_list_pending_messages (GabbleMucChannel *self,
- gboolean clear,
- GPtrArray **ret,
- GError **error);
-
-gboolean
-gabble_muc_channel_list_properties (GabbleMucChannel *self,
- GPtrArray **ret,
- GError **error);
-
-void
-gabble_muc_channel_provide_password (GabbleMucChannel *self,
- const gchar *password,
- DBusGMethodInvocation *context);
-
-gboolean
-gabble_muc_channel_remove_members (GabbleMucChannel *self,
- const GArray *contacts,
- const gchar *message,
- GError **error);
-
-gboolean
-gabble_muc_channel_send (GabbleMucChannel *self,
- guint type,
- const gchar *text,
- GError **error);
-
-void
-gabble_muc_channel_set_properties (GabbleMucChannel *self,
- const GPtrArray *properties,
- DBusGMethodInvocation *context);
-
-
-
-G_END_DECLS
-
-#endif /* #ifndef __GABBLE_MUC_CHANNEL_H__*/
diff --git a/generate/src/gabble-roomlist-channel-signals-marshal.list b/generate/src/gabble-roomlist-channel-signals-marshal.list
deleted file mode 100644
index e69de29bb..000000000
--- a/generate/src/gabble-roomlist-channel-signals-marshal.list
+++ /dev/null
diff --git a/generate/src/gabble-roomlist-channel.c b/generate/src/gabble-roomlist-channel.c
deleted file mode 100644
index 5875de9f5..000000000
--- a/generate/src/gabble-roomlist-channel.c
+++ /dev/null
@@ -1,261 +0,0 @@
-/*
- * gabble-roomlist-channel.c - Source for GabbleRoomlistChannel
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <dbus/dbus-glib.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "gabble-roomlist-channel.h"
-#include "gabble-roomlist-channel-signals-marshal.h"
-
-#include "gabble-roomlist-channel-glue.h"
-
-G_DEFINE_TYPE(GabbleRoomlistChannel, gabble_roomlist_channel, G_TYPE_OBJECT)
-
-/* signal enum */
-enum
-{
- CLOSED,
- GOT_ROOMS,
- LISTING_ROOMS,
- LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL] = {0};
-
-/* private structure */
-typedef struct _GabbleRoomlistChannelPrivate GabbleRoomlistChannelPrivate;
-
-struct _GabbleRoomlistChannelPrivate
-{
- gboolean dispose_has_run;
-};
-
-#define GABBLE_ROOMLIST_CHANNEL_GET_PRIVATE(obj) \
- ((GabbleRoomlistChannelPrivate *)obj->priv)
-
-static void
-gabble_roomlist_channel_init (GabbleRoomlistChannel *self)
-{
- GabbleRoomlistChannelPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
- GABBLE_TYPE_ROOMLIST_CHANNEL, GabbleRoomlistChannelPrivate);
-
- self->priv = priv;
-
- /* allocate any data required by the object here */
-}
-
-static void gabble_roomlist_channel_dispose (GObject *object);
-static void gabble_roomlist_channel_finalize (GObject *object);
-
-static void
-gabble_roomlist_channel_class_init (GabbleRoomlistChannelClass *gabble_roomlist_channel_class)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (gabble_roomlist_channel_class);
-
- g_type_class_add_private (gabble_roomlist_channel_class, sizeof (GabbleRoomlistChannelPrivate));
-
- object_class->dispose = gabble_roomlist_channel_dispose;
- object_class->finalize = gabble_roomlist_channel_finalize;
-
- signals[CLOSED] =
- g_signal_new ("closed",
- G_OBJECT_CLASS_TYPE (gabble_roomlist_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE, 0);
-
- signals[GOT_ROOMS] =
- g_signal_new ("got-rooms",
- G_OBJECT_CLASS_TYPE (gabble_roomlist_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOXED,
- G_TYPE_NONE, 1, (dbus_g_type_get_collection ("GPtrArray", (dbus_g_type_get_struct ("GValueArray", G_TYPE_UINT, G_TYPE_STRING, (dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE)), G_TYPE_INVALID)))));
-
- signals[LISTING_ROOMS] =
- g_signal_new ("listing-rooms",
- G_OBJECT_CLASS_TYPE (gabble_roomlist_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__BOOLEAN,
- G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-
- dbus_g_object_type_install_info (G_TYPE_FROM_CLASS (gabble_roomlist_channel_class), &dbus_glib_gabble_roomlist_channel_object_info);
-}
-
-void
-gabble_roomlist_channel_dispose (GObject *object)
-{
- GabbleRoomlistChannel *self = GABBLE_ROOMLIST_CHANNEL (object);
- GabbleRoomlistChannelPrivate *priv = GABBLE_ROOMLIST_CHANNEL_GET_PRIVATE (self);
-
- if (priv->dispose_has_run)
- return;
-
- priv->dispose_has_run = TRUE;
-
- /* release any references held by the object here */
-
- if (G_OBJECT_CLASS (gabble_roomlist_channel_parent_class)->dispose)
- G_OBJECT_CLASS (gabble_roomlist_channel_parent_class)->dispose (object);
-}
-
-void
-gabble_roomlist_channel_finalize (GObject *object)
-{
- GabbleRoomlistChannel *self = GABBLE_ROOMLIST_CHANNEL (object);
- GabbleRoomlistChannelPrivate *priv = GABBLE_ROOMLIST_CHANNEL_GET_PRIVATE (self);
-
- /* free any data held directly by the object here */
-
- G_OBJECT_CLASS (gabble_roomlist_channel_parent_class)->finalize (object);
-}
-
-
-
-/**
- * gabble_roomlist_channel_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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roomlist_channel_close (GabbleRoomlistChannel *self,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roomlist_channel_get_channel_type
- *
- * Implements D-Bus method GetChannelType
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roomlist_channel_get_channel_type (GabbleRoomlistChannel *self,
- gchar **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roomlist_channel_get_handle
- *
- * Implements D-Bus method GetHandle
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roomlist_channel_get_handle (GabbleRoomlistChannel *self,
- guint *ret,
- guint *ret1,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roomlist_channel_get_interfaces
- *
- * Implements D-Bus method GetInterfaces
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roomlist_channel_get_interfaces (GabbleRoomlistChannel *self,
- gchar ***ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roomlist_channel_get_listing_rooms
- *
- * Implements D-Bus method GetListingRooms
- * on interface org.freedesktop.Telepathy.Channel.Type.RoomList
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roomlist_channel_get_listing_rooms (GabbleRoomlistChannel *self,
- gboolean *ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roomlist_channel_list_rooms
- *
- * Implements D-Bus method ListRooms
- * on interface org.freedesktop.Telepathy.Channel.Type.RoomList
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roomlist_channel_list_rooms (GabbleRoomlistChannel *self,
- GError **error)
-{
- return TRUE;
-}
-
diff --git a/generate/src/gabble-roomlist-channel.h b/generate/src/gabble-roomlist-channel.h
deleted file mode 100644
index b6617c1d8..000000000
--- a/generate/src/gabble-roomlist-channel.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * gabble-roomlist-channel.h - Header for GabbleRoomlistChannel
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __GABBLE_ROOMLIST_CHANNEL_H__
-#define __GABBLE_ROOMLIST_CHANNEL_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GabbleRoomlistChannel GabbleRoomlistChannel;
-typedef struct _GabbleRoomlistChannelClass GabbleRoomlistChannelClass;
-
-struct _GabbleRoomlistChannelClass {
- GObjectClass parent_class;
-};
-
-struct _GabbleRoomlistChannel {
- GObject parent;
-
- gpointer priv;
-};
-
-GType gabble_roomlist_channel_get_type(void);
-
-/* TYPE MACROS */
-#define GABBLE_TYPE_ROOMLIST_CHANNEL \
- (gabble_roomlist_channel_get_type())
-#define GABBLE_ROOMLIST_CHANNEL(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_ROOMLIST_CHANNEL, GabbleRoomlistChannel))
-#define GABBLE_ROOMLIST_CHANNEL_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_ROOMLIST_CHANNEL, GabbleRoomlistChannelClass))
-#define GABBLE_IS_ROOMLIST_CHANNEL(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_ROOMLIST_CHANNEL))
-#define GABBLE_IS_ROOMLIST_CHANNEL_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_ROOMLIST_CHANNEL))
-#define GABBLE_ROOMLIST_CHANNEL_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_ROOMLIST_CHANNEL, GabbleRoomlistChannelClass))
-
-
-gboolean
-gabble_roomlist_channel_close (GabbleRoomlistChannel *self,
- GError **error);
-
-gboolean
-gabble_roomlist_channel_get_channel_type (GabbleRoomlistChannel *self,
- gchar **ret,
- GError **error);
-
-gboolean
-gabble_roomlist_channel_get_handle (GabbleRoomlistChannel *self,
- guint *ret,
- guint *ret1,
- GError **error);
-
-gboolean
-gabble_roomlist_channel_get_interfaces (GabbleRoomlistChannel *self,
- gchar ***ret,
- GError **error);
-
-gboolean
-gabble_roomlist_channel_get_listing_rooms (GabbleRoomlistChannel *self,
- gboolean *ret,
- GError **error);
-
-gboolean
-gabble_roomlist_channel_list_rooms (GabbleRoomlistChannel *self,
- GError **error);
-
-
-
-G_END_DECLS
-
-#endif /* #ifndef __GABBLE_ROOMLIST_CHANNEL_H__*/
diff --git a/generate/src/gabble-roster-channel-signals-marshal.list b/generate/src/gabble-roster-channel-signals-marshal.list
deleted file mode 100644
index c1333dfa3..000000000
--- a/generate/src/gabble-roster-channel-signals-marshal.list
+++ /dev/null
@@ -1,2 +0,0 @@
-VOID:UINT,UINT
-VOID:STRING,BOXED,BOXED,BOXED,BOXED,UINT,UINT
diff --git a/generate/src/gabble-roster-channel.c b/generate/src/gabble-roster-channel.c
deleted file mode 100644
index 89a83fccb..000000000
--- a/generate/src/gabble-roster-channel.c
+++ /dev/null
@@ -1,414 +0,0 @@
-/*
- * gabble-roster-channel.c - Source for GabbleRosterChannel
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <dbus/dbus-glib.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-#include "gabble-roster-channel.h"
-#include "gabble-roster-channel-signals-marshal.h"
-
-#include "gabble-roster-channel-glue.h"
-
-G_DEFINE_TYPE(GabbleRosterChannel, gabble_roster_channel, G_TYPE_OBJECT)
-
-/* signal enum */
-enum
-{
- CLOSED,
- GROUP_FLAGS_CHANGED,
- MEMBERS_CHANGED,
- LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL] = {0};
-
-/* private structure */
-typedef struct _GabbleRosterChannelPrivate GabbleRosterChannelPrivate;
-
-struct _GabbleRosterChannelPrivate
-{
- gboolean dispose_has_run;
-};
-
-#define GABBLE_ROSTER_CHANNEL_GET_PRIVATE(obj) \
- ((GabbleRosterChannelPrivate *)obj->priv)
-
-static void
-gabble_roster_channel_init (GabbleRosterChannel *self)
-{
- GabbleRosterChannelPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
- GABBLE_TYPE_ROSTER_CHANNEL, GabbleRosterChannelPrivate);
-
- self->priv = priv;
-
- /* allocate any data required by the object here */
-}
-
-static void gabble_roster_channel_dispose (GObject *object);
-static void gabble_roster_channel_finalize (GObject *object);
-
-static void
-gabble_roster_channel_class_init (GabbleRosterChannelClass *gabble_roster_channel_class)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (gabble_roster_channel_class);
-
- g_type_class_add_private (gabble_roster_channel_class, sizeof (GabbleRosterChannelPrivate));
-
- object_class->dispose = gabble_roster_channel_dispose;
- object_class->finalize = gabble_roster_channel_finalize;
-
- signals[CLOSED] =
- g_signal_new ("closed",
- G_OBJECT_CLASS_TYPE (gabble_roster_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE, 0);
-
- signals[GROUP_FLAGS_CHANGED] =
- g_signal_new ("group-flags-changed",
- G_OBJECT_CLASS_TYPE (gabble_roster_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_roster_channel_marshal_VOID__UINT_UINT,
- G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT);
-
- signals[MEMBERS_CHANGED] =
- g_signal_new ("members-changed",
- G_OBJECT_CLASS_TYPE (gabble_roster_channel_class),
- G_SIGNAL_RUN_LAST | G_SIGNAL_DETAILED,
- 0,
- NULL, NULL,
- gabble_roster_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);
-
- dbus_g_object_type_install_info (G_TYPE_FROM_CLASS (gabble_roster_channel_class), &dbus_glib_gabble_roster_channel_object_info);
-}
-
-void
-gabble_roster_channel_dispose (GObject *object)
-{
- GabbleRosterChannel *self = GABBLE_ROSTER_CHANNEL (object);
- GabbleRosterChannelPrivate *priv = GABBLE_ROSTER_CHANNEL_GET_PRIVATE (self);
-
- if (priv->dispose_has_run)
- return;
-
- priv->dispose_has_run = TRUE;
-
- /* release any references held by the object here */
-
- if (G_OBJECT_CLASS (gabble_roster_channel_parent_class)->dispose)
- G_OBJECT_CLASS (gabble_roster_channel_parent_class)->dispose (object);
-}
-
-void
-gabble_roster_channel_finalize (GObject *object)
-{
- GabbleRosterChannel *self = GABBLE_ROSTER_CHANNEL (object);
- GabbleRosterChannelPrivate *priv = GABBLE_ROSTER_CHANNEL_GET_PRIVATE (self);
-
- /* free any data held directly by the object here */
-
- G_OBJECT_CLASS (gabble_roster_channel_parent_class)->finalize (object);
-}
-
-
-
-/**
- * gabble_roster_channel_add_members
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_add_members (GabbleRosterChannel *self,
- const GArray *contacts,
- const gchar *message,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roster_channel_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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_close (GabbleRosterChannel *self,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roster_channel_get_all_members
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_get_all_members (GabbleRosterChannel *self,
- GArray **ret,
- GArray **ret1,
- GArray **ret2,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roster_channel_get_channel_type
- *
- * Implements D-Bus method GetChannelType
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_get_channel_type (GabbleRosterChannel *self,
- gchar **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roster_channel_get_group_flags
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_get_group_flags (GabbleRosterChannel *self,
- guint *ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roster_channel_get_handle
- *
- * Implements D-Bus method GetHandle
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_get_handle (GabbleRosterChannel *self,
- guint *ret,
- guint *ret1,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roster_channel_get_handle_owners
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_get_handle_owners (GabbleRosterChannel *self,
- const GArray *handles,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roster_channel_get_interfaces
- *
- * Implements D-Bus method GetInterfaces
- * on interface org.freedesktop.Telepathy.Channel
- *
- * @error: Used to return a pointer to a GError detailing any error
- * that occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_get_interfaces (GabbleRosterChannel *self,
- gchar ***ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roster_channel_get_local_pending_members
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_get_local_pending_members (GabbleRosterChannel *self,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roster_channel_get_members
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_get_members (GabbleRosterChannel *self,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roster_channel_get_remote_pending_members
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_get_remote_pending_members (GabbleRosterChannel *self,
- GArray **ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roster_channel_get_self_handle
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_get_self_handle (GabbleRosterChannel *self,
- guint *ret,
- GError **error)
-{
- return TRUE;
-}
-
-
-/**
- * gabble_roster_channel_remove_members
- *
- * 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 occurred, D-Bus will throw the error only if this
- * function returns FALSE.
- *
- * Returns: TRUE if successful, FALSE if an error was thrown.
- */
-gboolean
-gabble_roster_channel_remove_members (GabbleRosterChannel *self,
- const GArray *contacts,
- const gchar *message,
- GError **error)
-{
- return TRUE;
-}
-
diff --git a/generate/src/gabble-roster-channel.h b/generate/src/gabble-roster-channel.h
deleted file mode 100644
index b9441bd92..000000000
--- a/generate/src/gabble-roster-channel.h
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
- * gabble-roster-channel.h - Header for GabbleRosterChannel
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __GABBLE_ROSTER_CHANNEL_H__
-#define __GABBLE_ROSTER_CHANNEL_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GabbleRosterChannel GabbleRosterChannel;
-typedef struct _GabbleRosterChannelClass GabbleRosterChannelClass;
-
-struct _GabbleRosterChannelClass {
- GObjectClass parent_class;
-};
-
-struct _GabbleRosterChannel {
- GObject parent;
-
- gpointer priv;
-};
-
-GType gabble_roster_channel_get_type(void);
-
-/* TYPE MACROS */
-#define GABBLE_TYPE_ROSTER_CHANNEL \
- (gabble_roster_channel_get_type())
-#define GABBLE_ROSTER_CHANNEL(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_ROSTER_CHANNEL, GabbleRosterChannel))
-#define GABBLE_ROSTER_CHANNEL_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_ROSTER_CHANNEL, GabbleRosterChannelClass))
-#define GABBLE_IS_ROSTER_CHANNEL(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_ROSTER_CHANNEL))
-#define GABBLE_IS_ROSTER_CHANNEL_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_ROSTER_CHANNEL))
-#define GABBLE_ROSTER_CHANNEL_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_ROSTER_CHANNEL, GabbleRosterChannelClass))
-
-
-gboolean
-gabble_roster_channel_add_members (GabbleRosterChannel *self,
- const GArray *contacts,
- const gchar *message,
- GError **error);
-
-gboolean
-gabble_roster_channel_close (GabbleRosterChannel *self,
- GError **error);
-
-gboolean
-gabble_roster_channel_get_all_members (GabbleRosterChannel *self,
- GArray **ret,
- GArray **ret1,
- GArray **ret2,
- GError **error);
-
-gboolean
-gabble_roster_channel_get_channel_type (GabbleRosterChannel *self,
- gchar **ret,
- GError **error);
-
-gboolean
-gabble_roster_channel_get_group_flags (GabbleRosterChannel *self,
- guint *ret,
- GError **error);
-
-gboolean
-gabble_roster_channel_get_handle (GabbleRosterChannel *self,
- guint *ret,
- guint *ret1,
- GError **error);
-
-gboolean
-gabble_roster_channel_get_handle_owners (GabbleRosterChannel *self,
- const GArray *handles,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_roster_channel_get_interfaces (GabbleRosterChannel *self,
- gchar ***ret,
- GError **error);
-
-gboolean
-gabble_roster_channel_get_local_pending_members (GabbleRosterChannel *self,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_roster_channel_get_members (GabbleRosterChannel *self,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_roster_channel_get_remote_pending_members (GabbleRosterChannel *self,
- GArray **ret,
- GError **error);
-
-gboolean
-gabble_roster_channel_get_self_handle (GabbleRosterChannel *self,
- guint *ret,
- GError **error);
-
-gboolean
-gabble_roster_channel_remove_members (GabbleRosterChannel *self,
- const GArray *contacts,
- const gchar *message,
- GError **error);
-
-
-
-G_END_DECLS
-
-#endif /* #ifndef __GABBLE_ROSTER_CHANNEL_H__*/
diff --git a/generate/src/telepathy-errors.h b/generate/src/telepathy-errors.h
deleted file mode 100644
index 18c00cca4..000000000
--- a/generate/src/telepathy-errors.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * telepathy-errors.h - Header for Telepathy error types
- * Copyright (C) 2005 Collabora Ltd.
- * Copyright (C) 2005 Nokia Corporation
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __TELEPATHY_ERRORS_H__
-#define __TELEPATHY_ERRORS_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-typedef enum
-{
- ChannelBanned, /** You are banned from the channel.
- */
- ChannelFull, /** The channel is full.
- */
- ChannelInviteOnly, /** The requested channel is invite-only.
- */
- Disconnected, /** The connection is not currently connected and cannot
- * be used.
- */
- InvalidArgument, /** Raised when one of the provided arguments is invalid.
- */
- InvalidHandle, /** The contact name specified is unknown on this channel
- * or connection.
- */
- NetworkError, /** Raised when there is an error reading from or writing
- * to the network.
- */
- NotAvailable, /** Raised when the requested functionality is temporarily
- * unavailable.
- */
- NotImplemented, /** Raised when the requested method, channel, etc is not
- * available on this connection.
- */
- PermissionDenied, /** The user is not permitted to perform the requested
- * operation.
- */
-} TelepathyErrors;
-
-
-G_END_DECLS
-
-#endif /* #ifndef __TELEPATHY_ERRORS_H__*/
diff --git a/generate/xml-modified/.git-darcs-dir b/generate/xml-modified/.git-darcs-dir
deleted file mode 100644
index e69de29bb..000000000
--- a/generate/xml-modified/.git-darcs-dir
+++ /dev/null
diff --git a/generate/xml-modified/gabble-connection-manager.xml b/generate/xml-modified/gabble-connection-manager.xml
deleted file mode 100644
index 74c654590..000000000
--- a/generate/xml-modified/gabble-connection-manager.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleConnectionManager">
- <interface name="org.freedesktop.Telepathy.ConnectionManager">
- <method name="GetParameters">
- <arg direction="in" name="proto" type="s"/>
- <arg direction="out" type="a(susv)"/>
- </method>
- <method name="ListProtocols">
- <arg direction="out" type="as"/>
- </method>
- <signal name="NewConnection">
- <arg name="bus_name" type="s"/>
- <arg name="object_path" type="o"/>
- <arg name="proto" type="s"/>
- </signal>
- <method name="RequestConnection">
- <arg direction="in" name="proto" type="s"/>
- <arg direction="in" name="parameters" type="a{sv}"/>
- <arg direction="out" type="s"/>
- <arg direction="out" type="o"/>
- </method>
- </interface>
-</node>
diff --git a/generate/xml-modified/gabble-connection.xml b/generate/xml-modified/gabble-connection.xml
deleted file mode 100644
index 9b7581547..000000000
--- a/generate/xml-modified/gabble-connection.xml
+++ /dev/null
@@ -1,173 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleConnection">
- <interface name="org.freedesktop.Telepathy.Connection">
- <method name="Connect"/>
- <method name="Disconnect"/>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
- <method name="GetProtocol">
- <arg direction="out" type="s"/>
- </method>
- <method name="GetSelfHandle">
- <arg direction="out" type="u"/>
- </method>
- <method name="GetStatus">
- <arg direction="out" type="u"/>
- </method>
- <method name="HoldHandles">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="handle_type" type="u"/>
- <arg direction="in" name="handles" type="au"/>
- </method>
- <method name="InspectHandles">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="handle_type" type="u"/>
- <arg direction="in" name="handles" type="au"/>
- <arg direction="out" type="as"/>
- </method>
- <method name="ListChannels">
- <arg direction="out" type="a(osuu)"/>
- </method>
- <signal name="NewChannel">
- <arg name="object_path" type="o"/>
- <arg name="channel_type" type="s"/>
- <arg name="handle_type" type="u"/>
- <arg name="handle" type="u"/>
- <arg name="suppress_handler" type="b"/>
- </signal>
- <method name="ReleaseHandles">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="handle_type" type="u"/>
- <arg direction="in" name="handles" type="au"/>
- </method>
- <method name="RequestChannel">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="type" type="s"/>
- <arg direction="in" name="handle_type" type="u"/>
- <arg direction="in" name="handle" type="u"/>
- <arg direction="in" name="suppress_handler" type="b"/>
- <arg direction="out" type="o"/>
- </method>
- <method name="RequestHandles">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="handle_type" type="u"/>
- <arg direction="in" name="names" type="as"/>
- <arg direction="out" type="au"/>
- </method>
- <signal name="StatusChanged">
- <arg name="status" type="u"/>
- <arg name="reason" type="u"/>
- </signal>
- </interface>
- <interface name="org.freedesktop.Telepathy.Connection.Interface.Aliasing">
- <signal name="AliasesChanged">
- <arg name="aliases" type="a(us)"/>
- </signal>
- <method name="GetAliasFlags">
- <arg direction="out" type="u"/>
- </method>
- <method name="RequestAliases">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="out" type="as"/>
- </method>
- <method name="SetAliases">
- <arg direction="in" name="aliases" type="a{us}"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Connection.Interface.Avatars">
- <signal name="AvatarUpdated">
- <arg name="contact" type="u"/>
- <arg name="new_avatar_token" type="s"/>
- </signal>
- <method name="GetAvatarRequirements">
- <arg direction="out" type="as"/>
- <arg direction="out" type="q"/>
- <arg direction="out" type="q"/>
- <arg direction="out" type="q"/>
- <arg direction="out" type="q"/>
- <arg direction="out" type="u"/>
- </method>
- <method name="GetAvatarTokens">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="out" type="as"/>
- </method>
- <method name="RequestAvatar">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="contact" type="u"/>
- <arg direction="out" type="ay"/>
- <arg direction="out" type="s"/>
- </method>
- <method name="SetAvatar">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="avatar" type="ay"/>
- <arg direction="in" name="mime_type" type="s"/>
- <arg direction="out" type="s"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Connection.Interface.Capabilities">
- <method name="AdvertiseCapabilities">
- <arg direction="in" name="add" type="a(su)"/>
- <arg direction="in" name="remove" type="as"/>
- <arg direction="out" type="a(su)"/>
- </method>
- <signal name="CapabilitiesChanged">
- <arg name="caps" type="a(usuuuu)"/>
- </signal>
- <method name="GetCapabilities">
- <arg direction="in" name="handles" type="au"/>
- <arg direction="out" type="a(usuu)"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Connection.Interface.Presence">
- <method name="AddStatus">
- <arg direction="in" name="status" type="s"/>
- <arg direction="in" name="parms" type="a{sv}"/>
- </method>
- <method name="ClearStatus"/>
- <method name="GetPresence">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="out" type="a{u(ua{sa{sv}})}"/>
- </method>
- <method name="GetStatuses">
- <arg direction="out" type="a{s(ubba{ss})}"/>
- </method>
- <signal name="PresenceUpdate">
- <arg name="presence" type="a{u(ua{sa{sv}})}"/>
- </signal>
- <method name="RemoveStatus">
- <arg direction="in" name="status" type="s"/>
- </method>
- <method name="RequestPresence">
- <arg direction="in" name="contacts" type="au"/>
- </method>
- <method name="SetLastActivityTime">
- <arg direction="in" name="time" type="u"/>
- </method>
- <method name="SetStatus">
- <arg direction="in" name="statuses" type="a{sa{sv}}"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Properties">
- <method name="GetProperties">
- <arg direction="in" name="properties" type="au"/>
- <arg direction="out" type="a(uv)"/>
- </method>
- <method name="ListProperties">
- <arg direction="out" type="a(ussu)"/>
- </method>
- <signal name="PropertiesChanged">
- <arg name="properties" type="a(uv)"/>
- </signal>
- <signal name="PropertyFlagsChanged">
- <arg name="properties" type="a(uu)"/>
- </signal>
- <method name="SetProperties">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="properties" type="a(uv)"/>
- </method>
- </interface>
-</node>
diff --git a/generate/xml-modified/gabble-im-channel.xml b/generate/xml-modified/gabble-im-channel.xml
deleted file mode 100644
index 36307b54c..000000000
--- a/generate/xml-modified/gabble-im-channel.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleIMChannel">
- <interface name="org.freedesktop.Telepathy.Channel">
- <method name="Close"/>
- <signal name="Closed"/>
- <method name="GetChannelType">
- <arg direction="out" type="s"/>
- </method>
- <method name="GetHandle">
- <arg direction="out" type="u"/>
- <arg direction="out" type="u"/>
- </method>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Type.Text">
- <method name="AcknowledgePendingMessages">
- <arg direction="in" name="ids" type="au"/>
- </method>
- <method name="GetMessageTypes">
- <arg direction="out" type="au"/>
- </method>
- <method name="ListPendingMessages">
- <arg direction="in" name="clear" type="b"/>
- <arg direction="out" type="a(uuuuus)"/>
- </method>
- <signal name="LostMessage"/>
- <signal name="Received">
- <arg name="id" type="u"/>
- <arg name="timestamp" type="u"/>
- <arg name="sender" type="u"/>
- <arg name="type" type="u"/>
- <arg name="flags" type="u"/>
- <arg name="text" type="s"/>
- </signal>
- <method name="Send">
- <arg direction="in" name="type" type="u"/>
- <arg direction="in" name="text" type="s"/>
- </method>
- <signal name="SendError">
- <arg name="error" type="u"/>
- <arg name="timestamp" type="u"/>
- <arg name="type" type="u"/>
- <arg name="text" type="s"/>
- </signal>
- <signal name="Sent">
- <arg name="timestamp" type="u"/>
- <arg name="type" type="u"/>
- <arg name="text" type="s"/>
- </signal>
- </interface>
-</node>
diff --git a/generate/xml-modified/gabble-media-channel.xml b/generate/xml-modified/gabble-media-channel.xml
deleted file mode 100644
index 7575ee619..000000000
--- a/generate/xml-modified/gabble-media-channel.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleMediaChannel">
- <interface name="org.freedesktop.Telepathy.Channel">
- <method name="Close"/>
- <signal name="Closed"/>
- <method name="GetChannelType">
- <arg direction="out" type="s"/>
- </method>
- <method name="GetHandle">
- <arg direction="out" type="u"/>
- <arg direction="out" type="u"/>
- </method>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Interface.Group">
- <method name="AddMembers">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- <method name="GetAllMembers">
- <arg direction="out" type="au"/>
- <arg direction="out" type="au"/>
- <arg direction="out" type="au"/>
- </method>
- <method name="GetGroupFlags">
- <arg direction="out" type="u"/>
- </method>
- <method name="GetHandleOwners">
- <arg direction="in" name="handles" type="au"/>
- <arg direction="out" type="au"/>
- </method>
- <method name="GetLocalPendingMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetRemotePendingMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetSelfHandle">
- <arg direction="out" type="u"/>
- </method>
- <signal name="GroupFlagsChanged">
- <arg name="added" type="u"/>
- <arg name="removed" type="u"/>
- </signal>
- <signal name="MembersChanged">
- <arg name="message" type="s"/>
- <arg name="added" type="au"/>
- <arg name="removed" type="au"/>
- <arg name="local_pending" type="au"/>
- <arg name="remote_pending" type="au"/>
- <arg name="actor" type="u"/>
- <arg name="reason" type="u"/>
- </signal>
- <method name="RemoveMembers">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Interface.MediaSignalling">
- <method name="GetSessionHandlers">
- <arg direction="out" type="a(os)"/>
- </method>
- <signal name="NewSessionHandler">
- <arg name="session_handler" type="o"/>
- <arg name="type" type="s"/>
- </signal>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Type.StreamedMedia">
- <method name="ListStreams">
- <arg direction="out" type="a(uuuuuu)"/>
- </method>
- <method name="RemoveStreams">
- <arg direction="in" name="streams" type="au"/>
- </method>
- <method name="RequestStreamDirection">
- <arg direction="in" name="stream_id" type="u"/>
- <arg direction="in" name="stream_direction" type="u"/>
- </method>
- <method name="RequestStreams">
- <arg direction="in" name="contact_handle" type="u"/>
- <arg direction="in" name="types" type="au"/>
- <arg direction="out" type="a(uuuuuu)"/>
- </method>
- <signal name="StreamAdded">
- <arg name="stream_id" type="u"/>
- <arg name="contact_handle" type="u"/>
- <arg name="stream_type" type="u"/>
- </signal>
- <signal name="StreamDirectionChanged">
- <arg name="stream_id" type="u"/>
- <arg name="stream_direction" type="u"/>
- <arg name="pending_flags" type="u"/>
- </signal>
- <signal name="StreamError">
- <arg name="stream_id" type="u"/>
- <arg name="errno" type="u"/>
- <arg name="message" type="s"/>
- </signal>
- <signal name="StreamRemoved">
- <arg name="stream_id" type="u"/>
- </signal>
- <signal name="StreamStateChanged">
- <arg name="stream_id" type="u"/>
- <arg name="stream_state" type="u"/>
- </signal>
- </interface>
-</node>
diff --git a/generate/xml-modified/gabble-media-session.xml b/generate/xml-modified/gabble-media-session.xml
deleted file mode 100644
index db7c995e7..000000000
--- a/generate/xml-modified/gabble-media-session.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleMediaSession">
- <interface name="org.freedesktop.Telepathy.Media.SessionHandler">
- <method name="Error">
- <arg direction="in" name="errno" type="u"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- <signal name="NewStreamHandler">
- <arg name="stream_handler" type="o"/>
- <arg name="id" type="u"/>
- <arg name="media_type" type="u"/>
- <arg name="direction" type="u"/>
- </signal>
- <method name="Ready"/>
- </interface>
-</node>
diff --git a/generate/xml-modified/gabble-media-stream.xml b/generate/xml-modified/gabble-media-stream.xml
deleted file mode 100644
index 103c1e810..000000000
--- a/generate/xml-modified/gabble-media-stream.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleMediaStream">
- <interface name="org.freedesktop.Telepathy.Media.StreamHandler">
- <signal name="AddRemoteCandidate">
- <arg name="candidate_id" type="s"/>
- <arg name="transports" type="a(usuussduss)"/>
- </signal>
- <signal name="Close"/>
- <method name="CodecChoice">
- <arg direction="in" name="codec_id" type="u"/>
- </method>
- <method name="Error">
- <arg direction="in" name="errno" type="u"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- <method name="NativeCandidatesPrepared"/>
- <method name="NewActiveCandidatePair">
- <arg direction="in" name="native_candidate_id" type="s"/>
- <arg direction="in" name="remote_candidate_id" type="s"/>
- </method>
- <method name="NewNativeCandidate">
- <arg direction="in" name="candidate_id" type="s"/>
- <arg direction="in" name="transports" type="a(usuussduss)"/>
- </method>
- <method name="Ready">
- <arg direction="in" name="codecs" type="a(usuuua{ss})"/>
- </method>
- <signal name="RemoveRemoteCandidate">
- <arg name="candidate_id" type="s"/>
- </signal>
- <signal name="SetActiveCandidatePair">
- <arg name="native_candidate_id" type="s"/>
- <arg name="remote_candidate_id" type="s"/>
- </signal>
- <method name="SetLocalCodecs">
- <arg direction="in" name="codecs" type="a(usuuua{ss})"/>
- </method>
- <signal name="SetRemoteCandidateList">
- <arg name="remote_candidates" type="a(sa(usuussduss))"/>
- </signal>
- <signal name="SetRemoteCodecs">
- <arg name="codecs" type="a(usuuua{ss})"/>
- </signal>
- <signal name="SetStreamPlaying">
- <arg name="playing" type="b"/>
- </signal>
- <signal name="SetStreamSending">
- <arg name="playing" type="b"/>
- </signal>
- <method name="StreamState">
- <arg direction="in" name="state" type="u"/>
- </method>
- <method name="SupportedCodecs">
- <arg direction="in" name="codecs" type="a(usuuua{ss})"/>
- </method>
- </interface>
-</node>
diff --git a/generate/xml-modified/gabble-muc-channel.xml b/generate/xml-modified/gabble-muc-channel.xml
deleted file mode 100644
index c1d05727b..000000000
--- a/generate/xml-modified/gabble-muc-channel.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleMucChannel">
- <interface name="org.freedesktop.Telepathy.Channel">
- <method name="Close"/>
- <signal name="Closed"/>
- <method name="GetChannelType">
- <arg direction="out" type="s"/>
- </method>
- <method name="GetHandle">
- <arg direction="out" type="u"/>
- <arg direction="out" type="u"/>
- </method>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Interface.Group">
- <method name="AddMembers">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- <method name="GetAllMembers">
- <arg direction="out" type="au"/>
- <arg direction="out" type="au"/>
- <arg direction="out" type="au"/>
- </method>
- <method name="GetGroupFlags">
- <arg direction="out" type="u"/>
- </method>
- <method name="GetHandleOwners">
- <arg direction="in" name="handles" type="au"/>
- <arg direction="out" type="au"/>
- </method>
- <method name="GetLocalPendingMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetRemotePendingMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetSelfHandle">
- <arg direction="out" type="u"/>
- </method>
- <signal name="GroupFlagsChanged">
- <arg name="added" type="u"/>
- <arg name="removed" type="u"/>
- </signal>
- <signal name="MembersChanged">
- <arg name="message" type="s"/>
- <arg name="added" type="au"/>
- <arg name="removed" type="au"/>
- <arg name="local_pending" type="au"/>
- <arg name="remote_pending" type="au"/>
- <arg name="actor" type="u"/>
- <arg name="reason" type="u"/>
- </signal>
- <method name="RemoveMembers">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Interface.Password">
- <method name="GetPasswordFlags">
- <arg direction="out" type="u"/>
- </method>
- <signal name="PasswordFlagsChanged">
- <arg name="added" type="u"/>
- <arg name="removed" type="u"/>
- </signal>
- <method name="ProvidePassword">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="password" type="s"/>
- <arg direction="out" type="b"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Type.Text">
- <method name="AcknowledgePendingMessages">
- <arg direction="in" name="ids" type="au"/>
- </method>
- <method name="GetMessageTypes">
- <arg direction="out" type="au"/>
- </method>
- <method name="ListPendingMessages">
- <arg direction="in" name="clear" type="b"/>
- <arg direction="out" type="a(uuuuus)"/>
- </method>
- <signal name="LostMessage"/>
- <signal name="Received">
- <arg name="id" type="u"/>
- <arg name="timestamp" type="u"/>
- <arg name="sender" type="u"/>
- <arg name="type" type="u"/>
- <arg name="flags" type="u"/>
- <arg name="text" type="s"/>
- </signal>
- <method name="Send">
- <arg direction="in" name="type" type="u"/>
- <arg direction="in" name="text" type="s"/>
- </method>
- <signal name="SendError">
- <arg name="error" type="u"/>
- <arg name="timestamp" type="u"/>
- <arg name="type" type="u"/>
- <arg name="text" type="s"/>
- </signal>
- <signal name="Sent">
- <arg name="timestamp" type="u"/>
- <arg name="type" type="u"/>
- <arg name="text" type="s"/>
- </signal>
- </interface>
- <interface name="org.freedesktop.Telepathy.Properties">
- <method name="GetProperties">
- <arg direction="in" name="properties" type="au"/>
- <arg direction="out" type="a(uv)"/>
- </method>
- <method name="ListProperties">
- <arg direction="out" type="a(ussu)"/>
- </method>
- <signal name="PropertiesChanged">
- <arg name="properties" type="a(uv)"/>
- </signal>
- <signal name="PropertyFlagsChanged">
- <arg name="properties" type="a(uu)"/>
- </signal>
- <method name="SetProperties">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg direction="in" name="properties" type="a(uv)"/>
- </method>
- </interface>
-</node>
diff --git a/generate/xml-modified/gabble-roomlist-channel.xml b/generate/xml-modified/gabble-roomlist-channel.xml
deleted file mode 100644
index b1d060016..000000000
--- a/generate/xml-modified/gabble-roomlist-channel.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleRoomlistChannel">
- <interface name="org.freedesktop.Telepathy.Channel">
- <method name="Close"/>
- <signal name="Closed"/>
- <method name="GetChannelType">
- <arg direction="out" type="s"/>
- </method>
- <method name="GetHandle">
- <arg direction="out" type="u"/>
- <arg direction="out" type="u"/>
- </method>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Type.RoomList">
- <method name="GetListingRooms">
- <arg direction="out" type="b"/>
- </method>
- <signal name="GotRooms">
- <arg name="rooms" type="a(usa{sv})"/>
- </signal>
- <method name="ListRooms"/>
- <signal name="ListingRooms">
- <arg name="listing" type="b"/>
- </signal>
- </interface>
-</node>
diff --git a/generate/xml-modified/gabble-roster-channel.xml b/generate/xml-modified/gabble-roster-channel.xml
deleted file mode 100644
index 8dbc49c34..000000000
--- a/generate/xml-modified/gabble-roster-channel.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleRosterChannel">
- <interface name="org.freedesktop.Telepathy.Channel">
- <method name="Close"/>
- <signal name="Closed"/>
- <method name="GetChannelType">
- <arg direction="out" type="s"/>
- </method>
- <method name="GetHandle">
- <arg direction="out" type="u"/>
- <arg direction="out" type="u"/>
- </method>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Interface.Group">
- <method name="AddMembers">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- <method name="GetAllMembers">
- <arg direction="out" type="au"/>
- <arg direction="out" type="au"/>
- <arg direction="out" type="au"/>
- </method>
- <method name="GetGroupFlags">
- <arg direction="out" type="u"/>
- </method>
- <method name="GetHandleOwners">
- <arg direction="in" name="handles" type="au"/>
- <arg direction="out" type="au"/>
- </method>
- <method name="GetLocalPendingMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetRemotePendingMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetSelfHandle">
- <arg direction="out" type="u"/>
- </method>
- <signal name="GroupFlagsChanged">
- <arg name="added" type="u"/>
- <arg name="removed" type="u"/>
- </signal>
- <signal name="MembersChanged">
- <arg name="message" type="s"/>
- <arg name="added" type="au"/>
- <arg name="removed" type="au"/>
- <arg name="local_pending" type="au"/>
- <arg name="remote_pending" type="au"/>
- <arg name="actor" type="u"/>
- <arg name="reason" type="u"/>
- </signal>
- <method name="RemoveMembers">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- </interface>
-</node>
diff --git a/generate/xml-pristine/.git-darcs-dir b/generate/xml-pristine/.git-darcs-dir
deleted file mode 100644
index e69de29bb..000000000
--- a/generate/xml-pristine/.git-darcs-dir
+++ /dev/null
diff --git a/generate/xml-pristine/gabble-connection-manager.xml b/generate/xml-pristine/gabble-connection-manager.xml
deleted file mode 100644
index 74c654590..000000000
--- a/generate/xml-pristine/gabble-connection-manager.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleConnectionManager">
- <interface name="org.freedesktop.Telepathy.ConnectionManager">
- <method name="GetParameters">
- <arg direction="in" name="proto" type="s"/>
- <arg direction="out" type="a(susv)"/>
- </method>
- <method name="ListProtocols">
- <arg direction="out" type="as"/>
- </method>
- <signal name="NewConnection">
- <arg name="bus_name" type="s"/>
- <arg name="object_path" type="o"/>
- <arg name="proto" type="s"/>
- </signal>
- <method name="RequestConnection">
- <arg direction="in" name="proto" type="s"/>
- <arg direction="in" name="parameters" type="a{sv}"/>
- <arg direction="out" type="s"/>
- <arg direction="out" type="o"/>
- </method>
- </interface>
-</node>
diff --git a/generate/xml-pristine/gabble-connection.xml b/generate/xml-pristine/gabble-connection.xml
deleted file mode 100644
index 0771cf60a..000000000
--- a/generate/xml-pristine/gabble-connection.xml
+++ /dev/null
@@ -1,162 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleConnection">
- <interface name="org.freedesktop.Telepathy.Connection">
- <method name="Connect"/>
- <method name="Disconnect"/>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
- <method name="GetProtocol">
- <arg direction="out" type="s"/>
- </method>
- <method name="GetSelfHandle">
- <arg direction="out" type="u"/>
- </method>
- <method name="GetStatus">
- <arg direction="out" type="u"/>
- </method>
- <method name="HoldHandles">
- <arg direction="in" name="handle_type" type="u"/>
- <arg direction="in" name="handles" type="au"/>
- </method>
- <method name="InspectHandles">
- <arg direction="in" name="handle_type" type="u"/>
- <arg direction="in" name="handles" type="au"/>
- <arg direction="out" type="as"/>
- </method>
- <method name="ListChannels">
- <arg direction="out" type="a(osuu)"/>
- </method>
- <signal name="NewChannel">
- <arg name="object_path" type="o"/>
- <arg name="channel_type" type="s"/>
- <arg name="handle_type" type="u"/>
- <arg name="handle" type="u"/>
- <arg name="suppress_handler" type="b"/>
- </signal>
- <method name="ReleaseHandles">
- <arg direction="in" name="handle_type" type="u"/>
- <arg direction="in" name="handles" type="au"/>
- </method>
- <method name="RequestChannel">
- <arg direction="in" name="type" type="s"/>
- <arg direction="in" name="handle_type" type="u"/>
- <arg direction="in" name="handle" type="u"/>
- <arg direction="in" name="suppress_handler" type="b"/>
- <arg direction="out" type="o"/>
- </method>
- <method name="RequestHandles">
- <arg direction="in" name="handle_type" type="u"/>
- <arg direction="in" name="names" type="as"/>
- <arg direction="out" type="au"/>
- </method>
- <signal name="StatusChanged">
- <arg name="status" type="u"/>
- <arg name="reason" type="u"/>
- </signal>
- </interface>
- <interface name="org.freedesktop.Telepathy.Connection.Interface.Aliasing">
- <signal name="AliasesChanged">
- <arg name="aliases" type="a(us)"/>
- </signal>
- <method name="GetAliasFlags">
- <arg direction="out" type="u"/>
- </method>
- <method name="RequestAliases">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="out" type="as"/>
- </method>
- <method name="SetAliases">
- <arg direction="in" name="aliases" type="a{us}"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Connection.Interface.Avatars">
- <signal name="AvatarUpdated">
- <arg name="contact" type="u"/>
- <arg name="new_avatar_token" type="s"/>
- </signal>
- <method name="GetAvatarRequirements">
- <arg direction="out" type="as"/>
- <arg direction="out" type="q"/>
- <arg direction="out" type="q"/>
- <arg direction="out" type="q"/>
- <arg direction="out" type="q"/>
- <arg direction="out" type="u"/>
- </method>
- <method name="GetAvatarTokens">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="out" type="as"/>
- </method>
- <method name="RequestAvatar">
- <arg direction="in" name="contact" type="u"/>
- <arg direction="out" type="ay"/>
- <arg direction="out" type="s"/>
- </method>
- <method name="SetAvatar">
- <arg direction="in" name="avatar" type="ay"/>
- <arg direction="in" name="mime_type" type="s"/>
- <arg direction="out" type="s"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Connection.Interface.Capabilities">
- <method name="AdvertiseCapabilities">
- <arg direction="in" name="add" type="a(su)"/>
- <arg direction="in" name="remove" type="as"/>
- <arg direction="out" type="a(su)"/>
- </method>
- <signal name="CapabilitiesChanged">
- <arg name="caps" type="a(usuuuu)"/>
- </signal>
- <method name="GetCapabilities">
- <arg direction="in" name="handles" type="au"/>
- <arg direction="out" type="a(usuu)"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Connection.Interface.Presence">
- <method name="AddStatus">
- <arg direction="in" name="status" type="s"/>
- <arg direction="in" name="parms" type="a{sv}"/>
- </method>
- <method name="ClearStatus"/>
- <method name="GetPresence">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="out" type="a{u(ua{sa{sv}})}"/>
- </method>
- <method name="GetStatuses">
- <arg direction="out" type="a{s(ubba{ss})}"/>
- </method>
- <signal name="PresenceUpdate">
- <arg name="presence" type="a{u(ua{sa{sv}})}"/>
- </signal>
- <method name="RemoveStatus">
- <arg direction="in" name="status" type="s"/>
- </method>
- <method name="RequestPresence">
- <arg direction="in" name="contacts" type="au"/>
- </method>
- <method name="SetLastActivityTime">
- <arg direction="in" name="time" type="u"/>
- </method>
- <method name="SetStatus">
- <arg direction="in" name="statuses" type="a{sa{sv}}"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Properties">
- <method name="GetProperties">
- <arg direction="in" name="properties" type="au"/>
- <arg direction="out" type="a(uv)"/>
- </method>
- <method name="ListProperties">
- <arg direction="out" type="a(ussu)"/>
- </method>
- <signal name="PropertiesChanged">
- <arg name="properties" type="a(uv)"/>
- </signal>
- <signal name="PropertyFlagsChanged">
- <arg name="properties" type="a(uu)"/>
- </signal>
- <method name="SetProperties">
- <arg direction="in" name="properties" type="a(uv)"/>
- </method>
- </interface>
-</node>
diff --git a/generate/xml-pristine/gabble-im-channel.xml b/generate/xml-pristine/gabble-im-channel.xml
deleted file mode 100644
index 36307b54c..000000000
--- a/generate/xml-pristine/gabble-im-channel.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleIMChannel">
- <interface name="org.freedesktop.Telepathy.Channel">
- <method name="Close"/>
- <signal name="Closed"/>
- <method name="GetChannelType">
- <arg direction="out" type="s"/>
- </method>
- <method name="GetHandle">
- <arg direction="out" type="u"/>
- <arg direction="out" type="u"/>
- </method>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Type.Text">
- <method name="AcknowledgePendingMessages">
- <arg direction="in" name="ids" type="au"/>
- </method>
- <method name="GetMessageTypes">
- <arg direction="out" type="au"/>
- </method>
- <method name="ListPendingMessages">
- <arg direction="in" name="clear" type="b"/>
- <arg direction="out" type="a(uuuuus)"/>
- </method>
- <signal name="LostMessage"/>
- <signal name="Received">
- <arg name="id" type="u"/>
- <arg name="timestamp" type="u"/>
- <arg name="sender" type="u"/>
- <arg name="type" type="u"/>
- <arg name="flags" type="u"/>
- <arg name="text" type="s"/>
- </signal>
- <method name="Send">
- <arg direction="in" name="type" type="u"/>
- <arg direction="in" name="text" type="s"/>
- </method>
- <signal name="SendError">
- <arg name="error" type="u"/>
- <arg name="timestamp" type="u"/>
- <arg name="type" type="u"/>
- <arg name="text" type="s"/>
- </signal>
- <signal name="Sent">
- <arg name="timestamp" type="u"/>
- <arg name="type" type="u"/>
- <arg name="text" type="s"/>
- </signal>
- </interface>
-</node>
diff --git a/generate/xml-pristine/gabble-media-channel.xml b/generate/xml-pristine/gabble-media-channel.xml
deleted file mode 100644
index 7575ee619..000000000
--- a/generate/xml-pristine/gabble-media-channel.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleMediaChannel">
- <interface name="org.freedesktop.Telepathy.Channel">
- <method name="Close"/>
- <signal name="Closed"/>
- <method name="GetChannelType">
- <arg direction="out" type="s"/>
- </method>
- <method name="GetHandle">
- <arg direction="out" type="u"/>
- <arg direction="out" type="u"/>
- </method>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Interface.Group">
- <method name="AddMembers">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- <method name="GetAllMembers">
- <arg direction="out" type="au"/>
- <arg direction="out" type="au"/>
- <arg direction="out" type="au"/>
- </method>
- <method name="GetGroupFlags">
- <arg direction="out" type="u"/>
- </method>
- <method name="GetHandleOwners">
- <arg direction="in" name="handles" type="au"/>
- <arg direction="out" type="au"/>
- </method>
- <method name="GetLocalPendingMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetRemotePendingMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetSelfHandle">
- <arg direction="out" type="u"/>
- </method>
- <signal name="GroupFlagsChanged">
- <arg name="added" type="u"/>
- <arg name="removed" type="u"/>
- </signal>
- <signal name="MembersChanged">
- <arg name="message" type="s"/>
- <arg name="added" type="au"/>
- <arg name="removed" type="au"/>
- <arg name="local_pending" type="au"/>
- <arg name="remote_pending" type="au"/>
- <arg name="actor" type="u"/>
- <arg name="reason" type="u"/>
- </signal>
- <method name="RemoveMembers">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Interface.MediaSignalling">
- <method name="GetSessionHandlers">
- <arg direction="out" type="a(os)"/>
- </method>
- <signal name="NewSessionHandler">
- <arg name="session_handler" type="o"/>
- <arg name="type" type="s"/>
- </signal>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Type.StreamedMedia">
- <method name="ListStreams">
- <arg direction="out" type="a(uuuuuu)"/>
- </method>
- <method name="RemoveStreams">
- <arg direction="in" name="streams" type="au"/>
- </method>
- <method name="RequestStreamDirection">
- <arg direction="in" name="stream_id" type="u"/>
- <arg direction="in" name="stream_direction" type="u"/>
- </method>
- <method name="RequestStreams">
- <arg direction="in" name="contact_handle" type="u"/>
- <arg direction="in" name="types" type="au"/>
- <arg direction="out" type="a(uuuuuu)"/>
- </method>
- <signal name="StreamAdded">
- <arg name="stream_id" type="u"/>
- <arg name="contact_handle" type="u"/>
- <arg name="stream_type" type="u"/>
- </signal>
- <signal name="StreamDirectionChanged">
- <arg name="stream_id" type="u"/>
- <arg name="stream_direction" type="u"/>
- <arg name="pending_flags" type="u"/>
- </signal>
- <signal name="StreamError">
- <arg name="stream_id" type="u"/>
- <arg name="errno" type="u"/>
- <arg name="message" type="s"/>
- </signal>
- <signal name="StreamRemoved">
- <arg name="stream_id" type="u"/>
- </signal>
- <signal name="StreamStateChanged">
- <arg name="stream_id" type="u"/>
- <arg name="stream_state" type="u"/>
- </signal>
- </interface>
-</node>
diff --git a/generate/xml-pristine/gabble-media-session.xml b/generate/xml-pristine/gabble-media-session.xml
deleted file mode 100644
index db7c995e7..000000000
--- a/generate/xml-pristine/gabble-media-session.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleMediaSession">
- <interface name="org.freedesktop.Telepathy.Media.SessionHandler">
- <method name="Error">
- <arg direction="in" name="errno" type="u"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- <signal name="NewStreamHandler">
- <arg name="stream_handler" type="o"/>
- <arg name="id" type="u"/>
- <arg name="media_type" type="u"/>
- <arg name="direction" type="u"/>
- </signal>
- <method name="Ready"/>
- </interface>
-</node>
diff --git a/generate/xml-pristine/gabble-media-stream.xml b/generate/xml-pristine/gabble-media-stream.xml
deleted file mode 100644
index 103c1e810..000000000
--- a/generate/xml-pristine/gabble-media-stream.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleMediaStream">
- <interface name="org.freedesktop.Telepathy.Media.StreamHandler">
- <signal name="AddRemoteCandidate">
- <arg name="candidate_id" type="s"/>
- <arg name="transports" type="a(usuussduss)"/>
- </signal>
- <signal name="Close"/>
- <method name="CodecChoice">
- <arg direction="in" name="codec_id" type="u"/>
- </method>
- <method name="Error">
- <arg direction="in" name="errno" type="u"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- <method name="NativeCandidatesPrepared"/>
- <method name="NewActiveCandidatePair">
- <arg direction="in" name="native_candidate_id" type="s"/>
- <arg direction="in" name="remote_candidate_id" type="s"/>
- </method>
- <method name="NewNativeCandidate">
- <arg direction="in" name="candidate_id" type="s"/>
- <arg direction="in" name="transports" type="a(usuussduss)"/>
- </method>
- <method name="Ready">
- <arg direction="in" name="codecs" type="a(usuuua{ss})"/>
- </method>
- <signal name="RemoveRemoteCandidate">
- <arg name="candidate_id" type="s"/>
- </signal>
- <signal name="SetActiveCandidatePair">
- <arg name="native_candidate_id" type="s"/>
- <arg name="remote_candidate_id" type="s"/>
- </signal>
- <method name="SetLocalCodecs">
- <arg direction="in" name="codecs" type="a(usuuua{ss})"/>
- </method>
- <signal name="SetRemoteCandidateList">
- <arg name="remote_candidates" type="a(sa(usuussduss))"/>
- </signal>
- <signal name="SetRemoteCodecs">
- <arg name="codecs" type="a(usuuua{ss})"/>
- </signal>
- <signal name="SetStreamPlaying">
- <arg name="playing" type="b"/>
- </signal>
- <signal name="SetStreamSending">
- <arg name="playing" type="b"/>
- </signal>
- <method name="StreamState">
- <arg direction="in" name="state" type="u"/>
- </method>
- <method name="SupportedCodecs">
- <arg direction="in" name="codecs" type="a(usuuua{ss})"/>
- </method>
- </interface>
-</node>
diff --git a/generate/xml-pristine/gabble-muc-channel.xml b/generate/xml-pristine/gabble-muc-channel.xml
deleted file mode 100644
index 3b59b5426..000000000
--- a/generate/xml-pristine/gabble-muc-channel.xml
+++ /dev/null
@@ -1,131 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleMucChannel">
- <interface name="org.freedesktop.Telepathy.Channel">
- <method name="Close"/>
- <signal name="Closed"/>
- <method name="GetChannelType">
- <arg direction="out" type="s"/>
- </method>
- <method name="GetHandle">
- <arg direction="out" type="u"/>
- <arg direction="out" type="u"/>
- </method>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Interface.Group">
- <method name="AddMembers">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- <method name="GetAllMembers">
- <arg direction="out" type="au"/>
- <arg direction="out" type="au"/>
- <arg direction="out" type="au"/>
- </method>
- <method name="GetGroupFlags">
- <arg direction="out" type="u"/>
- </method>
- <method name="GetHandleOwners">
- <arg direction="in" name="handles" type="au"/>
- <arg direction="out" type="au"/>
- </method>
- <method name="GetLocalPendingMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetRemotePendingMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetSelfHandle">
- <arg direction="out" type="u"/>
- </method>
- <signal name="GroupFlagsChanged">
- <arg name="added" type="u"/>
- <arg name="removed" type="u"/>
- </signal>
- <signal name="MembersChanged">
- <arg name="message" type="s"/>
- <arg name="added" type="au"/>
- <arg name="removed" type="au"/>
- <arg name="local_pending" type="au"/>
- <arg name="remote_pending" type="au"/>
- <arg name="actor" type="u"/>
- <arg name="reason" type="u"/>
- </signal>
- <method name="RemoveMembers">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Interface.Password">
- <method name="GetPasswordFlags">
- <arg direction="out" type="u"/>
- </method>
- <signal name="PasswordFlagsChanged">
- <arg name="added" type="u"/>
- <arg name="removed" type="u"/>
- </signal>
- <method name="ProvidePassword">
- <arg direction="in" name="password" type="s"/>
- <arg direction="out" type="b"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Type.Text">
- <method name="AcknowledgePendingMessages">
- <arg direction="in" name="ids" type="au"/>
- </method>
- <method name="GetMessageTypes">
- <arg direction="out" type="au"/>
- </method>
- <method name="ListPendingMessages">
- <arg direction="in" name="clear" type="b"/>
- <arg direction="out" type="a(uuuuus)"/>
- </method>
- <signal name="LostMessage"/>
- <signal name="Received">
- <arg name="id" type="u"/>
- <arg name="timestamp" type="u"/>
- <arg name="sender" type="u"/>
- <arg name="type" type="u"/>
- <arg name="flags" type="u"/>
- <arg name="text" type="s"/>
- </signal>
- <method name="Send">
- <arg direction="in" name="type" type="u"/>
- <arg direction="in" name="text" type="s"/>
- </method>
- <signal name="SendError">
- <arg name="error" type="u"/>
- <arg name="timestamp" type="u"/>
- <arg name="type" type="u"/>
- <arg name="text" type="s"/>
- </signal>
- <signal name="Sent">
- <arg name="timestamp" type="u"/>
- <arg name="type" type="u"/>
- <arg name="text" type="s"/>
- </signal>
- </interface>
- <interface name="org.freedesktop.Telepathy.Properties">
- <method name="GetProperties">
- <arg direction="in" name="properties" type="au"/>
- <arg direction="out" type="a(uv)"/>
- </method>
- <method name="ListProperties">
- <arg direction="out" type="a(ussu)"/>
- </method>
- <signal name="PropertiesChanged">
- <arg name="properties" type="a(uv)"/>
- </signal>
- <signal name="PropertyFlagsChanged">
- <arg name="properties" type="a(uu)"/>
- </signal>
- <method name="SetProperties">
- <arg direction="in" name="properties" type="a(uv)"/>
- </method>
- </interface>
-</node>
diff --git a/generate/xml-pristine/gabble-roomlist-channel.xml b/generate/xml-pristine/gabble-roomlist-channel.xml
deleted file mode 100644
index b1d060016..000000000
--- a/generate/xml-pristine/gabble-roomlist-channel.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleRoomlistChannel">
- <interface name="org.freedesktop.Telepathy.Channel">
- <method name="Close"/>
- <signal name="Closed"/>
- <method name="GetChannelType">
- <arg direction="out" type="s"/>
- </method>
- <method name="GetHandle">
- <arg direction="out" type="u"/>
- <arg direction="out" type="u"/>
- </method>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Type.RoomList">
- <method name="GetListingRooms">
- <arg direction="out" type="b"/>
- </method>
- <signal name="GotRooms">
- <arg name="rooms" type="a(usa{sv})"/>
- </signal>
- <method name="ListRooms"/>
- <signal name="ListingRooms">
- <arg name="listing" type="b"/>
- </signal>
- </interface>
-</node>
diff --git a/generate/xml-pristine/gabble-roster-channel.xml b/generate/xml-pristine/gabble-roster-channel.xml
deleted file mode 100644
index 8dbc49c34..000000000
--- a/generate/xml-pristine/gabble-roster-channel.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" ?>
-<node name="/GabbleRosterChannel">
- <interface name="org.freedesktop.Telepathy.Channel">
- <method name="Close"/>
- <signal name="Closed"/>
- <method name="GetChannelType">
- <arg direction="out" type="s"/>
- </method>
- <method name="GetHandle">
- <arg direction="out" type="u"/>
- <arg direction="out" type="u"/>
- </method>
- <method name="GetInterfaces">
- <arg direction="out" type="as"/>
- </method>
- </interface>
- <interface name="org.freedesktop.Telepathy.Channel.Interface.Group">
- <method name="AddMembers">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- <method name="GetAllMembers">
- <arg direction="out" type="au"/>
- <arg direction="out" type="au"/>
- <arg direction="out" type="au"/>
- </method>
- <method name="GetGroupFlags">
- <arg direction="out" type="u"/>
- </method>
- <method name="GetHandleOwners">
- <arg direction="in" name="handles" type="au"/>
- <arg direction="out" type="au"/>
- </method>
- <method name="GetLocalPendingMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetRemotePendingMembers">
- <arg direction="out" type="au"/>
- </method>
- <method name="GetSelfHandle">
- <arg direction="out" type="u"/>
- </method>
- <signal name="GroupFlagsChanged">
- <arg name="added" type="u"/>
- <arg name="removed" type="u"/>
- </signal>
- <signal name="MembersChanged">
- <arg name="message" type="s"/>
- <arg name="added" type="au"/>
- <arg name="removed" type="au"/>
- <arg name="local_pending" type="au"/>
- <arg name="remote_pending" type="au"/>
- <arg name="actor" type="u"/>
- <arg name="reason" type="u"/>
- </signal>
- <method name="RemoveMembers">
- <arg direction="in" name="contacts" type="au"/>
- <arg direction="in" name="message" type="s"/>
- </method>
- </interface>
-</node>