File: cppwidget_p.hpp

package info (click to toggle)
libgwenhywfar 4.12.0beta-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 12,004 kB
  • ctags: 7,553
  • sloc: ansic: 98,857; sh: 11,641; cpp: 8,598; objc: 2,525; makefile: 1,710; xml: 876
file content (54 lines) | stat: -rw-r--r-- 1,350 bytes parent folder | download | duplicates (4)
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
/***************************************************************************
    begin       : Fri Jan 22 2010
    copyright   : (C) 2010 by Martin Preuss
    email       : martin@libchipcard.de

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

#ifndef CPPWIDGET_P_HPP
#define CPPWIDGET_P_HPP


#include "cppwidget.hpp"


class CppWidgetLinker {
  friend class CppWidget;

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

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

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

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

  static GWENHYWFAR_CB int AddChildGuiWidget(GWEN_WIDGET *w, GWEN_WIDGET *wChild);


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

};




#endif /* CPPDIALOG_P_HPP */