gpe-expenses  0.1.9
gpe-expenses.h
Go to the documentation of this file.
1 /***************************************************************************
2  * gpe-expenses.h
3  *
4  * Sun Nov 13 14:56:58 2005
5  * Copyright 2005 Neil Williams
6  * linux@codehelp.co.uk
7  ****************************************************************************/
8 /*
9  This package is free software; you can redistribute it and/or modify
10  it under the terms of the GNU General Public License as published by
11  the Free Software Foundation; either version 3 of the License, or
12  (at your option) any later version.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program. If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef _GPE_EXPENSE_H
24 #define _GPE_EXPENSE_H
25 
83 #include "qof-expenses.h"
84 
85 #define GPE_MOD_CLI "gpe-cli"
86 
87 typedef struct {
88  QofMainContext qof;
89  QofBook *book;
90  QofEntity *entity;
91  GtkListStore *list_store;
92  GtkListStore *type_store;
93  GtkWidget *window;
94  GtkWidget *text_view;
95  GtkEntry *vendor_entry;
96  GtkEntry *city_entry;
97  GtkEntry *attendees_entry;
98  GtkComboBox *edit_type_list;
99  GtkComboBox *set_type_list;
100  GtkComboBox *payment_list;
101  GtkWidget *categories;
102  GtkWidget *cat_label;
103  GtkComboBox *currency_list;
105 
108 void gpe_expense_close(GpeExpenseData *context);
109 
123 
125 void
126 gpe_expense_error (QofSession * session);
127 
128 
132 #endif /* _PILOT_QOF_H */