/* * Author: Chris Lord * * Copyright (c) 2007 OpenedHand Ltd - http://www.openedhand.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program 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 General Public License for more details. * */ #ifndef JANA_ECAL_COMPONENT_H #define JANA_ECAL_COMPONENT_H #include #include #include #include #define JANA_ECAL_TYPE_COMPONENT (jana_ecal_component_get_type ()) #define JANA_ECAL_COMPONENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ JANA_ECAL_TYPE_COMPONENT, \ JanaEcalComponent)) #define JANA_ECAL_COMPONENT_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST \ ((vtable), \ JANA_ECAL_TYPE_COMPONENT, \ JanaEcalComponentClass)) #define JANA_ECAL_IS_COMPONENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ JANA_ECAL_TYPE_COMPONENT)) #define JANA_ECAL_IS_COMPONENT_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE \ ((vtable), \ JANA_ECAL_TYPE_COMPONENT)) #define JANA_ECAL_COMPONENT_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS \ ((inst), \ JANA_ECAL_TYPE_COMPONENT, \ JanaEcalComponentClass)) typedef struct _JanaEcalComponent JanaEcalComponent; typedef struct _JanaEcalComponentClass JanaEcalComponentClass; /** * JanaEcalComponent: * * The #JanaEcalComponent struct contains only private data. */ struct _JanaEcalComponent { GObject parent; }; struct _JanaEcalComponentClass { GObjectClass parent; }; GType jana_ecal_component_get_type (void); JanaComponent *jana_ecal_component_new_from_ecalcomp (ECalComponent *component); #endif //JANA_ECAL_COMPONENT_H