00001 /*************************************************************************** 00002 $RCSfile: gbanking.h,v $ 00003 ------------------- 00004 cvs : $Id: gbanking.h,v 1.1 2005/08/08 02:24:38 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 00014 00015 #ifndef GBANKING_H 00016 #define GBANKING_H 00017 00018 #include <gtk/gtk.h> 00019 #include <aqbanking/banking.h> 00020 #include <aqbanking/imexporter.h> 00021 00022 00023 #define GBANKING_LOGDOMAIN "gbanking" 00024 00025 00026 typedef int (*GBANKING_IMPORTCONTEXT_FN)(AB_BANKING *ab, 00027 AB_IMEXPORTER_CONTEXT *ctx); 00028 00029 00030 AB_BANKING *GBanking_new(const char *appName, 00031 const char *fname); 00032 00033 00034 GWEN_TYPE_UINT32 GBanking_GetLastAccountUpdate(const AB_BANKING *ab); 00035 GWEN_TYPE_UINT32 GBanking_GetLastQueueUpdate(const AB_BANKING *ab); 00036 00037 void GBanking_AccountsUpdated(AB_BANKING *ab); 00038 void GBanking_QueueUpdated(AB_BANKING *ab); 00039 00040 int GBanking_ImportContext(AB_BANKING *ab, AB_IMEXPORTER_CONTEXT *ctx); 00041 00042 void GBanking_SetImportContextFn(AB_BANKING *ab, 00043 GBANKING_IMPORTCONTEXT_FN cb); 00044 00045 00046 #endif /* GBANKING_H */ 00047 00048 00049 00050 00051 00052 00053 00054 00055