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