summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel-dispatch-operation.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-06-09 09:27:57 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-06-10 14:37:48 +0100
commitf0743304591969845663ebf3ab7ba57fadd5b85e (patch)
treef1b14f344757b964a94c2e2a2e17b8dcf14be2eb /telepathy-glib/channel-dispatch-operation.h
parent2e184d2d313e9b30a9f81f4cf9376dbe1e4811c3 (diff)
downloadtelepathy-glib-f0743304591969845663ebf3ab7ba57fadd5b85e.tar.gz
Add basic proxies for ChannelDispatchOperation, ChannelRequest
Diffstat (limited to 'telepathy-glib/channel-dispatch-operation.h')
-rw-r--r--telepathy-glib/channel-dispatch-operation.h78
1 files changed, 78 insertions, 0 deletions
diff --git a/telepathy-glib/channel-dispatch-operation.h b/telepathy-glib/channel-dispatch-operation.h
new file mode 100644
index 000000000..aaa5085cb
--- /dev/null
+++ b/telepathy-glib/channel-dispatch-operation.h
@@ -0,0 +1,78 @@
+/*
+ * channel-dispatch-operation.h - proxy for channels awaiting approval
+ *
+ * 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 TP_CHANNEL_DISPATCH_OPERATION_H
+#define TP_CHANNEL_DISPATCH_OPERATION_H
+
+#include <telepathy-glib/proxy.h>
+#include <telepathy-glib/dbus.h>
+
+G_BEGIN_DECLS
+
+typedef struct _TpChannelDispatchOperation
+ TpChannelDispatchOperation;
+typedef struct _TpChannelDispatchOperationClass
+ TpChannelDispatchOperationClass;
+typedef struct _TpChannelDispatchOperationPrivate
+ TpChannelDispatchOperationPrivate;
+typedef struct _TpChannelDispatchOperationClassPrivate
+ TpChannelDispatchOperationClassPrivate;
+
+struct _TpChannelDispatchOperation {
+ /*<private>*/
+ TpProxy parent;
+ TpChannelDispatchOperationPrivate *priv;
+};
+
+struct _TpChannelDispatchOperationClass {
+ /*<private>*/
+ TpProxyClass parent_class;
+ GCallback _padding[7];
+ TpChannelDispatchOperationClassPrivate *priv;
+};
+
+GType tp_channel_dispatch_operation_get_type (void);
+
+#define TP_TYPE_CHANNEL_DISPATCH_OPERATION \
+ (tp_channel_dispatch_operation_get_type ())
+#define TP_CHANNEL_DISPATCH_OPERATION(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), TP_TYPE_CHANNEL_DISPATCH_OPERATION, \
+ TpChannelDispatchOperation))
+#define TP_CHANNEL_DISPATCH_OPERATION_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST ((klass), TP_TYPE_CHANNEL_DISPATCH_OPERATION, \
+ TpChannelDispatchOperationClass))
+#define TP_IS_CHANNEL_DISPATCH_OPERATION(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TP_TYPE_CHANNEL_DISPATCH_OPERATION))
+#define TP_IS_CHANNEL_DISPATCH_OPERATION_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE ((klass), TP_TYPE_CHANNEL_DISPATCH_OPERATION))
+#define TP_CHANNEL_DISPATCH_OPERATION_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_CHANNEL_DISPATCH_OPERATION, \
+ TpChannelDispatchOperationClass))
+
+TpChannelDispatchOperation *tp_channel_dispatch_operation_new (
+ TpDBusDaemon *bus_daemon, const gchar *object_path,
+ GHashTable *immutable_properties, GError **error);
+
+G_END_DECLS
+
+#include <telepathy-glib/_gen/tp-cli-channel-dispatch-operation.h>
+
+#endif