#ifndef TNY_OLPC_PLATFORM_FACTORY_H #define TNY_OLPC_PLATFORM_FACTORY_H /* libtinymail-camel - The Tiny Mail base library for Camel * 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 G_BEGIN_DECLS #define TNY_TYPE_OLPC_PLATFORM_FACTORY (tny_olpc_platform_factory_get_type ()) #define TNY_OLPC_PLATFORM_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_OLPC_PLATFORM_FACTORY, TnyOlpcPlatformFactory)) #define TNY_OLPC_PLATFORM_FACTORY_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_OLPC_PLATFORM_FACTORY, TnyOlpcPlatformFactoryClass)) #define TNY_IS_OLPC_PLATFORM_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_OLPC_PLATFORM_FACTORY)) #define TNY_IS_OLPC_PLATFORM_FACTORY_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_OLPC_PLATFORM_FACTORY)) #define TNY_OLPC_PLATFORM_FACTORY_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_OLPC_PLATFORM_FACTORY, TnyOlpcPlatformFactoryClass)) typedef struct _TnyOlpcPlatformFactory TnyOlpcPlatformFactory; typedef struct _TnyOlpcPlatformFactoryClass TnyOlpcPlatformFactoryClass; struct _TnyOlpcPlatformFactory { GObject parent; }; struct _TnyOlpcPlatformFactoryClass { GObjectClass parent; }; GType tny_olpc_platform_factory_get_type (void); TnyPlatformFactory* tny_olpc_platform_factory_get_instance (void); G_END_DECLS #endif