gpe-expenses 0.1.9
|
00001 /*************************************************************************** 00002 * gpe-expenses.h 00003 * 00004 * Sun Nov 13 14:56:58 2005 00005 * Copyright 2005 Neil Williams 00006 * linux@codehelp.co.uk 00007 ****************************************************************************/ 00008 /* 00009 This package is free software; you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation; either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program. If not, see <http://www.gnu.org/licenses/>. 00021 */ 00022 00023 #ifndef _GPE_EXPENSE_H 00024 #define _GPE_EXPENSE_H 00025 00083 #include "qof-expenses.h" 00084 00085 #define GPE_MOD_CLI "gpe-cli" 00086 00087 typedef struct { 00088 QofMainContext qof; 00089 QofBook *book; 00090 QofEntity *entity; 00091 GtkListStore *list_store; 00092 GtkListStore *type_store; 00093 GtkWidget *window; 00094 GtkWidget *text_view; 00095 GtkEntry *vendor_entry; 00096 GtkEntry *city_entry; 00097 GtkEntry *attendees_entry; 00098 GtkComboBox *edit_type_list; 00099 GtkComboBox *set_type_list; 00100 GtkComboBox *payment_list; 00101 GtkWidget *categories; 00102 GtkWidget *cat_label; 00103 GtkComboBox *currency_list; 00104 }GpeExpenseData; 00105 00108 void gpe_expense_close(GpeExpenseData *context); 00109 00122 GpeExpenseData* gpe_expense_init (void); 00123 00125 void 00126 gpe_expense_error (QofSession * session); 00127 00128 00132 #endif /* _PILOT_QOF_H */