2
* The SSO/libaccounts-glib manager keyfile storage pseudo-plugin
4
* Copyright © 2010 Nokia Corporation
5
* Copyright © 2010 Collabora Ltd.
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the License, or (at your option) any later version.
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
17
* You should have received a copy of the GNU Lesser General Public
18
* License along with this library; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
#include <mission-control-plugins/mission-control-plugins.h>
23
#include <libaccounts-glib/ag-manager.h>
24
#include <libaccounts-glib/ag-account.h>
26
#ifndef __MCD_ACCOUNT_MANAGER_SSO_H__
27
#define __MCD_ACCOUNT_MANAGER_SSO_H__
31
#define MCD_TYPE_ACCOUNT_MANAGER_SSO \
32
(mcd_account_manager_sso_get_type ())
34
#define MCD_ACCOUNT_MANAGER_SSO(o) \
35
(G_TYPE_CHECK_INSTANCE_CAST ((o), MCD_TYPE_ACCOUNT_MANAGER_SSO, \
36
McdAccountManagerSso))
38
#define MCD_ACCOUNT_MANAGER_SSO_CLASS(k) \
39
(G_TYPE_CHECK_CLASS_CAST((k), MCD_TYPE_ACCOUNT_MANAGER_SSO, \
40
McdAccountManagerClass))
42
#define MCD_IS_ACCOUNT_MANAGER_SSO(o) \
43
(G_TYPE_CHECK_INSTANCE_TYPE ((o), MCD_TYPE_ACCOUNT_MANAGER_SSO))
45
#define MCD_IS_ACCOUNT_MANAGER_SSO_CLASS(k) \
46
(G_TYPE_CHECK_CLASS_TYPE ((k), MCD_TYPE_ACCOUNT_MANAGER_SSO))
48
#define MCD_ACCOUNT_MANAGER_SSO_GET_CLASS(o) \
49
(G_TYPE_INSTANCE_GET_CLASS ((o), MCD_TYPE_ACCOUNT_MANAGER_SSO, \
50
McdAccountManagerSsoClass))
55
GHashTable *id_name_map;
57
GQueue *pending_signals;
58
AgManager *ag_manager;
59
McpAccountManager *manager_interface;
63
} _McdAccountManagerSso;
66
GObjectClass parent_class;
67
} _McdAccountManagerSsoClass;
69
typedef _McdAccountManagerSso McdAccountManagerSso;
70
typedef _McdAccountManagerSsoClass McdAccountManagerSsoClass;
72
GType mcd_account_manager_sso_get_type (void) G_GNUC_CONST;
74
McdAccountManagerSso *mcd_account_manager_sso_new (void);