gwenhywfar 4.0.3

cpp/cppdialog_p.hpp

Go to the documentation of this file.
00001 /***************************************************************************
00002     begin       : Fri Jan 22 2010
00003     copyright   : (C) 2010 by Martin Preuss
00004     email       : martin@libchipcard.de
00005 
00006  ***************************************************************************
00007  *          Please see toplevel file COPYING for license details           *
00008  ***************************************************************************/
00009 
00010 #ifndef CPPDIALOG_P_HPP
00011 #define CPPDIALOG_P_HPP
00012 
00013 
00014 #include "cppdialog.hpp"
00015 
00016 
00017 class CppDialogLinker {
00018   friend class CppDialog;
00019 
00020   static GWENHYWFAR_CB int SetIntProperty(GWEN_DIALOG *dlg,
00021                                           GWEN_WIDGET *w,
00022                                           GWEN_DIALOG_PROPERTY prop,
00023                                           int index,
00024                                           int value,
00025                                           int doSignal);
00026 
00027   static GWENHYWFAR_CB int GetIntProperty(GWEN_DIALOG *dlg,
00028                                           GWEN_WIDGET *w,
00029                                           GWEN_DIALOG_PROPERTY prop,
00030                                           int index,
00031                                           int defaultValue);
00032 
00033   static GWENHYWFAR_CB int SetCharProperty(GWEN_DIALOG *dlg,
00034                                            GWEN_WIDGET *w,
00035                                            GWEN_DIALOG_PROPERTY prop,
00036                                            int index,
00037                                            const char *value,
00038                                            int doSignal);
00039 
00040   static GWENHYWFAR_CB const char *GetCharProperty(GWEN_DIALOG *dlg,
00041                                                    GWEN_WIDGET *w,
00042                                                    GWEN_DIALOG_PROPERTY prop,
00043                                                    int index,
00044                                                    const char *defaultValue);
00045 
00046   static GWENHYWFAR_CB void freeData(void *bp, void *p);
00047 
00048 };
00049 
00050 
00051 
00052 
00053 #endif /* CPPDIALOG_P_HPP */
00054 
00055