root/trunk/libtinymail-maemo/tny-maemo-account-store.h

Revision 2825 (checked in by pvanhoof, 1 year ago)
        • Changed the address of FSF in the copyright notes
Line 
1 #ifndef TNY_MAEMO_ACCOUNT_STORE_H
2 #define TNY_MAEMO_ACCOUNT_STORE_H
3
4 /* libtinymail-maemo - The Tiny Mail base library for Maemo
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
24 #include <glib.h>
25 #include <glib-object.h>
26 #include <tny-shared.h>
27
28 #include <tny-camel-shared.h>
29
30 G_BEGIN_DECLS
31
32 #define TNY_TYPE_MAEMO_ACCOUNT_STORE             (tny_maemo_account_store_get_type ())
33 #define TNY_MAEMO_ACCOUNT_STORE(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_MAEMO_ACCOUNT_STORE, TnyMaemoAccountStore))
34 #define TNY_MAEMO_ACCOUNT_STORE_CLASS(vtable)    (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_MAEMO_ACCOUNT_STORE, TnyMaemoAccountStoreClass))
35 #define TNY_IS_MAEMO_ACCOUNT_STORE(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_MAEMO_ACCOUNT_STORE))
36 #define TNY_IS_MAEMO_ACCOUNT_STORE_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_MAEMO_ACCOUNT_STORE))
37 #define TNY_MAEMO_ACCOUNT_STORE_GET_CLASS(inst)  (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_MAEMO_ACCOUNT_STORE, TnyMaemoAccountStoreClass))
38
39 typedef struct _TnyMaemoAccountStore TnyMaemoAccountStore;
40 typedef struct _TnyMaemoAccountStoreClass TnyMaemoAccountStoreClass;
41
42 struct _TnyMaemoAccountStore
43 {
44         GObject parent;
45 };
46
47 struct _TnyMaemoAccountStoreClass
48 {
49         GObjectClass parent;
50 };
51
52 GType tny_maemo_account_store_get_type (void);
53 TnyAccountStore* tny_maemo_account_store_new (void);
54 TnySessionCamel* tny_maemo_account_store_get_session (TnyMaemoAccountStore *self);
55
56 G_END_DECLS
57
58 #endif
Note: See TracBrowser for help on using the browser.