summaryrefslogtreecommitdiff
path: root/src/connection.h
diff options
context:
space:
mode:
authorWill Thompson <resiak@soc.pidgin.im>2007-07-25 18:36:26 +0000
committerWill Thompson <resiak@soc.pidgin.im>2007-07-25 18:36:26 +0000
commit7088ed0519faca0fb31e19c437df55a617e2c7dc (patch)
tree62dbdd555e8069ccbfd841275dbd3977792931ca /src/connection.h
parentd8138ab5f2efa0206ca0f96d5c447cb8544677f8 (diff)
downloadtelepathy-haze-7088ed0519faca0fb31e19c437df55a617e2c7dc.tar.gz
Initial presence implementation --- status type of contacts, nothing more.
20070725183626-984d1-503cc7fc8a788a68c4f882383788058012520547.gz
Diffstat (limited to 'src/connection.h')
-rw-r--r--src/connection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/connection.h b/src/connection.h
index b8e8a6c..a7c08ad 100644
--- a/src/connection.h
+++ b/src/connection.h
@@ -3,6 +3,8 @@
#include <glib-object.h>
#include <telepathy-glib/base-connection.h>
+#include <telepathy-glib/presence-mixin.h>
+
#include <prpl.h>
#include "contact-list.h"
@@ -26,6 +28,7 @@ typedef struct _HazeConnectionClass HazeConnectionClass;
struct _HazeConnectionClass {
TpBaseConnectionClass parent_class;
+ TpPresenceMixinClass presence_class;
};
struct _HazeConnection {
@@ -36,6 +39,8 @@ struct _HazeConnection {
HazeContactList *contact_list;
HazeImChannelFactory *im_factory;
+ TpPresenceMixin presence;
+
gpointer priv;
};