1 /*************************************************************************** 2 begin : Fri Jan 22 2010 3 copyright : (C) 2010 by Martin Preuss 4 email : martin@libchipcard.de 5 6 *************************************************************************** 7 * Please see toplevel file COPYING for license details * 8 ***************************************************************************/ 9 10 #ifndef CPPDIALOG_P_HPP 11 #define CPPDIALOG_P_HPP 12 13 14 #include "cppdialog.hpp" 15 16 17 class CppDialogLinker { 18 friend class CppDialog; 19 20 static GWENHYWFAR_CB int SetIntProperty(GWEN_DIALOG *dlg, 21 GWEN_WIDGET *w, 22 GWEN_DIALOG_PROPERTY prop, 23 int index, 24 int value, 25 int doSignal); 26 27 static GWENHYWFAR_CB int GetIntProperty(GWEN_DIALOG *dlg, 28 GWEN_WIDGET *w, 29 GWEN_DIALOG_PROPERTY prop, 30 int index, 31 int defaultValue); 32 33 static GWENHYWFAR_CB int SetCharProperty(GWEN_DIALOG *dlg, 34 GWEN_WIDGET *w, 35 GWEN_DIALOG_PROPERTY prop, 36 int index, 37 const char *value, 38 int doSignal); 39 40 static GWENHYWFAR_CB const char *GetCharProperty(GWEN_DIALOG *dlg, 41 GWEN_WIDGET *w, 42 GWEN_DIALOG_PROPERTY prop, 43 int index, 44 const char *defaultValue); 45 46 static GWENHYWFAR_CB void freeData(void *bp, void *p); 47 48 }; 49 50 51 52 53 #endif /* CPPDIALOG_P_HPP */ 54 55 56