]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-idle.h
Add support for blinking when there is an event. Make use of EmpathyIdle
[empathy.git] / libempathy / empathy-idle.h
index df8846b9bda022aa18d73124225672d2397eb4da..13c5dd29344590b793d6ae0e53f803a6f18d572b 100644 (file)
@@ -25,6 +25,8 @@
 
 #include <glib.h>
 
+#include <libmissioncontrol/mission-control.h>
+
 G_BEGIN_DECLS
 
 #define EMPATHY_TYPE_IDLE         (empathy_idle_get_type ())
@@ -46,8 +48,17 @@ struct _EmpathyIdleClass {
        GObjectClass parent_class;
 };
 
-GType        empathy_idle_get_type (void) G_GNUC_CONST;
-EmpathyIdle *empathy_idle_new      (void);
+GType        empathy_idle_get_type        (void) G_GNUC_CONST;
+EmpathyIdle *empathy_idle_new             (void);
+McPresence   empathy_idle_get_state       (EmpathyIdle *idle);
+void         empathy_idle_set_state       (EmpathyIdle *idle,
+                                          McPresence   state);
+const gchar *empathy_idle_get_status      (EmpathyIdle *idle);
+void         empathy_idle_set_status      (EmpathyIdle *idle,
+                                          const gchar *message);
+McPresence   empathy_idle_get_slack_state (EmpathyIdle *idle);
+void         empathy_idle_set_slack_state (EmpathyIdle *idle,
+                                          McPresence   state);
 
 G_END_DECLS