[grisbi-cvs] grisbi/src import.c,1.252,1.253
Pierre Biava
pbiava at users.sourceforge.net
Mon Nov 17 20:45:19 CET 2008
Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20061
Modified Files:
import.c
Log Message:
correction compile-error when the configure option '--without-ofx'
Index: import.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/import.c,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -d -r1.252 -r1.253
--- import.c 17 Nov 2008 19:00:28 -0000 1.252
+++ import.c 17 Nov 2008 19:45:17 -0000 1.253
@@ -22,7 +22,6 @@
#include "include.h"
-#include <libofx/libofx.h>
/*START_INCLUDE*/
#include "import.h"
@@ -126,6 +125,27 @@
extern GtkWidget *window ;
/*END_EXTERN*/
+/* recopie des types de transaction de la libofx en attendant une version propre */
+typedef enum {
+ OFX_CREDIT, /**< Generic credit */
+ OFX_DEBIT, /**< Generic debit */
+ OFX_INT, /**< Interest earned or paid (Note: Depends on signage of amount) */
+ OFX_DIV, /**< Dividend */
+ OFX_FEE, /**< FI fee */
+ OFX_SRVCHG, /**< Service charge */
+ OFX_DEP, /**< Deposit */
+ OFX_ATM, /**< ATM debit or credit (Note: Depends on signage of amount) */
+ OFX_POS, /**< Point of sale debit or credit (Note: Depends on signage of amount) */
+ OFX_XFER, /**< Transfer */
+ OFX_CHECK, /**< Check */
+ OFX_PAYMENT, /**< Electronic payment */
+ OFX_CASH, /**< Cash withdrawal */
+ OFX_DIRECTDEP, /**< Direct deposit */
+ OFX_DIRECTDEBIT,/**< Merchant initiated debit */
+ OFX_REPEATPMT, /**< Repeating payment/standing order */
+ OFX_OTHER /**< Somer other type of transaction */
+ } OFXTransactionType;
+
/** Suppported import formats. Plugins may register themselves. */
static GSList * import_formats = NULL;
More information about the cvs
mailing list