00001 /*************************************************************************** 00002 $RCSfile: kbanking.h,v $ 00003 ------------------- 00004 cvs : $Id: kbanking.h,v 1.3 2005/08/08 15:41:41 aquamaniac Exp $ 00005 begin : Mon Mar 01 2004 00006 copyright : (C) 2004 by Martin Preuss 00007 email : martin@libchipcard.de 00008 00009 *************************************************************************** 00010 * Please see toplevel file COPYING for license details * 00011 ***************************************************************************/ 00012 00013 #ifndef AQHBCI_KDE_BANKING_H 00014 #define AQHBCI_KDE_BANKING_H 00015 00016 00017 #include <aqbanking/banking.h> 00018 #include <aqbanking/accstatus.h> 00019 00020 #include <gwenhywfar/nettransportssl.h> 00021 00022 #include <qobject.h> 00023 #include <qdatetime.h> 00024 #include <qstring.h> 00025 00026 #include <list> 00027 00028 class QTranslator; 00029 00030 class KBanking; 00031 00032 #include <qbanking/qbanking.h> 00033 #include <kbanking/kbflagstaff.h> 00034 00035 00036 class KBanking: public QBanking { 00037 private: 00038 KBFlagStaff *_flagStaff; 00039 QTranslator *_translator; 00040 00041 AB_ACCOUNT *_getAccount(const char *accountId); 00042 00043 public: 00044 KBanking(const char *appname, 00045 const char *fname=0); 00046 virtual ~KBanking(); 00047 00048 int init(); 00049 int fini(); 00050 00051 00052 KBFlagStaff *flagStaff(); 00053 00054 int executeQueue(); 00055 00056 virtual bool importContext(AB_IMEXPORTER_CONTEXT *ctx); 00057 virtual bool importAccountInfo(AB_IMEXPORTER_ACCOUNTINFO *ai); 00058 00059 virtual bool importContext(AB_IMEXPORTER_CONTEXT *ctx, 00060 GWEN_TYPE_UINT32 flags); 00061 00062 virtual bool importAccountInfo(AB_IMEXPORTER_ACCOUNTINFO *ai, 00063 GWEN_TYPE_UINT32 flags); 00064 00065 }; 00066 00067 00068 00069 00070 #endif /* AQHBCI_KDE_BANKING_H */ 00071 00072