]> git.0d.be Git - empathy.git/blob - ubuntu-online-accounts/mc-plugin/empathy-webcredentials-monitor.h
cf373a2d4ab1632f1e9b8a3c44ac4c2812bbd245
[empathy.git] / ubuntu-online-accounts / mc-plugin / empathy-webcredentials-monitor.h
1 #ifndef __EMPATHY_WEBCREDENTIALS_MONITOR_H__
2 #define __EMPATHY_WEBCREDENTIALS_MONITOR_H__
3
4 #include <glib-object.h>
5
6 #include <libaccounts-glib/ag-manager.h>
7
8 G_BEGIN_DECLS
9
10 typedef struct _EmpathyWebcredentialsMonitor EmpathyWebcredentialsMonitor;
11 typedef struct _EmpathyWebcredentialsMonitorClass EmpathyWebcredentialsMonitorClass;
12 typedef struct _EmpathyWebcredentialsMonitorPriv EmpathyWebcredentialsMonitorPriv;
13
14 struct _EmpathyWebcredentialsMonitorClass
15 {
16   /*<private>*/
17   GObjectClass parent_class;
18 };
19
20 struct _EmpathyWebcredentialsMonitor
21 {
22   /*<private>*/
23   GObject parent;
24   EmpathyWebcredentialsMonitorPriv *priv;
25 };
26
27 GType empathy_webcredentials_monitor_get_type (void);
28
29 /* TYPE MACROS */
30 #define EMPATHY_TYPE_WEBCREDENTIALS_MONITOR \
31   (empathy_webcredentials_monitor_get_type ())
32 #define EMPATHY_WEBCREDENTIALS_MONITOR(obj) \
33   (G_TYPE_CHECK_INSTANCE_CAST((obj), \
34     EMPATHY_TYPE_WEBCREDENTIALS_MONITOR, \
35     EmpathyWebcredentialsMonitor))
36 #define EMPATHY_WEBCREDENTIALS_MONITOR_CLASS(klass) \
37   (G_TYPE_CHECK_CLASS_CAST((klass), \
38     EMPATHY_TYPE_WEBCREDENTIALS_MONITOR, \
39     EmpathyWebcredentialsMonitorClass))
40 #define EMPATHY_IS_WEBCREDENTIALS_MONITOR(obj) \
41   (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
42     EMPATHY_TYPE_WEBCREDENTIALS_MONITOR))
43 #define EMPATHY_IS_WEBCREDENTIALS_MONITOR_CLASS(klass) \
44   (G_TYPE_CHECK_CLASS_TYPE((klass), \
45     EMPATHY_TYPE_WEBCREDENTIALS_MONITOR))
46 #define EMPATHY_WEBCREDENTIALS_MONITOR_GET_CLASS(obj) \
47   (G_TYPE_INSTANCE_GET_CLASS ((obj), \
48     EMPATHY_TYPE_WEBCREDENTIALS_MONITOR, \
49     EmpathyWebcredentialsMonitorClass))
50
51 EmpathyWebcredentialsMonitor * empathy_webcredentials_monitor_new (
52     AgManager *manager);
53
54 GPtrArray * empathy_webcredentials_get_failures (
55     EmpathyWebcredentialsMonitor *self);
56
57 G_END_DECLS
58
59 #endif /* #ifndef __EMPATHY_WEBCREDENTIALS_MONITOR_H__*/