]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-idle.h
Merge branch 'sasl'
[empathy.git] / libempathy / empathy-idle.h
index fbaab36a95ed9afd657661bf56a42ffea18b467c..95b99dc40c5ebbab4833fa3cc642d381ce986a69 100644 (file)
@@ -24,7 +24,8 @@
 
 #include <glib.h>
 
-#include <libmissioncontrol/mission-control.h>
+#include <telepathy-glib/account.h>
+#include <telepathy-glib/enums.h>
 
 G_BEGIN_DECLS
 
@@ -48,25 +49,25 @@ struct _EmpathyIdleClass {
 };
 
 GType        empathy_idle_get_type            (void) G_GNUC_CONST;
-EmpathyIdle *empathy_idle_new                 (void);
-McPresence   empathy_idle_get_state           (EmpathyIdle *idle);
+EmpathyIdle *empathy_idle_dup_singleton       (void);
+TpConnectionPresenceType   empathy_idle_get_state           (EmpathyIdle *idle);
 void         empathy_idle_set_state           (EmpathyIdle *idle,
-                                              McPresence   state);
-const gchar *empathy_idle_get_status          (EmpathyIdle *idle);
+                                              TpConnectionPresenceType   state);
 void         empathy_idle_set_status          (EmpathyIdle *idle,
                                               const gchar *status);
-McPresence   empathy_idle_get_flash_state     (EmpathyIdle *idle);
-void         empathy_idle_set_flash_state     (EmpathyIdle *idle,
-                                              McPresence   state);
 void         empathy_idle_set_presence        (EmpathyIdle *idle,
-                                              McPresence   state,
+                                              TpConnectionPresenceType   state,
                                               const gchar *status);
 gboolean     empathy_idle_get_auto_away       (EmpathyIdle *idle);
 void         empathy_idle_set_auto_away       (EmpathyIdle *idle,
                                               gboolean     auto_away);
-gboolean     empathy_idle_get_use_nm          (EmpathyIdle *idle);
-void         empathy_idle_set_use_nm          (EmpathyIdle *idle,
-                                              gboolean     use_nm);
+
+TpConnectionPresenceType empathy_idle_get_requested_presence (EmpathyIdle *idle,
+                                                             gchar **status,
+                                                             gchar **status_message);
+
+gboolean empathy_idle_account_is_just_connected (EmpathyIdle *idle,
+                                                TpAccount *account);
 
 G_END_DECLS