gpe-expenses.h

Go to the documentation of this file.
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 program 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 2 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, write to the Free Software
00021  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00022  */
00023  
00024 #ifndef _GPE_EXPENSE_H
00025 #define _GPE_EXPENSE_H
00026 
00084 #include "qof-expenses.h"
00085 
00086 #define GPE_MOD_CLI   "gpe-cli"
00087 
00088 typedef struct {
00089         QofMainContext   qof;
00090         QofBook          *book;            
00091         QofEntity        *entity;          
00092         GtkListStore     *list_store;      
00093         GtkListStore     *type_store;      
00094         GtkWidget        *window;          
00095         GtkWidget        *text_view;       
00096         GtkEntry         *vendor_entry;    
00097         GtkEntry         *city_entry;      
00098         GtkEntry         *attendees_entry; 
00099         GtkComboBox      *edit_type_list;  
00100         GtkComboBox      *set_type_list;   
00101         GtkComboBox          *payment_list;    
00102         GtkComboBox      *categories;      
00103         GtkComboBox          *currency_list;   
00104         GList *category_list;   
00105         gint max_categories;     
00106         gint ent_category;       
00107 }GpeExpenseData;
00108 
00111 void gpe_expense_close(GpeExpenseData *context);
00112 
00125 GpeExpenseData*  gpe_expense_init (void);
00126 
00128 void
00129 gpe_expense_error (QofSession * session);
00130 
00131 
00135 #endif /* _PILOT_QOF_H */

Generated on Mon Jun 4 11:24:16 2007 for gpe-expenses by  doxygen 1.5.2