File: cppdialog_p.hpp

package info (click to toggle)
libgwenhywfar 5.14.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,300 kB
  • sloc: ansic: 135,622; cpp: 11,186; sh: 5,025; objc: 2,548; makefile: 2,357; xml: 1,882
file content (55 lines) | stat: -rw-r--r-- 1,661 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/***************************************************************************
    begin       : Fri Jan 22 2010
    copyright   : (C) 2010 by Martin Preuss
    email       : martin@libchipcard.de

 ***************************************************************************
 *          Please see toplevel file COPYING for license details           *
 ***************************************************************************/

#ifndef CPPDIALOG_P_HPP
#define CPPDIALOG_P_HPP


#include "cppdialog.hpp"


class CppDialogLinker {
  friend class CppDialog;

  static GWENHYWFAR_CB int SetIntProperty(GWEN_DIALOG *dlg,
                                          GWEN_WIDGET *w,
                                          GWEN_DIALOG_PROPERTY prop,
                                          int index,
                                          int value,
                                          int doSignal);

  static GWENHYWFAR_CB int GetIntProperty(GWEN_DIALOG *dlg,
                                          GWEN_WIDGET *w,
                                          GWEN_DIALOG_PROPERTY prop,
                                          int index,
                                          int defaultValue);

  static GWENHYWFAR_CB int SetCharProperty(GWEN_DIALOG *dlg,
      GWEN_WIDGET *w,
      GWEN_DIALOG_PROPERTY prop,
      int index,
      const char *value,
      int doSignal);

  static GWENHYWFAR_CB const char *GetCharProperty(GWEN_DIALOG *dlg,
      GWEN_WIDGET *w,
      GWEN_DIALOG_PROPERTY prop,
      int index,
      const char *defaultValue);

  static GWENHYWFAR_CB void freeData(void *bp, void *p);

};




#endif /* CPPDIALOG_P_HPP */