diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-11 21:11:01 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-11 21:11:01 +0800 |
commit | 0ac4afe4ffd170309101271d4b0b5fde734b07e4 (patch) | |
tree | 908df936cf9bf207f583cb00b3bcc69ae0904055 /libempathy/empathy-tp-chat.h | |
parent | 418cea2b2463a2af579775a9e6cab230fb7cfe26 (diff) | |
download | gsoc2013-empathy-0ac4afe4ffd170309101271d4b0b5fde734b07e4.tar gsoc2013-empathy-0ac4afe4ffd170309101271d4b0b5fde734b07e4.tar.gz gsoc2013-empathy-0ac4afe4ffd170309101271d4b0b5fde734b07e4.tar.bz2 gsoc2013-empathy-0ac4afe4ffd170309101271d4b0b5fde734b07e4.tar.lz gsoc2013-empathy-0ac4afe4ffd170309101271d4b0b5fde734b07e4.tar.xz gsoc2013-empathy-0ac4afe4ffd170309101271d4b0b5fde734b07e4.tar.zst gsoc2013-empathy-0ac4afe4ffd170309101271d4b0b5fde734b07e4.zip |
Do not take McAccount as construct param, it can be found from the TpChannel
svn path=/trunk/; revision=905
Diffstat (limited to 'libempathy/empathy-tp-chat.h')
-rw-r--r-- | libempathy/empathy-tp-chat.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libempathy/empathy-tp-chat.h b/libempathy/empathy-tp-chat.h index 3e196fadf..9fa96a5f7 100644 --- a/libempathy/empathy-tp-chat.h +++ b/libempathy/empathy-tp-chat.h @@ -24,11 +24,9 @@ #include <glib.h> -#include <libtelepathy/tp-chan.h> +#include <telepathy-glib/channel.h> #include <telepathy-glib/enums.h> -#include <libmissioncontrol/mc-account.h> - #include "empathy-message.h" #include "empathy-contact.h" @@ -55,14 +53,11 @@ struct _EmpathyTpChatClass { }; 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 (TpChannel *channel, gboolean acknowledge); -EmpathyTpChat *empathy_tp_chat_new_with_contact (EmpathyContact *contact); -McAccount * empathy_tp_chat_get_account (EmpathyTpChat *chat); -TpChan * empathy_tp_chat_get_channel (EmpathyTpChat *chat); const gchar * empathy_tp_chat_get_id (EmpathyTpChat *chat); EmpathyContact*empathy_tp_chat_get_remote_contact (EmpathyTpChat *chat); +McAccount * empathy_tp_chat_get_account (EmpathyTpChat *chat); gboolean empathy_tp_chat_is_ready (EmpathyTpChat *chat); void empathy_tp_chat_send (EmpathyTpChat *chat, EmpathyMessage *message); |