#ifndef TNY_GNOME_PLATFORM_FACTORY_H #define TNY_GNOME_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_GNOME_PLATFORM_FACTORY (tny_gnome_platform_factory_get_type ()) #define TNY_GNOME_PLATFORM_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_GNOME_PLATFORM_FACTORY, TnyGnomePlatformFactory)) #define TNY_GNOME_PLATFORM_FACTORY_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_GNOME_PLATFORM_FACTORY, TnyGnomePlatformFactoryClass)) #define TNY_IS_GNOME_PLATFORM_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_GNOME_PLATFORM_FACTORY)) #define TNY_IS_GNOME_PLATFORM_FACTORY_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_GNOME_PLATFORM_FACTORY)) #define TNY_GNOME_PLATFORM_FACTORY_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_GNOME_PLATFORM_FACTORY, TnyGnomePlatformFactoryClass)) typedef struct _TnyGnomePlatformFactory TnyGnomePlatformFactory; typedef struct _TnyGnomePlatformFactoryClass TnyGnomePlatformFactoryClass; struct _TnyGnomePlatformFactory { GObject parent; }; struct _TnyGnomePlatformFactoryClass { GObjectClass parent; }; GType tny_gnome_platform_factory_get_type (void); TnyPlatformFactory* tny_gnome_platform_factory_get_instance (void); G_END_DECLS #endif