mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-25 18:30:23 -06:00
2ee5b202bf
Revert this commit when it's widely available in distributed packages.
65 lines
1.6 KiB
C
65 lines
1.6 KiB
C
/***************************************************************************
|
|
begin : Sun May 16 2010
|
|
copyright : (C) 2010 by Martin Preuss
|
|
email : martin@libchipcard.de
|
|
|
|
***************************************************************************
|
|
* Please see toplevel file COPYING for license details *
|
|
***************************************************************************/
|
|
|
|
#ifndef GTK3_GUI_P_H
|
|
#define GTK3_GUI_P_H
|
|
|
|
|
|
#include "gtk3_gui.h"
|
|
|
|
#include <gwenhywfar/gui_be.h>
|
|
|
|
|
|
|
|
typedef struct GTK3_GUI GTK3_GUI;
|
|
struct GTK3_GUI {
|
|
|
|
GWEN_GUI_EXEC_DIALOG_FN execDialogFn;
|
|
|
|
GWEN_GUI_OPEN_DIALOG_FN openDialogFn;
|
|
GWEN_GUI_CLOSE_DIALOG_FN closeDialogFn;
|
|
GWEN_GUI_RUN_DIALOG_FN runDialogFn;
|
|
GWEN_GUI_GET_FILENAME_FN getFileNameDialogFn;
|
|
};
|
|
|
|
static GWENHYWFAR_CB
|
|
void Gtk3_Gui_FreeData(void *bp, void *p);
|
|
|
|
|
|
static GWENHYWFAR_CB
|
|
int GTK3_Gui_ExecDialog(GWEN_GUI *gui,
|
|
GWEN_DIALOG *dlg,
|
|
uint32_t guiid);
|
|
|
|
|
|
static GWENHYWFAR_CB
|
|
int GTK3_Gui_OpenDialog(GWEN_GUI *gui,
|
|
GWEN_DIALOG *dlg,
|
|
uint32_t guiid);
|
|
|
|
static GWENHYWFAR_CB
|
|
int GTK3_Gui_CloseDialog(GWEN_GUI *gui, GWEN_DIALOG *dlg);
|
|
|
|
static GWENHYWFAR_CB
|
|
int GTK3_Gui_RunDialog(GWEN_GUI *gui, GWEN_DIALOG *dlg, int timeout);
|
|
|
|
static GWENHYWFAR_CB
|
|
int GTK3_Gui_GetFileName(GWEN_GUI *gui,
|
|
const char *caption,
|
|
GWEN_GUI_FILENAME_TYPE fnt,
|
|
uint32_t flags,
|
|
const char *patterns,
|
|
GWEN_BUFFER *pathBuffer,
|
|
uint32_t guiid);
|
|
|
|
|
|
#endif
|
|
|
|
|