summaryrefslogtreecommitdiff
path: root/telepathy-glib/observe-channels-context-internal.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-26 12:18:49 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-29 09:11:44 +0200
commite3b651768e671f5910815fb23e1807f2e8e3d690 (patch)
tree986118f2d4c207f697804e41c8b5b3725b7c4ebe /telepathy-glib/observe-channels-context-internal.h
parent227dc04a35aa42c78bbd00464fce72c3cfd9724a (diff)
downloadtelepathy-glib-e3b651768e671f5910815fb23e1807f2e8e3d690.tar.gz
rename base-client-context* to observe-channels-context*
Each context will have its own file and object.
Diffstat (limited to 'telepathy-glib/observe-channels-context-internal.h')
-rw-r--r--telepathy-glib/observe-channels-context-internal.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/telepathy-glib/observe-channels-context-internal.h b/telepathy-glib/observe-channels-context-internal.h
new file mode 100644
index 000000000..0c8e3899a
--- /dev/null
+++ b/telepathy-glib/observe-channels-context-internal.h
@@ -0,0 +1,62 @@
+/*
+ * Context objects for TpBaseClient calls (internal)
+ *
+ * Copyright (C) 2009 Collabora Ltd. <http://www.collabora.co.uk/>
+ *
+ * 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_OBSERVE_CHANNELS_CONTEXT_INTERNAL_H__
+#define __TP_OBSERVE_CHANNELS_CONTEXT_INTERNAL_H__
+
+#include <dbus/dbus-glib.h>
+
+#include <telepathy-glib/account.h>
+#include <telepathy-glib/observe-channels-context.h>
+#include <telepathy-glib/channel-dispatch-operation.h>
+
+G_BEGIN_DECLS
+
+struct _TpObserveChannelsContext {
+ /*<private>*/
+ GObject parent;
+ TpObserveChannelsContextPrivate *priv;
+
+ TpAccount *account;
+ TpConnection *connection;
+ /* array of reffed TpChannel */
+ GPtrArray *channels;
+ /* List of reffed TpChannelDispatchOperation */
+ TpChannelDispatchOperation *dispatch_operation;
+ GPtrArray *requests;
+ GHashTable *observer_info;
+ DBusGMethodInvocation *dbus_context;
+};
+
+TpObserveChannelsContext * _tp_observe_channels_context_new (
+ TpAccount *account,
+ TpConnection *connection,
+ GPtrArray *channels,
+ TpChannelDispatchOperation *dispatch_operation,
+ GPtrArray *requests,
+ GHashTable *observer_info,
+ DBusGMethodInvocation *dbus_context);
+
+TpBaseClientContextState _tp_observe_channels_context_get_state (
+ TpObserveChannelsContext *self);
+
+G_END_DECLS
+
+#endif