gwenhywfar  5.10.1
Functions
gui_virtual.c File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int GWEN_Gui_CloseDialog (GWEN_DIALOG *dlg)
 
int GWEN_Gui_ExecDialog (GWEN_DIALOG *dlg, uint32_t guiid)
 
int GWEN_Gui_GetFileName (const char *caption, GWEN_GUI_FILENAME_TYPE fnt, uint32_t flags, const char *patterns, GWEN_BUFFER *pathBuffer, uint32_t guiid)
 
int GWEN_Gui_GetSyncIo (const char *url, const char *defaultProto, int defaultPort, GWEN_SYNCIO **pSio)
 
void GWEN_Gui_HideBox (uint32_t id)
 
int GWEN_Gui_InputBox (uint32_t flags, const char *title, const char *text, char *buffer, int minLen, int maxLen, uint32_t guiid)
 
int GWEN_Gui_KeyDataFromText_OpenSSL (const char *text, unsigned char *buffer, unsigned int bufLength)
 
int GWEN_Gui_LogHook (const char *logDomain, GWEN_LOGGER_LEVEL priority, const char *s)
 
int GWEN_Gui_MessageBox (uint32_t flags, const char *title, const char *text, const char *b1, const char *b2, const char *b3, uint32_t guiid)
 
int GWEN_Gui_OpenDialog (GWEN_DIALOG *dlg, uint32_t guiid)
 
int GWEN_Gui_Print (const char *docTitle, const char *docType, const char *descr, const char *text, uint32_t guiid)
 
int GWEN_Gui_ProgressAdvance (uint32_t id, uint32_t progress)
 
int GWEN_Gui_ProgressEnd (uint32_t id)
 
int GWEN_Gui_ProgressLog (uint32_t id, GWEN_LOGGER_LEVEL level, const char *text)
 
int GWEN_Gui_ProgressLog2 (uint32_t id, GWEN_LOGGER_LEVEL level, const char *fmt,...)
 
int GWEN_Gui_ProgressSetTotal (uint32_t id, uint64_t total)
 
uint32_t GWEN_Gui_ProgressStart (uint32_t progressFlags, const char *title, const char *text, uint64_t total, uint32_t guiid)
 
int GWEN_Gui_ReadDialogPrefs (const char *groupName, const char *altName, GWEN_DB_NODE **pDb)
 
int GWEN_Gui_RunDialog (GWEN_DIALOG *dlg, int untilEnd)
 
GWEN_GUI_CHECKCERT_FN GWEN_Gui_SetCheckCertFn (GWEN_GUI *gui, GWEN_GUI_CHECKCERT_FN f)
 
GWEN_GUI_CLOSE_DIALOG_FN GWEN_Gui_SetCloseDialogFn (GWEN_GUI *gui, GWEN_GUI_CLOSE_DIALOG_FN f)
 
GWEN_GUI_EXEC_DIALOG_FN GWEN_Gui_SetExecDialogFn (GWEN_GUI *gui, GWEN_GUI_EXEC_DIALOG_FN f)
 
GWEN_GUI_GET_FILENAME_FN GWEN_Gui_SetGetFileNameFn (GWEN_GUI *gui, GWEN_GUI_GET_FILENAME_FN f)
 
GWEN_GUI_GETPASSWORD_FN GWEN_Gui_SetGetPasswordFn (GWEN_GUI *gui, GWEN_GUI_GETPASSWORD_FN f)
 
GWEN_GUI_GETSYNCIO_FN GWEN_Gui_SetGetSyncIoFn (GWEN_GUI *gui, GWEN_GUI_GETSYNCIO_FN f)
 
GWEN_GUI_HIDEBOX_FN GWEN_Gui_SetHideBoxFn (GWEN_GUI *gui, GWEN_GUI_HIDEBOX_FN f)
 
GWEN_GUI_INPUTBOX_FN GWEN_Gui_SetInputBoxFn (GWEN_GUI *gui, GWEN_GUI_INPUTBOX_FN f)
 
GWEN_GUI_KEYDATAFROMTEXT_OPENSSL_FN GWEN_Gui_SetKeyDataFromTextOpenSslFn (GWEN_GUI *gui, GWEN_GUI_KEYDATAFROMTEXT_OPENSSL_FN f)
 
GWEN_GUI_LOG_HOOK_FN GWEN_Gui_SetLogHookFn (GWEN_GUI *gui, GWEN_GUI_LOG_HOOK_FN f)
 
GWEN_GUI_MESSAGEBOX_FN GWEN_Gui_SetMessageBoxFn (GWEN_GUI *gui, GWEN_GUI_MESSAGEBOX_FN f)
 
GWEN_GUI_OPEN_DIALOG_FN GWEN_Gui_SetOpenDialogFn (GWEN_GUI *gui, GWEN_GUI_OPEN_DIALOG_FN f)
 
GWEN_GUI_PRINT_FN GWEN_Gui_SetPrintFn (GWEN_GUI *gui, GWEN_GUI_PRINT_FN f)
 
GWEN_GUI_PROGRESS_ADVANCE_FN GWEN_Gui_SetProgressAdvanceFn (GWEN_GUI *gui, GWEN_GUI_PROGRESS_ADVANCE_FN f)
 
GWEN_GUI_PROGRESS_END_FN GWEN_Gui_SetProgressEndFn (GWEN_GUI *gui, GWEN_GUI_PROGRESS_END_FN f)
 
GWEN_GUI_PROGRESS_LOG_FN GWEN_Gui_SetProgressLogFn (GWEN_GUI *gui, GWEN_GUI_PROGRESS_LOG_FN f)
 
GWEN_GUI_PROGRESS_SETTOTAL_FN GWEN_Gui_SetProgressSetTotalFn (GWEN_GUI *gui, GWEN_GUI_PROGRESS_SETTOTAL_FN f)
 
GWEN_GUI_PROGRESS_START_FN GWEN_Gui_SetProgressStartFn (GWEN_GUI *gui, GWEN_GUI_PROGRESS_START_FN f)
 
GWEN_GUI_READ_DIALOG_PREFS_FN GWEN_Gui_SetReadDialogPrefsFn (GWEN_GUI *gui, GWEN_GUI_READ_DIALOG_PREFS_FN f)
 
GWEN_GUI_RUN_DIALOG_FN GWEN_Gui_SetRunDialogFn (GWEN_GUI *gui, GWEN_GUI_RUN_DIALOG_FN f)
 
GWEN_GUI_SETPASSWORDSTATUS_FN GWEN_Gui_SetSetPasswordStatusFn (GWEN_GUI *gui, GWEN_GUI_SETPASSWORDSTATUS_FN f)
 
GWEN_GUI_SHOWBOX_FN GWEN_Gui_SetShowBoxFn (GWEN_GUI *gui, GWEN_GUI_SHOWBOX_FN f)
 
GWEN_GUI_WAITFORSOCKETS_FN GWEN_Gui_SetWaitForSocketsFn (GWEN_GUI *gui, GWEN_GUI_WAITFORSOCKETS_FN f)
 
GWEN_GUI_WRITE_DIALOG_PREFS_FN GWEN_Gui_SetWriteDialogPrefsFn (GWEN_GUI *gui, GWEN_GUI_WRITE_DIALOG_PREFS_FN f)
 
uint32_t GWEN_Gui_ShowBox (uint32_t flags, const char *title, const char *text, uint32_t guiid)
 
int GWEN_Gui_WaitForSockets (GWEN_SOCKET_LIST2 *readSockets, GWEN_SOCKET_LIST2 *writeSockets, uint32_t guiid, int msecs)
 
int GWEN_Gui_WriteDialogPrefs (const char *groupName, GWEN_DB_NODE *db)
 

Function Documentation

◆ GWEN_Gui_ReadDialogPrefs()

int GWEN_Gui_ReadDialogPrefs ( const char *  groupName,
const char *  altName,
GWEN_DB_NODE **  pDb 
)

Let the application read a GWEN_DB. This function is used by the platform-independent dialogs to read GUI settings (e.g. width, height etc).

This is implemented by AB_Gui, an extension of the GWEN_GUI in AqBanking using AqBanking's shared configuration module to load/save dialog settings.

Returns
0 on success, error code on error
Parameters
groupNamename of the db to load
altNamealternative name in case there is no group of the name groupName
pDbpointer to receive the GWEN_DB read

Definition at line 625 of file gui_virtual.c.

References GWEN_ERROR_NOT_IMPLEMENTED, and GWEN_Gui_GetGui().

Referenced by GWEN_Dialog_new().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_Gui_SetCheckCertFn()

GWEN_GUI_CHECKCERT_FN GWEN_Gui_SetCheckCertFn ( GWEN_GUI gui,
GWEN_GUI_CHECKCERT_FN  f 
)

Definition at line 208 of file gui_virtual.c.

Referenced by CppGui::CppGui(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetCloseDialogFn()

GWEN_GUI_CLOSE_DIALOG_FN GWEN_Gui_SetCloseDialogFn ( GWEN_GUI gui,
GWEN_GUI_CLOSE_DIALOG_FN  f 
)

Definition at line 247 of file gui_virtual.c.

Referenced by Cocoa_Gui_new(), CppGui::CppGui(), Gtk2_Gui_new(), Gtk3_Gui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetExecDialogFn()

GWEN_GUI_EXEC_DIALOG_FN GWEN_Gui_SetExecDialogFn ( GWEN_GUI gui,
GWEN_GUI_EXEC_DIALOG_FN  f 
)

Definition at line 221 of file gui_virtual.c.

Referenced by Cocoa_Gui_new(), CppGui::CppGui(), Gtk2_Gui_new(), Gtk3_Gui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetGetFileNameFn()

GWEN_GUI_GET_FILENAME_FN GWEN_Gui_SetGetFileNameFn ( GWEN_GUI gui,
GWEN_GUI_GET_FILENAME_FN  f 
)

Definition at line 299 of file gui_virtual.c.

Referenced by Cocoa_Gui_new(), CppGui::CppGui(), Gtk2_Gui_new(), Gtk3_Gui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetGetPasswordFn()

GWEN_GUI_GETPASSWORD_FN GWEN_Gui_SetGetPasswordFn ( GWEN_GUI gui,
GWEN_GUI_GETPASSWORD_FN  f 
)

Definition at line 154 of file gui_virtual.c.

Referenced by CppGui::CppGui(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetGetSyncIoFn()

GWEN_GUI_GETSYNCIO_FN GWEN_Gui_SetGetSyncIoFn ( GWEN_GUI gui,
GWEN_GUI_GETSYNCIO_FN  f 
)

Definition at line 312 of file gui_virtual.c.

Referenced by GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetHideBoxFn()

GWEN_GUI_HIDEBOX_FN GWEN_Gui_SetHideBoxFn ( GWEN_GUI gui,
GWEN_GUI_HIDEBOX_FN  f 
)

Definition at line 68 of file gui_virtual.c.

Referenced by GWEN_Gui_CGui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetInputBoxFn()

GWEN_GUI_INPUTBOX_FN GWEN_Gui_SetInputBoxFn ( GWEN_GUI gui,
GWEN_GUI_INPUTBOX_FN  f 
)

Definition at line 42 of file gui_virtual.c.

Referenced by GWEN_Gui_CGui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetKeyDataFromTextOpenSslFn()

GWEN_GUI_KEYDATAFROMTEXT_OPENSSL_FN GWEN_Gui_SetKeyDataFromTextOpenSslFn ( GWEN_GUI gui,
GWEN_GUI_KEYDATAFROMTEXT_OPENSSL_FN  f 
)

Definition at line 325 of file gui_virtual.c.

Referenced by GWEN_NoGui_new(), and main().

Here is the caller graph for this function:

◆ GWEN_Gui_SetLogHookFn()

GWEN_GUI_LOG_HOOK_FN GWEN_Gui_SetLogHookFn ( GWEN_GUI gui,
GWEN_GUI_LOG_HOOK_FN  f 
)

Definition at line 180 of file gui_virtual.c.

Referenced by CppGui::CppGui(), GWEN_NoGui_new(), TestGui_Extend(), and TestGui_Unextend().

Here is the caller graph for this function:

◆ GWEN_Gui_SetMessageBoxFn()

GWEN_GUI_MESSAGEBOX_FN GWEN_Gui_SetMessageBoxFn ( GWEN_GUI gui,
GWEN_GUI_MESSAGEBOX_FN  f 
)

Definition at line 29 of file gui_virtual.c.

Referenced by GWEN_Gui_CGui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetOpenDialogFn()

GWEN_GUI_OPEN_DIALOG_FN GWEN_Gui_SetOpenDialogFn ( GWEN_GUI gui,
GWEN_GUI_OPEN_DIALOG_FN  f 
)

Definition at line 234 of file gui_virtual.c.

Referenced by Cocoa_Gui_new(), CppGui::CppGui(), Gtk2_Gui_new(), Gtk3_Gui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetPrintFn()

GWEN_GUI_PRINT_FN GWEN_Gui_SetPrintFn ( GWEN_GUI gui,
GWEN_GUI_PRINT_FN  f 
)

Definition at line 141 of file gui_virtual.c.

Referenced by CppGui::CppGui(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetProgressAdvanceFn()

GWEN_GUI_PROGRESS_ADVANCE_FN GWEN_Gui_SetProgressAdvanceFn ( GWEN_GUI gui,
GWEN_GUI_PROGRESS_ADVANCE_FN  f 
)

Definition at line 93 of file gui_virtual.c.

Referenced by GWEN_Gui_CGui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetProgressEndFn()

GWEN_GUI_PROGRESS_END_FN GWEN_Gui_SetProgressEndFn ( GWEN_GUI gui,
GWEN_GUI_PROGRESS_END_FN  f 
)

Definition at line 129 of file gui_virtual.c.

Referenced by GWEN_Gui_CGui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetProgressLogFn()

GWEN_GUI_PROGRESS_LOG_FN GWEN_Gui_SetProgressLogFn ( GWEN_GUI gui,
GWEN_GUI_PROGRESS_LOG_FN  f 
)

Definition at line 117 of file gui_virtual.c.

Referenced by GWEN_Gui_CGui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetProgressSetTotalFn()

GWEN_GUI_PROGRESS_SETTOTAL_FN GWEN_Gui_SetProgressSetTotalFn ( GWEN_GUI gui,
GWEN_GUI_PROGRESS_SETTOTAL_FN  f 
)

Definition at line 105 of file gui_virtual.c.

Referenced by GWEN_Gui_CGui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetProgressStartFn()

GWEN_GUI_PROGRESS_START_FN GWEN_Gui_SetProgressStartFn ( GWEN_GUI gui,
GWEN_GUI_PROGRESS_START_FN  f 
)

Definition at line 81 of file gui_virtual.c.

Referenced by GWEN_Gui_CGui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetReadDialogPrefsFn()

GWEN_GUI_READ_DIALOG_PREFS_FN GWEN_Gui_SetReadDialogPrefsFn ( GWEN_GUI gui,
GWEN_GUI_READ_DIALOG_PREFS_FN  f 
)

Definition at line 273 of file gui_virtual.c.

Referenced by GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetRunDialogFn()

GWEN_GUI_RUN_DIALOG_FN GWEN_Gui_SetRunDialogFn ( GWEN_GUI gui,
GWEN_GUI_RUN_DIALOG_FN  f 
)

Definition at line 260 of file gui_virtual.c.

Referenced by Cocoa_Gui_new(), CppGui::CppGui(), Gtk2_Gui_new(), Gtk3_Gui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetSetPasswordStatusFn()

GWEN_GUI_SETPASSWORDSTATUS_FN GWEN_Gui_SetSetPasswordStatusFn ( GWEN_GUI gui,
GWEN_GUI_SETPASSWORDSTATUS_FN  f 
)

Definition at line 167 of file gui_virtual.c.

Referenced by CppGui::CppGui(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetShowBoxFn()

GWEN_GUI_SHOWBOX_FN GWEN_Gui_SetShowBoxFn ( GWEN_GUI gui,
GWEN_GUI_SHOWBOX_FN  f 
)

Definition at line 55 of file gui_virtual.c.

Referenced by GWEN_Gui_CGui_new(), and GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetWaitForSocketsFn()

GWEN_GUI_WAITFORSOCKETS_FN GWEN_Gui_SetWaitForSocketsFn ( GWEN_GUI gui,
GWEN_GUI_WAITFORSOCKETS_FN  f 
)

Definition at line 194 of file gui_virtual.c.

Referenced by GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_SetWriteDialogPrefsFn()

GWEN_GUI_WRITE_DIALOG_PREFS_FN GWEN_Gui_SetWriteDialogPrefsFn ( GWEN_GUI gui,
GWEN_GUI_WRITE_DIALOG_PREFS_FN  f 
)

Definition at line 286 of file gui_virtual.c.

Referenced by GWEN_NoGui_new().

Here is the caller graph for this function:

◆ GWEN_Gui_WriteDialogPrefs()

int GWEN_Gui_WriteDialogPrefs ( const char *  groupName,
GWEN_DB_NODE db 
)

Let the application write a GWEN_DB. This function is used by the platform-independent dialogs to write GUI settings (e.g. width, height etc).

Returns
0 on success, error code on error
Parameters
groupNamename of the db to save
pDbpointer to receive the GWEN_DB read

Definition at line 639 of file gui_virtual.c.

References GWEN_ERROR_NOT_IMPLEMENTED, and GWEN_Gui_GetGui().

Referenced by GWEN_Dialog_free().

Here is the call graph for this function:
Here is the caller graph for this function: