[telepathy-qt4/master] Added auto generated classes for Client.Handler and Client.Interface.Requests interfaces.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Tue May 5 09:17:33 PDT 2009
---
TelepathyQt4/ClientHandler | 13 ++++++++++
TelepathyQt4/ClientHandlerInterface | 13 ++++++++++
TelepathyQt4/ClientInterfaceRequestsInterface | 13 ++++++++++
TelepathyQt4/Makefile.am | 13 ++++++++++
TelepathyQt4/client-handler.cpp | 25 ++++++++++++++++++++
TelepathyQt4/client-handler.h | 31 +++++++++++++++++++++++++
TelepathyQt4/client-handler.xml | 11 +++++++++
TelepathyQt4/stable-interfaces.xml | 1 +
8 files changed, 120 insertions(+), 0 deletions(-)
create mode 100644 TelepathyQt4/ClientHandler
create mode 100644 TelepathyQt4/ClientHandlerInterface
create mode 100644 TelepathyQt4/ClientInterfaceRequestsInterface
create mode 100644 TelepathyQt4/client-handler.cpp
create mode 100644 TelepathyQt4/client-handler.h
create mode 100644 TelepathyQt4/client-handler.xml
diff --git a/TelepathyQt4/ClientHandler b/TelepathyQt4/ClientHandler
new file mode 100644
index 0000000..6f31703
--- /dev/null
+++ b/TelepathyQt4/ClientHandler
@@ -0,0 +1,13 @@
+#ifndef _TelepathyQt4_Client_ClientHandler_HEADER_GUARD_
+#define _TelepathyQt4_Client_ClientHandler_HEADER_GUARD_
+
+#ifndef IN_TELEPATHY_QT4_HEADER
+#define IN_TELEPATHY_QT4_HEADER
+#endif
+
+#include <TelepathyQt4/client-handler.h>
+
+#undef IN_TELEPATHY_QT4_HEADER
+
+#endif
+// vim:set ft=cpp:
diff --git a/TelepathyQt4/ClientHandlerInterface b/TelepathyQt4/ClientHandlerInterface
new file mode 100644
index 0000000..635c714
--- /dev/null
+++ b/TelepathyQt4/ClientHandlerInterface
@@ -0,0 +1,13 @@
+#ifndef _TelepathyQt4_Client_ClientHandlerInterface_HEADER_GUARD_
+#define _TelepathyQt4_Client_ClientHandlerInterface_HEADER_GUARD_
+
+#ifndef IN_TELEPATHY_QT4_HEADER
+#define IN_TELEPATHY_QT4_HEADER
+#endif
+
+#include <TelepathyQt4/client-handler.h>
+
+#undef IN_TELEPATHY_QT4_HEADER
+
+#endif
+// vim:set ft=cpp:
diff --git a/TelepathyQt4/ClientInterfaceRequestsInterface b/TelepathyQt4/ClientInterfaceRequestsInterface
new file mode 100644
index 0000000..78b7c76
--- /dev/null
+++ b/TelepathyQt4/ClientInterfaceRequestsInterface
@@ -0,0 +1,13 @@
+#ifndef _TelepathyQt4_Client_ClientInterfaceRequestsInterface_HEADER_GUARD_
+#define _TelepathyQt4_Client_ClientInterfaceRequestsInterface_HEADER_GUARD_
+
+#ifndef IN_TELEPATHY_QT4_HEADER
+#define IN_TELEPATHY_QT4_HEADER
+#endif
+
+#include <TelepathyQt4/client-handler.h>
+
+#undef IN_TELEPATHY_QT4_HEADER
+
+#endif
+// vim:set ft=cpp:
diff --git a/TelepathyQt4/Makefile.am b/TelepathyQt4/Makefile.am
index 965c76f..65e9876 100644
--- a/TelepathyQt4/Makefile.am
+++ b/TelepathyQt4/Makefile.am
@@ -51,6 +51,7 @@ libtelepathy_qt4_la_SOURCES = \
account-manager.cpp \
channel.cpp \
channel-request.cpp \
+ client-handler.cpp \
client-registrar.cpp \
client-registrar-internal.h \
connection.cpp \
@@ -99,6 +100,8 @@ nodist_libtelepathy_qt4_la_SOURCES = \
_gen/cli-channel.moc.hpp \
_gen/cli-channel-request-body.hpp \
_gen/cli-channel-request.moc.hpp \
+ _gen/cli-client-handler-body.hpp \
+ _gen/cli-client-handler.moc.hpp \
_gen/cli-connection-body.hpp \
_gen/cli-connection.moc.hpp \
_gen/cli-connection-manager-body.hpp \
@@ -118,6 +121,7 @@ nodist_libtelepathy_qt4_la_SOURCES = \
_gen/account-manager.moc.hpp \
_gen/channel.moc.hpp \
_gen/channel-request.moc.hpp \
+ _gen/client-handler.moc.hpp \
_gen/client-registrar.moc.hpp \
_gen/client-registrar-internal.moc.hpp \
_gen/connection.moc.hpp \
@@ -152,6 +156,7 @@ tpqt4include_HEADERS = \
AccountManager \
Channel \
ChannelRequest \
+ ClientHandler \
ClientRegistrar \
Connection \
ConnectionManager \
@@ -213,6 +218,8 @@ tpqt4include_HEADERS = \
ChannelTypeStreamedMediaInterface \
ChannelTypeTextInterface \
ChannelTypeTubesInterface \
+ ClientHandlerInterface \
+ ClientInterfaceRequestsInterface \
ConnectionInterface \
ConnectionInterfaceAliasingInterface \
ConnectionInterfaceAvatarsInterface \
@@ -235,6 +242,7 @@ tpqt4include_HEADERS = \
account-manager.h \
channel.h \
channel-request.h \
+ client-handler.h \
client-registrar.h \
connection.h \
connection-manager.h \
@@ -278,6 +286,7 @@ nodist_geninclude_HEADERS = \
_gen/cli-account-manager.h \
_gen/cli-channel.h \
_gen/cli-channel-request.h \
+ _gen/cli-client-handler.h \
_gen/cli-connection.h \
_gen/cli-connection-manager.h \
_gen/cli-dbus.h \
@@ -380,6 +389,10 @@ _gen/cli-%.h _gen/cli-%-body.hpp: _gen/spec-%.xml \
group='clientchannelrequest'; \
prettyinclude='ChannelRequest'; \
mainiface='--mainiface=Tp::Client::ChannelRequestInterface';; \
+ client-handler) \
+ group='clientclienthandler'; \
+ prettyinclude='ClientHandler'; \
+ mainiface='--mainiface=Tp::Client::ClientHandlerInterface';; \
account) \
group='clientaccount'; \
prettyinclude='AccountManager'; \
diff --git a/TelepathyQt4/client-handler.cpp b/TelepathyQt4/client-handler.cpp
new file mode 100644
index 0000000..eb8a082
--- /dev/null
+++ b/TelepathyQt4/client-handler.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/ClientHandler>
+
+#include "TelepathyQt4/_gen/cli-client-handler-body.hpp"
+#include "TelepathyQt4/_gen/cli-client-handler.moc.hpp"
diff --git a/TelepathyQt4/client-handler.h b/TelepathyQt4/client-handler.h
new file mode 100644
index 0000000..1177b6b
--- /dev/null
+++ b/TelepathyQt4/client-handler.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_client_handler_h_HEADER_GUARD_
+#define _TelepathyQt4_cli_client_handler_h_HEADER_GUARD_
+
+#ifndef IN_TELEPATHY_QT4_HEADER
+#error IN_TELEPATHY_QT4_HEADER
+#endif
+
+#include <TelepathyQt4/_gen/cli-client-handler.h>
+
+#endif
diff --git a/TelepathyQt4/client-handler.xml b/TelepathyQt4/client-handler.xml
new file mode 100644
index 0000000..c191ef3
--- /dev/null
+++ b/TelepathyQt4/client-handler.xml
@@ -0,0 +1,11 @@
+<tp:spec
+ xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+
+<tp:title>Client Handler interfaces</tp:title>
+
+<xi:include href="../spec/Client_Handler.xml"/>
+
+<xi:include href="../spec/Client_Interface_Requests.xml"/>
+
+</tp:spec>
diff --git a/TelepathyQt4/stable-interfaces.xml b/TelepathyQt4/stable-interfaces.xml
index cb71339..fbef8f8 100644
--- a/TelepathyQt4/stable-interfaces.xml
+++ b/TelepathyQt4/stable-interfaces.xml
@@ -15,6 +15,7 @@
<xi:include href="properties.xml"/>
<xi:include href="account-manager.xml"/>
<xi:include href="account.xml"/>
+<xi:include href="client-handler.xml"/>
<xi:include href="../spec/generic-types.xml"/>
<xi:include href="../spec/errors.xml"/>
--
1.5.6.5
More information about the telepathy-commits
mailing list