]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-idle.h
Updated Basque language
[empathy.git] / libempathy / empathy-idle.h
index cccd8b68e25f1d542dbd2b1b70ec7e5f7aae94e9..47dcfee23a55a8ade017e9992152552b9ad7794e 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 /*
- * Copyright (C) 2007 Collabora Ltd.
+ * Copyright (C) 2007-2008 Collabora Ltd.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -24,7 +24,7 @@
 
 #include <glib.h>
 
-#include <libmissioncontrol/mission-control.h>
+#include <telepathy-glib/enums.h>
 
 G_BEGIN_DECLS
 
@@ -37,10 +37,10 @@ G_BEGIN_DECLS
 
 typedef struct _EmpathyIdle      EmpathyIdle;
 typedef struct _EmpathyIdleClass EmpathyIdleClass;
-typedef struct _EmpathyIdlePriv  EmpathyIdlePriv;
 
 struct _EmpathyIdle {
        GObject parent;
+       gpointer priv;
 };
 
 struct _EmpathyIdleClass {
@@ -48,25 +48,22 @@ 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);
+                                              TpConnectionPresenceType   state);
 const gchar *empathy_idle_get_status          (EmpathyIdle *idle);
 void         empathy_idle_set_status          (EmpathyIdle *idle,
                                               const gchar *status);
-McPresence   empathy_idle_get_flash_state     (EmpathyIdle *idle);
+TpConnectionPresenceType   empathy_idle_get_flash_state     (EmpathyIdle *idle);
 void         empathy_idle_set_flash_state     (EmpathyIdle *idle,
-                                              McPresence   state);
+                                              TpConnectionPresenceType   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);
 
 G_END_DECLS