#ifndef TNY_MAEMO_ACCOUNT_STORE_H #define TNY_MAEMO_ACCOUNT_STORE_H /* libtinymail-maemo - The Tiny Mail base library for Maemo * Copyright (C) 2006-2007 Philip Van Hoof * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with self library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */ #include #include #include #include G_BEGIN_DECLS #define TNY_TYPE_MAEMO_ACCOUNT_STORE (tny_maemo_account_store_get_type ()) #define TNY_MAEMO_ACCOUNT_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_MAEMO_ACCOUNT_STORE, TnyMaemoAccountStore)) #define TNY_MAEMO_ACCOUNT_STORE_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_MAEMO_ACCOUNT_STORE, TnyMaemoAccountStoreClass)) #define TNY_IS_MAEMO_ACCOUNT_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_MAEMO_ACCOUNT_STORE)) #define TNY_IS_MAEMO_ACCOUNT_STORE_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_MAEMO_ACCOUNT_STORE)) #define TNY_MAEMO_ACCOUNT_STORE_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_MAEMO_ACCOUNT_STORE, TnyMaemoAccountStoreClass)) typedef struct _TnyMaemoAccountStore TnyMaemoAccountStore; typedef struct _TnyMaemoAccountStoreClass TnyMaemoAccountStoreClass; struct _TnyMaemoAccountStore { GObject parent; }; struct _TnyMaemoAccountStoreClass { GObjectClass parent; }; GType tny_maemo_account_store_get_type (void); TnyAccountStore* tny_maemo_account_store_new (void); TnySessionCamel* tny_maemo_account_store_get_session (TnyMaemoAccountStore *self); G_END_DECLS #endif