GnuCash 2.3.0
gnc-plugin-csv.h
00001 /*
00002  * gnc-plugin-csv.h --
00003  * Copyright (C) 2003 David Hampton <hampton@employees.org>
00004  *
00005  * This program is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License as
00007  * published by the Free Software Foundation; either version 2 of
00008  * the License, or (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, contact:
00017  *
00018  * Free Software Foundation           Voice:  +1-617-542-5942
00019  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652
00020  * Boston, MA  02110-1301,  USA       gnu@gnu.org
00021  */
00022 
00023 #ifndef __GNC_PLUGIN_CSV_H
00024 #define __GNC_PLUGIN_CSV_H
00025 
00026 #include <gtk/gtk.h>
00027 
00028 #include "gnc-plugin.h"
00029 
00030 G_BEGIN_DECLS
00031 
00032 /* type macros */
00033 #define GNC_TYPE_PLUGIN_CSV            (gnc_plugin_csv_get_type ())
00034 #define GNC_PLUGIN_CSV(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_CSV, GncPluginCsv))
00035 #define GNC_PLUGIN_CSV_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_CSV, GncPluginCsvClass))
00036 #define GNC_IS_PLUGIN_CSV(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_CSV))
00037 #define GNC_IS_PLUGIN_CSV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_CSV))
00038 #define GNC_PLUGIN_CSV_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_CSV, GncPluginCsvClass))
00039 
00040 #define GNC_PLUGIN_CSV_NAME "gnc-plugin-csv"
00041 
00042 /* typedefs & structures */
00043 typedef struct
00044 {
00045     GncPlugin gnc_plugin;
00046 } GncPluginCsv;
00047 
00048 typedef struct
00049 {
00050     GncPluginClass gnc_plugin;
00051 } GncPluginCsvClass;
00052 
00053 /* function prototypes */
00054 GType      gnc_plugin_csv_get_type (void);
00055 
00056 GncPlugin *gnc_plugin_csv_new      (void);
00057 
00058 void       gnc_plugin_csv_create_plugin (void);
00059 
00060 G_END_DECLS
00061 
00062 #endif /* __GNC_PLUGIN_CSV_H */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines