[telepathy-qt4/master] Added auto generated classes for ChannelDispatcher interface.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Thu Jun 11 06:55:40 PDT 2009


---
 TelepathyQt4/ChannelDispatcher          |   13 +++++++++++++
 TelepathyQt4/ChannelDispatcherInterface |   13 +++++++++++++
 TelepathyQt4/Makefile.am                |   12 ++++++++++++
 TelepathyQt4/channel-dispatcher.cpp     |   25 +++++++++++++++++++++++++
 TelepathyQt4/channel-dispatcher.h       |   31 +++++++++++++++++++++++++++++++
 TelepathyQt4/channel-dispatcher.xml     |    9 +++++++++
 TelepathyQt4/stable-interfaces.xml      |    1 +
 7 files changed, 104 insertions(+), 0 deletions(-)
 create mode 100644 TelepathyQt4/ChannelDispatcher
 create mode 100644 TelepathyQt4/ChannelDispatcherInterface
 create mode 100644 TelepathyQt4/channel-dispatcher.cpp
 create mode 100644 TelepathyQt4/channel-dispatcher.h
 create mode 100644 TelepathyQt4/channel-dispatcher.xml

diff --git a/TelepathyQt4/ChannelDispatcher b/TelepathyQt4/ChannelDispatcher
new file mode 100644
index 0000000..1b60a99
--- /dev/null
+++ b/TelepathyQt4/ChannelDispatcher
@@ -0,0 +1,13 @@
+#ifndef _TelepathyQt4_Client_ChannelDispatcher_HEADER_GUARD_
+#define _TelepathyQt4_Client_ChannelDispatcher_HEADER_GUARD_
+
+#ifndef IN_TELEPATHY_QT4_HEADER
+#define IN_TELEPATHY_QT4_HEADER
+#endif
+
+#include <TelepathyQt4/channel-dispatcher.h>
+
+#undef IN_TELEPATHY_QT4_HEADER
+
+#endif
+// vim:set ft=cpp:
diff --git a/TelepathyQt4/ChannelDispatcherInterface b/TelepathyQt4/ChannelDispatcherInterface
new file mode 100644
index 0000000..99d951c
--- /dev/null
+++ b/TelepathyQt4/ChannelDispatcherInterface
@@ -0,0 +1,13 @@
+#ifndef _TelepathyQt4_Client_ChannelDispatcherInterface_HEADER_GUARD_
+#define _TelepathyQt4_Client_ChannelDispatcherInterface_HEADER_GUARD_
+
+#ifndef IN_TELEPATHY_QT4_HEADER
+#define IN_TELEPATHY_QT4_HEADER
+#endif
+
+#include <TelepathyQt4/channel-dispatcher.h>
+
+#undef IN_TELEPATHY_QT4_HEADER
+
+#endif
+// vim:set ft=cpp:
diff --git a/TelepathyQt4/Makefile.am b/TelepathyQt4/Makefile.am
index 9f71599..c92870a 100644
--- a/TelepathyQt4/Makefile.am
+++ b/TelepathyQt4/Makefile.am
@@ -18,6 +18,7 @@ EXTRA_DIST = \
     account-manager.xml \
     async-model.dox \
     channel.xml \
+    channel-dispatcher.xml \
     channel-dispatch-operation.xml \
     channel-request.xml \
     client.xml \
@@ -55,6 +56,7 @@ libtelepathy_qt4_la_SOURCES = \
     channel-factory.cpp \
     channel-factory.h \
     channel-request.cpp \
+    channel-dispatcher.cpp \
     channel-dispatch-operation.cpp \
     client.cpp \
     client-registrar.cpp \
@@ -102,6 +104,8 @@ nodist_libtelepathy_qt4_la_SOURCES = \
     _gen/cli-account-manager.moc.hpp \
     _gen/cli-channel-body.hpp \
     _gen/cli-channel.moc.hpp \
+    _gen/cli-channel-dispatcher-body.hpp \
+    _gen/cli-channel-dispatcher.moc.hpp \
     _gen/cli-channel-dispatch-operation-body.hpp \
     _gen/cli-channel-dispatch-operation.moc.hpp \
     _gen/cli-channel-request-body.hpp \
@@ -162,6 +166,7 @@ tpqt4include_HEADERS = \
     Account \
     AccountManager \
     Channel \
+    ChannelDispatcher \
     ChannelDispatchOperation \
     ChannelRequest \
     Client \
@@ -220,6 +225,7 @@ tpqt4include_HEADERS = \
     ChannelInterfaceHoldInterface \
     ChannelInterfaceMediaSignallingInterface \
     ChannelInterfacePasswordInterface \
+    ChannelDispatcherInterface \
     ChannelDispatchOperationInterface \
     ChannelRequestInterface \
     ChannelTypeContactListInterface \
@@ -253,6 +259,7 @@ tpqt4include_HEADERS = \
     account.h \
     account-manager.h \
     channel.h \
+    channel-dispatcher.h \
     channel-dispatch-operation.h \
     channel-request.h \
     client.h \
@@ -298,6 +305,7 @@ nodist_geninclude_HEADERS = \
     _gen/cli-account.h \
     _gen/cli-account-manager.h \
     _gen/cli-channel.h \
+    _gen/cli-channel-dispatcher.h \
     _gen/cli-channel-dispatch-operation.h \
     _gen/cli-channel-request.h \
     _gen/cli-client.h \
@@ -399,6 +407,10 @@ _gen/cli-%.h _gen/cli-%-body.hpp: _gen/spec-%.xml \
 			group='clientchannel'; \
 			prettyinclude='Channel'; \
 			mainiface='--mainiface=Tp::Client::ChannelInterface';; \
+		channel-dispatcher) \
+			group='clientchanneldispatcher'; \
+			prettyinclude='ChannelDispatcher'; \
+			mainiface='--mainiface=Tp::Client::ChannelDispatcherInterface';; \
 		channel-dispatch-operation) \
 			group='clientchanneldispatchoperation'; \
 			prettyinclude='ChannelDispatchOperation'; \
diff --git a/TelepathyQt4/channel-dispatcher.cpp b/TelepathyQt4/channel-dispatcher.cpp
new file mode 100644
index 0000000..aafdb61
--- /dev/null
+++ b/TelepathyQt4/channel-dispatcher.cpp
@@ -0,0 +1,25 @@
+/*
+ * This file is part of TelepathyQt4
+ *
+ * Copyright (C) 2009 Collabora Ltd. <http://www.collabora.co.uk/>
+ * Copyright (C) 2009 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 <TelepathyQt4/ChannelDispatcher>
+
+#include "TelepathyQt4/_gen/cli-channel-dispatcher-body.hpp"
+#include "TelepathyQt4/_gen/cli-channel-dispatcher.moc.hpp"
diff --git a/TelepathyQt4/channel-dispatcher.h b/TelepathyQt4/channel-dispatcher.h
new file mode 100644
index 0000000..5546de9
--- /dev/null
+++ b/TelepathyQt4/channel-dispatcher.h
@@ -0,0 +1,31 @@
+/*
+ * This file is part of TelepathyQt4
+ *
+ * Copyright (C) 2009 Collabora Ltd. <http://www.collabora.co.uk/>
+ * Copyright (C) 2009 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 _TelepathyQt4_cli_channel_dispatcher_h_HEADER_GUARD_
+#define _TelepathyQt4_cli_channel_dispatcher_h_HEADER_GUARD_
+
+#ifndef IN_TELEPATHY_QT4_HEADER
+#error IN_TELEPATHY_QT4_HEADER
+#endif
+
+#include <TelepathyQt4/_gen/cli-channel-dispatcher.h>
+
+#endif
diff --git a/TelepathyQt4/channel-dispatcher.xml b/TelepathyQt4/channel-dispatcher.xml
new file mode 100644
index 0000000..a1588a4
--- /dev/null
+++ b/TelepathyQt4/channel-dispatcher.xml
@@ -0,0 +1,9 @@
+<tp:spec
+  xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
+  xmlns:xi="http://www.w3.org/2001/XInclude">
+
+<tp:title>Channel Dispatcher interface</tp:title>
+
+<xi:include href="../spec/Channel_Dispatcher.xml"/>
+
+</tp:spec>
diff --git a/TelepathyQt4/stable-interfaces.xml b/TelepathyQt4/stable-interfaces.xml
index 8d33042..7ef8db0 100644
--- a/TelepathyQt4/stable-interfaces.xml
+++ b/TelepathyQt4/stable-interfaces.xml
@@ -8,6 +8,7 @@
 <xi:include href="connection-manager.xml"/>
 <xi:include href="connection.xml"/>
 <xi:include href="channel.xml"/>
+<xi:include href="channel-dispatcher.xml"/>
 <xi:include href="channel-dispatch-operation.xml"/>
 <xi:include href="channel-request.xml"/>
 <xi:include href="media-session-handler.xml"/>
-- 
1.5.6.5




More information about the telepathy-commits mailing list