|
GnuCash 2.4.99
|
00001 /* 00002 * gnc-plugin-register.h -- 00003 * 00004 * Copyright (C) 2003 Jan Arne Petersen 00005 * Author: Jan Arne Petersen <jpetersen@uni-bonn.de> 00006 * 00007 * This program is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU General Public License as 00009 * published by the Free Software Foundation; either version 2 of 00010 * the License, or (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, contact: 00019 * 00020 * Free Software Foundation Voice: +1-617-542-5942 00021 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 00022 * Boston, MA 02110-1301, USA gnu@gnu.org 00023 */ 00024 00025 #ifndef __GNC_PLUGIN_REGISTER_H 00026 #define __GNC_PLUGIN_REGISTER_H 00027 00028 #include "gnc-plugin.h" 00029 00030 G_BEGIN_DECLS 00031 00032 /* type macros */ 00033 #define GNC_TYPE_PLUGIN_REGISTER (gnc_plugin_register_get_type ()) 00034 #define GNC_PLUGIN_REGISTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_REGISTER, GncPluginRegister)) 00035 #define GNC_PLUGIN_REGISTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_REGISTER, GncPluginRegisterClass)) 00036 #define GNC_IS_PLUGIN_REGISTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_REGISTER)) 00037 #define GNC_IS_PLUGIN_REGISTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_REGISTER)) 00038 #define GNC_PLUGIN_REGISTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_REGISTER, GncPluginRegisterClass)) 00039 00040 #define GNC_PLUGIN_REGISTER_NAME "gnc-plugin-register" 00041 00042 /* typedefs & structures */ 00043 typedef struct 00044 { 00045 GncPlugin gnc_plugin; 00046 } GncPluginRegister; 00047 00048 typedef struct 00049 { 00050 GncPluginClass gnc_plugin; 00051 } GncPluginRegisterClass; 00052 00053 /* function prototypes */ 00054 GType gnc_plugin_register_get_type (void); 00055 00056 GncPlugin *gnc_plugin_register_new (void); 00057 00058 G_END_DECLS 00059 00060 #endif /* __GNC_PLUGIN_REGISTER_H */
1.7.4