17
17
with this program. If not, see <http://www.gnu.org/licenses/>.
20
#ifndef _WEBCREDENTIALS_MGR_H_
21
#define _WEBCREDENTIALS_MGR_H_
20
#ifndef _ONLINE_ACCOUNTS_MGR_H_
21
#define _ONLINE_ACCOUNTS_MGR_H_
23
23
#include <glib-object.h>
24
24
#include <libdbusmenu-glib/menuitem.h>
28
#define WEBCREDENTIALS_TYPE_MGR (webcredentials_mgr_get_type ())
29
#define WEBCREDENTIALS_MGR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WEBCREDENTIALS_TYPE_MGR, WebcredentialsMgr))
30
#define WEBCREDENTIALS_MGR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WEBCREDENTIALS_TYPE_MGR, WebcredentialsMgrClass))
31
#define WEBCREDENTIALS_IS_MGR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WEBCREDENTIALS_TYPE_MGR))
32
#define WEBCREDENTIALS_IS_MGR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WEBCREDENTIALS_TYPE_MGR))
33
#define WEBCREDENTIALS_MGR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WEBCREDENTIALS_TYPE_MGR, WebcredentialsMgrClass))
35
typedef struct _WebcredentialsMgrClass WebcredentialsMgrClass;
36
typedef struct _WebcredentialsMgr WebcredentialsMgr;
38
struct _WebcredentialsMgrClass
28
#define ONLINE_ACCOUNTS_TYPE_MGR (online_accounts_mgr_get_type ())
29
#define ONLINE_ACCOUNTS_MGR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ONLINE_ACCOUNTS_TYPE_MGR, OnlineAccountsMgr))
30
#define ONLINE_ACCOUNTS_MGR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ONLINE_ACCOUNTS_TYPE_MGR, OnlineAccountsMgrClass))
31
#define ONLINE_ACCOUNTS_IS_MGR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ONLINE_ACCOUNTS_TYPE_MGR))
32
#define ONLINE_ACCOUNTS_IS_MGR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ONLINE_ACCOUNTS_TYPE_MGR))
33
#define ONLINE_ACCOUNTS_MGR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ONLINE_ACCOUNTS_TYPE_MGR, OnlineAccountsMgrClass))
35
typedef struct _OnlineAccountsMgrClass OnlineAccountsMgrClass;
36
typedef struct _OnlineAccountsMgr OnlineAccountsMgr;
38
struct _OnlineAccountsMgrClass
40
40
GObjectClass parent_class;
43
GType webcredentials_mgr_get_type (void) G_GNUC_CONST;
44
WebcredentialsMgr *webcredentials_mgr_new (void);
43
GType online_accounts_mgr_get_type (void) G_GNUC_CONST;
44
OnlineAccountsMgr *online_accounts_mgr_new (void);
46
DbusmenuMenuitem *webcredentials_mgr_get_menu_item (WebcredentialsMgr *self);
46
DbusmenuMenuitem *online_accounts_mgr_get_menu_item (OnlineAccountsMgr *self);
50
#endif /* _WEBCREDENTIALS_MGR_H_ */
50
#endif /* _ONLINE_ACCOUNTS_MGR_H_ */