2 * Copyright © 2012 Collabora Ltd.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 #include <mission-control-plugins/mission-control-plugins.h>
21 #ifndef __MCP_ACCOUNT_MANAGER_UOA_H__
22 #define __MCP_ACCOUNT_MANAGER_UOA_H__
26 #define MCP_TYPE_ACCOUNT_MANAGER_UOA \
27 (mcp_account_manager_uoa_get_type ())
29 #define MCP_ACCOUNT_MANAGER_UOA(o) \
30 (G_TYPE_CHECK_INSTANCE_CAST ((o), MCP_TYPE_ACCOUNT_MANAGER_UOA, \
31 McpAccountManagerUoa))
33 #define MCP_ACCOUNT_MANAGER_UOA_CLASS(k) \
34 (G_TYPE_CHECK_CLASS_CAST((k), MCP_TYPE_ACCOUNT_MANAGER_UOA, \
35 McpAccountManagerUoaClass))
37 #define MCP_IS_ACCOUNT_MANAGER_UOA(o) \
38 (G_TYPE_CHECK_INSTANCE_TYPE ((o), MCP_TYPE_ACCOUNT_MANAGER_UOA))
40 #define MCP_IS_ACCOUNT_MANAGER_UOA_CLASS(k) \
41 (G_TYPE_CHECK_CLASS_TYPE ((k), MCP_TYPE_ACCOUNT_MANAGER_UOA))
43 #define MCP_ACCOUNT_MANAGER_UOA_GET_CLASS(o) \
44 (G_TYPE_INSTANCE_GET_CLASS ((o), MCP_TYPE_ACCOUNT_MANAGER_UOA, \
45 McpAccountManagerUoaClass))
47 typedef struct _McpAccountManagerUoaPrivate McpAccountManagerUoaPrivate;
52 McpAccountManagerUoaPrivate *priv;
53 } _McpAccountManagerUoa;
56 GObjectClass parent_class;
57 } _McpAccountManagerUoaClass;
59 typedef _McpAccountManagerUoa McpAccountManagerUoa;
60 typedef _McpAccountManagerUoaClass McpAccountManagerUoaClass;
62 GType mcp_account_manager_uoa_get_type (void) G_GNUC_CONST;
64 McpAccountManagerUoa *mcp_account_manager_uoa_new (void);