empathy-webcredentials-monitor.h 1.79 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
#ifndef __EMPATHY_WEBCREDENTIALS_MONITOR_H__
#define __EMPATHY_WEBCREDENTIALS_MONITOR_H__

#include <glib-object.h>

#include <libaccounts-glib/ag-manager.h>

G_BEGIN_DECLS

typedef struct _EmpathyWebcredentialsMonitor EmpathyWebcredentialsMonitor;
typedef struct _EmpathyWebcredentialsMonitorClass EmpathyWebcredentialsMonitorClass;
typedef struct _EmpathyWebcredentialsMonitorPriv EmpathyWebcredentialsMonitorPriv;

struct _EmpathyWebcredentialsMonitorClass
{
  /*<private>*/
  GObjectClass parent_class;
};

struct _EmpathyWebcredentialsMonitor
{
  /*<private>*/
  GObject parent;
  EmpathyWebcredentialsMonitorPriv *priv;
};

GType empathy_webcredentials_monitor_get_type (void);

/* TYPE MACROS */
#define EMPATHY_TYPE_WEBCREDENTIALS_MONITOR \
  (empathy_webcredentials_monitor_get_type ())
#define EMPATHY_WEBCREDENTIALS_MONITOR(obj) \
  (G_TYPE_CHECK_INSTANCE_CAST((obj), \
    EMPATHY_TYPE_WEBCREDENTIALS_MONITOR, \
    EmpathyWebcredentialsMonitor))
#define EMPATHY_WEBCREDENTIALS_MONITOR_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_CAST((klass), \
    EMPATHY_TYPE_WEBCREDENTIALS_MONITOR, \
    EmpathyWebcredentialsMonitorClass))
#define EMPATHY_IS_WEBCREDENTIALS_MONITOR(obj) \
  (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
    EMPATHY_TYPE_WEBCREDENTIALS_MONITOR))
#define EMPATHY_IS_WEBCREDENTIALS_MONITOR_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_TYPE((klass), \
    EMPATHY_TYPE_WEBCREDENTIALS_MONITOR))
#define EMPATHY_WEBCREDENTIALS_MONITOR_GET_CLASS(obj) \
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
    EMPATHY_TYPE_WEBCREDENTIALS_MONITOR, \
    EmpathyWebcredentialsMonitorClass))

EmpathyWebcredentialsMonitor * empathy_webcredentials_monitor_new (
    AgManager *manager);

GPtrArray * empathy_webcredentials_get_failures (
    EmpathyWebcredentialsMonitor *self);

G_END_DECLS

#endif /* #ifndef __EMPATHY_WEBCREDENTIALS_MONITOR_H__*/