GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gnc-plugin-csv-export.h
1 /*
2  * gnc-plugin-csv-export.h -- csv export plugin
3  * Copyright (C) 2012 Robert Fewell
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of
8  * the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, contact:
17  *
18  * Free Software Foundation Voice: +1-617-542-5942
19  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652
20  * Boston, MA 02110-1301, USA [email protected]
21  */
22 
23 #ifndef __GNC_PLUGIN_CSV_EXPORT_H
24 #define __GNC_PLUGIN_CSV_EXPORT_H
25 
26 #include <gtk/gtk.h>
27 
28 #include "gnc-plugin.h"
29 
30 G_BEGIN_DECLS
31 
32 /* type macros */
33 #define GNC_TYPE_PLUGIN_CSV_EXPORT (gnc_plugin_csv_export_get_type ())
34 #define GNC_PLUGIN_CSV_EXPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_CSV_EXPORT, GncPluginCsvExport))
35 #define GNC_PLUGIN_CSV_EXPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_CSV_EXPORT, GncPluginCsvExportClass))
36 #define GNC_IS_PLUGIN_CSV_EXPORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_CSV_EXPORT))
37 #define GNC_IS_PLUGIN_CSV_EXPORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_CSV_EXPORT))
38 #define GNC_PLUGIN_CSV_EXPORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_CSV_EXPORT, GncPluginCsvExportClass))
39 
40 #define GNC_PLUGIN_CSV_EXPORT_NAME "gnc-plugin-csv-export"
41 
42 /* typedefs & structures */
43 typedef struct
44 {
45  GncPlugin gnc_plugin;
47 
48 typedef struct
49 {
50  GncPluginClass gnc_plugin;
52 
53 /* function prototypes */
54 GType gnc_plugin_csv_export_get_type (void);
55 
56 GncPlugin *gnc_plugin_csv_export_new (void);
57 
58 void gnc_plugin_csv_export_create_plugin (void);
59 
60 G_END_DECLS
61 
62 #endif /* __GNC_PLUGIN_CSV_EXPORT_H */
Functions for adding plugins to a GnuCash window.