gwenhywfar
4.3.1
|
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 CPPWIDGET_P_HPP 00011 #define CPPWIDGET_P_HPP 00012 00013 00014 #include "cppwidget.hpp" 00015 00016 00017 class CppWidgetLinker { 00018 friend class CppWidget; 00019 00020 static GWENHYWFAR_CB int SetIntProperty(GWEN_WIDGET *w, 00021 GWEN_DIALOG_PROPERTY prop, 00022 int index, 00023 int value, 00024 int doSignal); 00025 00026 static GWENHYWFAR_CB int GetIntProperty(GWEN_WIDGET *w, 00027 GWEN_DIALOG_PROPERTY prop, 00028 int index, 00029 int defaultValue); 00030 00031 static GWENHYWFAR_CB int SetCharProperty(GWEN_WIDGET *w, 00032 GWEN_DIALOG_PROPERTY prop, 00033 int index, 00034 const char *value, 00035 int doSignal); 00036 00037 static GWENHYWFAR_CB const char *GetCharProperty(GWEN_WIDGET *w, 00038 GWEN_DIALOG_PROPERTY prop, 00039 int index, 00040 const char *defaultValue); 00041 00042 static GWENHYWFAR_CB int AddChildGuiWidget(GWEN_WIDGET *w, GWEN_WIDGET *wChild); 00043 00044 00045 static GWENHYWFAR_CB void freeData(void *bp, void *p); 00046 00047 }; 00048 00049 00050 00051 00052 #endif /* CPPDIALOG_P_HPP */ 00053 00054