1 /* 2 * gnc-plugin-register2.h -- 3 * 4 * Copyright (C) 2003 Jan Arne Petersen 5 * Author: Jan Arne Petersen <jpetersen@uni-bonn.de> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License as 9 * published by the Free Software Foundation; either version 2 of 10 * the License, or (at your option) any later version. 11 * 12 * This program 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 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, contact: 19 * 20 * Free Software Foundation Voice: +1-617-542-5942 21 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 22 * Boston, MA 02110-1301, USA gnu@gnu.org 23 */ 24 25 #ifndef __GNC_PLUGIN_REGISTER2_H 26 #define __GNC_PLUGIN_REGISTER2_H 27 28 #include "gnc-plugin.h" 29 30 G_BEGIN_DECLS 31 /** @ingroup Register 32 * @addtogroup Register2 33 * @{ 34 */ 35 /** @file gnc-plugin-register2.h 36 */ 37 /* type macros */ 38 #define GNC_TYPE_PLUGIN_REGISTER2 (gnc_plugin_register2_get_type ()) 39 #define GNC_PLUGIN_REGISTER2(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_REGISTER2, GncPluginRegister2)) 40 #define GNC_PLUGIN_REGISTER2_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_REGISTER2, GncPluginRegister2Class)) 41 #define GNC_IS_PLUGIN_REGISTER2(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_REGISTER2)) 42 #define GNC_IS_PLUGIN_REGISTER2_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_REGISTER2)) 43 #define GNC_PLUGIN_REGISTER2_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_REGISTER2, GncPluginRegister2Class)) 44 45 #define GNC_PLUGIN_REGISTER2_NAME "gnc-plugin-register2" 46 47 /* typedefs & structures */ 48 typedef struct 49 { 50 GncPlugin gnc_plugin; 51 } GncPluginRegister2; 52 53 typedef struct 54 { 55 GncPluginClass gnc_plugin; 56 } GncPluginRegister2Class; 57 58 /* function prototypes */ 59 GType gnc_plugin_register2_get_type (void); 60 61 GncPlugin *gnc_plugin_register2_new (void); 62 63 G_END_DECLS 64 /** @} */ 65 66 #endif /* __GNC_PLUGIN_REGISTER2_H */ 67