aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.h
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-05-09 04:08:17 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2007-05-09 04:08:17 +0800
commit51ba330cb9658d13c81fd8bfb3fe7b4f70f9a295 (patch)
tree8db450d3c71386accb1948deb8727fb71fd56973 /libempathy/empathy-tp-chat.h
parent39b7d6e7ec35f9b5260216618a9d73d250f5aace (diff)
downloadgsoc2013-empathy-51ba330cb9658d13c81fd8bfb3fe7b4f70f9a295.tar
gsoc2013-empathy-51ba330cb9658d13c81fd8bfb3fe7b4f70f9a295.tar.gz
gsoc2013-empathy-51ba330cb9658d13c81fd8bfb3fe7b4f70f9a295.tar.bz2
gsoc2013-empathy-51ba330cb9658d13c81fd8bfb3fe7b4f70f9a295.tar.lz
gsoc2013-empathy-51ba330cb9658d13c81fd8bfb3fe7b4f70f9a295.tar.xz
gsoc2013-empathy-51ba330cb9658d13c81fd8bfb3fe7b4f70f9a295.tar.zst
gsoc2013-empathy-51ba330cb9658d13c81fd8bfb3fe7b4f70f9a295.zip
[darcs-to-svn @ many changes]
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@35 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy/empathy-tp-chat.h')
-rw-r--r--libempathy/empathy-tp-chat.h27
1 files changed, 10 insertions, 17 deletions
diff --git a/libempathy/empathy-tp-chat.h b/libempathy/empathy-tp-chat.h
index 5737fcee9..28b7804eb 100644
--- a/libempathy/empathy-tp-chat.h
+++ b/libempathy/empathy-tp-chat.h
@@ -26,6 +26,7 @@
#include <glib.h>
#include <libtelepathy/tp-chan.h>
+#include <libtelepathy/tp-constants.h>
#include <libmissioncontrol/mc-account.h>
@@ -54,24 +55,16 @@ struct _EmpathyTpChatClass {
GObjectClass parent_class;
};
-typedef enum {
- EMPATHY_TP_CHAT_STATE_GONE,
- EMPATHY_TP_CHAT_STATE_INACTIVE,
- EMPATHY_TP_CHAT_STATE_ACTIVE,
- EMPATHY_TP_CHAT_STATE_PAUSED,
- EMPATHY_TP_CHAT_STATE_COMPOSING
-} EmpathyTpChatState;
-
GType empathy_tp_chat_get_type (void) G_GNUC_CONST;
-EmpathyTpChat *empathy_tp_chat_new (McAccount *account,
- TpChan *tp_chan);
-EmpathyTpChat *empathy_tp_chat_new_with_contact (GossipContact *contact);
-void empathy_tp_chat_request_pending (EmpathyTpChat *chat);
-void empathy_tp_chat_send (EmpathyTpChat *chat,
- GossipMessage *message);
-void empathy_tp_chat_send_state (EmpathyTpChat *chat,
- EmpathyTpChatState state);
-const gchar * empathy_tp_chat_get_id (EmpathyTpChat *chat);
+EmpathyTpChat *empathy_tp_chat_new (McAccount *account,
+ TpChan *tp_chan);
+EmpathyTpChat *empathy_tp_chat_new_with_contact (GossipContact *contact);
+void empathy_tp_chat_request_pending (EmpathyTpChat *chat);
+void empathy_tp_chat_send (EmpathyTpChat *chat,
+ GossipMessage *message);
+void empathy_tp_chat_set_state (EmpathyTpChat *chat,
+ TelepathyChannelChatState state);
+const gchar * empathy_tp_chat_get_id (EmpathyTpChat *chat);
G_END_DECLS