Functions

Select a Backend
[Platform-indepentent Dialogs]

Functions

AB_PROVIDERAB_SelectBackend (AB_BANKING *ab, const char *initial, const char *text)
GWEN_DIALOG * AB_SelectBackendDialog_new (AB_BANKING *ab, const char *text)
const char * AB_SelectBackendDialog_GetSelectedProvider (const GWEN_DIALOG *dlg)
void AB_SelectBackendDialog_SetSelectedProvider (GWEN_DIALOG *dlg, const char *s)

Function Documentation

AB_PROVIDER* AB_SelectBackend ( AB_BANKING ab,
const char *  initial,
const char *  text 
)

This function creates and executes a dialog which lets the user choose an online banking backend from the list of installed backends. This is a convenience function.

Parameters:
ab pointer to the AB_BANKING object used by the application
initial name of the initially selected backend
text text to be shown as introduction declaring what the backend is needed for (e.g. "Please select the backend to create a new user for").
Returns:
pointer to the selected backend (or NULL on error)
const char* AB_SelectBackendDialog_GetSelectedProvider ( const GWEN_DIALOG *  dlg  ) 
GWEN_DIALOG* AB_SelectBackendDialog_new ( AB_BANKING ab,
const char *  text 
)
void AB_SelectBackendDialog_SetSelectedProvider ( GWEN_DIALOG *  dlg,
const char *  s 
)