X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Fimp_qif.h;fp=src%2Fimp_qif.h;h=0000000000000000000000000000000000000000;hp=4e9183d6909e3035b1489d2d3b6e017d5578637b;hb=996fa4ab9f6b836001f8ad0eecbfd3821687fea7;hpb=27f6e3b112df235c8e9afc9911b1f6bce208a001 diff --git a/src/imp_qif.h b/src/imp_qif.h deleted file mode 100644 index 4e9183d..0000000 --- a/src/imp_qif.h +++ /dev/null @@ -1,80 +0,0 @@ -/* HomeBank -- Free, easy, personal accounting for everyone. - * Copyright (C) 1995-2014 Maxime DOYEN - * - * This file is part of HomeBank. - * - * HomeBank is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * HomeBank is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#ifndef __HB_QIF__H__ -#define __HB_QIF__H__ - -typedef struct _QifContext QifContext; -typedef struct _qif_split QIFSplit; -typedef struct _qif_tran QIF_Tran; - - -struct _QifContext -{ - GList *q_acc; - GList *q_cat; - GList *q_pay; - GList *q_tra; - - gboolean is_ccard; -}; - -struct _qif_split -{ - gchar *category; - gdouble amount; - gchar *memo; -}; - -struct _qif_tran -{ - gchar *account; - gchar *date; - gdouble amount; - gboolean reconciled; - gchar *info; - gchar *payee; - gchar *memo; - gchar *category; - - gint nb_splits; - QIFSplit splits[TXN_MAX_SPLIT]; -}; - - -enum QIF_Type -{ - QIF_NONE, - QIF_HEADER, - QIF_ACCOUNT, - QIF_CATEGORY, - QIF_CLASS, - QIF_MEMORIZED, - QIF_TRANSACTION, - QIF_SECURITY, - QIF_PRICES -}; - - -GList *account_import_qif(gchar *filename, ImportContext *ictx); -gdouble hb_qif_parser_get_amount(gchar *string); - - - -#endif \ No newline at end of file