diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-01-25 00:33:33 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-01-25 00:33:33 +0800 |
commit | a687b7c513d3bb967781f17dc5d247161bcffd8c (patch) | |
tree | 116b335b3c4fe96ddd09c64e9aa382516168af03 /libempathy/empathy-contact.h | |
parent | ff21a5f6bfedae8ca32ac871ccad5c106e831b28 (diff) | |
download | gsoc2013-empathy-a687b7c513d3bb967781f17dc5d247161bcffd8c.tar gsoc2013-empathy-a687b7c513d3bb967781f17dc5d247161bcffd8c.tar.gz gsoc2013-empathy-a687b7c513d3bb967781f17dc5d247161bcffd8c.tar.bz2 gsoc2013-empathy-a687b7c513d3bb967781f17dc5d247161bcffd8c.tar.lz gsoc2013-empathy-a687b7c513d3bb967781f17dc5d247161bcffd8c.tar.xz gsoc2013-empathy-a687b7c513d3bb967781f17dc5d247161bcffd8c.tar.zst gsoc2013-empathy-a687b7c513d3bb967781f17dc5d247161bcffd8c.zip |
Remove EmpathyPresence object and have "presence" and "presence-message" properties directly in EmpathyContact
svn path=/trunk/; revision=601
Diffstat (limited to 'libempathy/empathy-contact.h')
-rw-r--r-- | libempathy/empathy-contact.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h index b5a3c1ec9..57a72c906 100644 --- a/libempathy/empathy-contact.h +++ b/libempathy/empathy-contact.h @@ -29,9 +29,9 @@ #include <glib-object.h> #include <libmissioncontrol/mc-account.h> +#include <libmissioncontrol/mission-control.h> #include "empathy-avatar.h" -#include "empathy-presence.h" G_BEGIN_DECLS @@ -75,9 +75,12 @@ void empathy_contact_set_avatar (EmpathyContact *con McAccount * empathy_contact_get_account (EmpathyContact *contact); void empathy_contact_set_account (EmpathyContact *contact, McAccount *account); -EmpathyPresence * empathy_contact_get_presence (EmpathyContact *contact); +McPresence empathy_contact_get_presence (EmpathyContact *contact); void empathy_contact_set_presence (EmpathyContact *contact, - EmpathyPresence *presence); + McPresence presence); +const gchar * empathy_contact_get_presence_message (EmpathyContact *contact); +void empathy_contact_set_presence_message (EmpathyContact *contact, + const gchar *message); guint empathy_contact_get_handle (EmpathyContact *contact); void empathy_contact_set_handle (EmpathyContact *contact, guint handle); |