summaryrefslogtreecommitdiff
path: root/telepathy-glib/automatic-proxy-factory.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-07 13:51:53 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-07 13:51:53 +0200
commit4a442527ff81490593f5f81522f2a2fea62a5fcc (patch)
tree794d3560c25b91a747dde9b205e66f7129feb733 /telepathy-glib/automatic-proxy-factory.h
parentaf89471e3b1573bb55519b37e9b5e9c02c66032d (diff)
downloadtelepathy-glib-4a442527ff81490593f5f81522f2a2fea62a5fcc.tar.gz
move automatic-channel-factory to automatic-proxy-factory
Diffstat (limited to 'telepathy-glib/automatic-proxy-factory.h')
-rw-r--r--telepathy-glib/automatic-proxy-factory.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/telepathy-glib/automatic-proxy-factory.h b/telepathy-glib/automatic-proxy-factory.h
new file mode 100644
index 000000000..dfb8f5a4c
--- /dev/null
+++ b/telepathy-glib/automatic-proxy-factory.h
@@ -0,0 +1,63 @@
+/*
+ * Client channel factory creating TpChannel subclasses when possible
+ *
+ * Copyright © 2010 Collabora Ltd.
+ *
+ * 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_AUTOMATIC_CHANNEL_FACTORY_H__
+#define __TP_AUTOMATIC_CHANNEL_FACTORY_H__
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+typedef struct _TpAutomaticChannelFactory TpAutomaticChannelFactory;
+typedef struct _TpAutomaticChannelFactoryClass TpAutomaticChannelFactoryClass;
+
+struct _TpAutomaticChannelFactoryClass {
+ /*<public>*/
+ GObjectClass parent_class;
+};
+
+struct _TpAutomaticChannelFactory {
+ /*<private>*/
+ GObject parent;
+};
+
+GType tp_automatic_channel_factory_get_type (void);
+
+#define TP_TYPE_AUTOMATIC_CHANNEL_FACTORY \
+ (tp_automatic_channel_factory_get_type ())
+#define TP_AUTOMATIC_CHANNEL_FACTORY(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), TP_TYPE_AUTOMATIC_CHANNEL_FACTORY, \
+ TpAutomaticChannelFactory))
+#define TP_AUTOMATIC_CHANNEL_FACTORY_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST ((klass), TP_TYPE_AUTOMATIC_CHANNEL_FACTORY, \
+ TpAutomaticChannelFactoryClass))
+#define TP_IS_AUTOMATIC_CHANNEL_FACTORY(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TP_TYPE_AUTOMATIC_CHANNEL_FACTORY))
+#define TP_IS_AUTOMATIC_CHANNEL_FACTORY_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE ((klass), TP_TYPE_AUTOMATIC_CHANNEL_FACTORY))
+#define TP_AUTOMATIC_CHANNEL_FACTORY_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_AUTOMATIC_CHANNEL_FACTORY, \
+ TpAutomaticChannelFactoryClass))
+
+TpAutomaticChannelFactory * tp_automatic_channel_factory_new (void);
+
+G_END_DECLS
+
+#endif