gbanking.h File Reference

#include <gtk/gtk.h>
#include <aqbanking/system.h>
#include <aqbanking/banking.h>
#include <aqbanking/imexporter.h>
#include <gwenhywfar/buffer.h>

Go to the source code of this file.

Defines

#define GBANKING_LOGDOMAIN   "gbanking"
#define GBANKING_API
#define GBANKING_EXPORT
#define GBANKING_NOEXPORT

Typedefs

typedef int(*) GBANKING_IMPORTCONTEXT_FN (AB_BANKING *ab, AB_IMEXPORTER_CONTEXT *ctx)

Functions

GBANKING_API AB_BANKINGGBanking_new (const char *appName, const char *fname)
Character Set
AqBanking internally uses UTF8 in all functions. Not all systems use this for user interaction (e.g. not all desktops show UTF-8 data, some systems might still use ISO-8859-1 or 15.

Therefore this frontend transforms interactive data (i.e. data that is output to the desktop or input from it) between UTF-8 and a given character set.

GBANKING_API const char * GBanking_GetCharSet (const AB_BANKING *ab)
GBANKING_API void GBanking_SetCharSet (AB_BANKING *ab, const char *s)
Helper Functions
GBANKING_API void GBanking_GetRawText (AB_BANKING *ab, const char *text, GWEN_BUFFER *tbuf)
GBANKING_API void GBanking_GetHtmlText (AB_BANKING *ab, const char *text, GWEN_BUFFER *tbuf)
GBANKING_API void GBanking_GetUtf8Text (AB_BANKING *ab, const char *text, int len, GWEN_BUFFER *tbuf)
Update Tracker Functions
The functions in this group just handle counters. E.g. if you call GBanking_AccountsUpdated then the internal account update counter is incremented. Functions which want to check whether accounts have been updated since the last time they checked just retrieve the account update counter via GBanking_GetLastAccountUpdate and compare it against their own counter.

GBANKING_API void GBanking_AccountsUpdated (AB_BANKING *ab)
GBANKING_API void GBanking_QueueUpdated (AB_BANKING *ab)
GBANKING_API GWEN_TYPE_UINT32 GBanking_GetLastAccountUpdate (const AB_BANKING *ab)
GBANKING_API GWEN_TYPE_UINT32 GBanking_GetLastQueueUpdate (const AB_BANKING *ab)
Importing Contexts
This frontend uses a callback function to let the application import data. This is called from the job view after executing the job queue.

GBANKING_API int GBanking_ImportContext (AB_BANKING *ab, AB_IMEXPORTER_CONTEXT *ctx)
GBANKING_API void GBanking_SetImportContextFn (AB_BANKING *ab, GBANKING_IMPORTCONTEXT_FN cb)


Define Documentation

#define GBANKING_API

Definition at line 56 of file gbanking.h.

#define GBANKING_EXPORT

Definition at line 64 of file gbanking.h.

#define GBANKING_LOGDOMAIN   "gbanking"

Definition at line 25 of file gbanking.h.

#define GBANKING_NOEXPORT

Definition at line 65 of file gbanking.h.


Generated on Sun Apr 29 17:23:05 2007 for aqbanking by  doxygen 1.5.1