GnuCash 2.4.99
gnc-plugin-business.h
00001 /*
00002  * gnc-plugin-business.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_BUSINESS_H
00026 #define __GNC_PLUGIN_BUSINESS_H
00027 
00028 #include <gtk/gtk.h>
00029 
00030 #include "gnc-plugin.h"
00031 
00032 G_BEGIN_DECLS
00033 
00034 /* type macros */
00035 #define GNC_TYPE_PLUGIN_BUSINESS            (gnc_plugin_business_get_type ())
00036 #define GNC_PLUGIN_BUSINESS(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_PLUGIN_BUSINESS, GncPluginBusiness))
00037 #define GNC_PLUGIN_BUSINESS_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_PLUGIN_BUSINESS, GncPluginBusinessClass))
00038 #define GNC_IS_PLUGIN_BUSINESS(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_PLUGIN_BUSINESS))
00039 #define GNC_IS_PLUGIN_BUSINESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_PLUGIN_BUSINESS))
00040 #define GNC_PLUGIN_BUSINESS_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_PLUGIN_BUSINESS, GncPluginBusinessClass))
00041 
00042 #define GNC_PLUGIN_BUSINESS_NAME "gnc-plugin-business"
00043 
00044 /* typedefs & structures */
00045 typedef struct
00046 {
00047     GncPlugin gnc_plugin;
00048 } GncPluginBusiness;
00049 
00050 typedef struct
00051 {
00052     GncPluginClass gnc_plugin;
00053 } GncPluginBusinessClass;
00054 
00055 /* function prototypes */
00056 GType      gnc_plugin_business_get_type (void);
00057 
00058 GncPlugin *gnc_plugin_business_new      (void);
00059 
00060 G_END_DECLS
00061 
00062 GncMainWindow *gnc_plugin_business_get_window (void);
00063 void gnc_invoice_remind_bills_due (void);
00064 void gnc_invoice_remind_bills_due_cb (void);
00065 const char *gnc_plugin_business_get_invoice_printreport(void);
00066 
00067 #endif /* __GNC_PLUGIN_BUSINESS_H */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines