1
#ifndef TNY_GPE_ACCOUNT_STORE_H
2
#define TNY_GPE_ACCOUNT_STORE_H
3
4
/* libtinymail-gpe - The Tiny Mail base library for GPE
5
 * Copyright (C) 2006-2007 Philip Van Hoof <pvanhoof@gnome.org>
6
 *
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 of the License, or (at your option) any later version.
11
 *
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.
16
 *
17
 * You should have received a copy of the GNU Lesser General Public
18
 * License along with self library; if not, write to the
19
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20
 * Boston, MA 02110-1301, USA.
21
 */
22
23
#include <glib.h>
24
#include <glib-object.h>
25
#include <tny-shared.h>
26
27
#include <tny-camel-shared.h>
28
29
G_BEGIN_DECLS
30
31
#define TNY_TYPE_GPE_ACCOUNT_STORE             (tny_gpe_account_store_get_type ())
32
#define TNY_GPE_ACCOUNT_STORE(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_GPE_ACCOUNT_STORE, TnyGpeAccountStore))
33
#define TNY_GPE_ACCOUNT_STORE_CLASS(vtable)    (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_GPE_ACCOUNT_STORE, TnyGpeAccountStoreClass))
34
#define TNY_IS_GPE_ACCOUNT_STORE(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_GPE_ACCOUNT_STORE))
35
#define TNY_IS_GPE_ACCOUNT_STORE_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_GPE_ACCOUNT_STORE))
36
#define TNY_GPE_ACCOUNT_STORE_GET_CLASS(inst)  (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_GPE_ACCOUNT_STORE, TnyGpeAccountStoreClass))
37
38
typedef struct _TnyGpeAccountStore TnyGpeAccountStore;
39
typedef struct _TnyGpeAccountStoreClass TnyGpeAccountStoreClass;
40
41
struct _TnyGpeAccountStore
42
{
43
	GObject parent;
44
};
45
46
struct _TnyGpeAccountStoreClass
47
{
48
	GObjectClass parent;
49
};
50
51
GType tny_gpe_account_store_get_type (void);
52
TnyAccountStore* tny_gpe_account_store_new (void);
53
TnySessionCamel* tny_gpe_account_store_get_session (TnyGpeAccountStore *self);
54
55
G_END_DECLS
56
57
#endif