#define __EMPATHY_ACCOUNT_CHOOSER_H__
#include <gtk/gtk.h>
-
#include <telepathy-glib/telepathy-glib.h>
G_BEGIN_DECLS
typedef struct _EmpathyAccountChooser EmpathyAccountChooser;
typedef struct _EmpathyAccountChooserClass EmpathyAccountChooserClass;
+typedef struct _EmpathyAccountChooserPriv EmpathyAccountChooserPriv;
struct _EmpathyAccountChooser
{
GtkComboBox parent;
/*<private>*/
- gpointer priv;
+ EmpathyAccountChooserPriv *priv;
};
struct _EmpathyAccountChooserClass
EmpathyAccountChooserFilterFunc filter,
gpointer user_data);
+gboolean empathy_account_chooser_is_ready (EmpathyAccountChooser *self);
+
+void empathy_account_chooser_refilter (EmpathyAccountChooser *self);
+
+/* Pre-defined filters */
+
void empathy_account_chooser_filter_is_connected (TpAccount *account,
EmpathyAccountChooserFilterResultCallback callback,
gpointer callback_data,
gpointer callback_data,
gpointer user_data);
-gboolean empathy_account_chooser_is_ready (EmpathyAccountChooser *self);
-
G_END_DECLS
#endif /* __EMPATHY_ACCOUNT_CHOOSER_H__ */