1 //******************************************************************************
2 //  Copyright (c) 2005-2013 by Jan Van hijfte
3 //
4 //  See the included file COPYING.TXT for details about the copyright.
5 //
6 //  This program is distributed in the hope that it will be useful,
7 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 //******************************************************************************
10 
11 
12 #include "qlcdnumber_hook_c.h"
13 
QLCDNumber_hook_Create(QObjectH handle)14 QLCDNumber_hookH QLCDNumber_hook_Create(QObjectH handle)
15 {
16 	return (QLCDNumber_hookH) new QLCDNumber_hook((QObject*)handle);
17 }
18 
QLCDNumber_hook_Destroy(QLCDNumber_hookH handle)19 void QLCDNumber_hook_Destroy(QLCDNumber_hookH handle)
20 {
21 	delete (QLCDNumber_hook *)handle;
22 }
23 
QLCDNumber_hook_hook_overflow(QLCDNumber_hookH handle,QHookH hook)24 void QLCDNumber_hook_hook_overflow(QLCDNumber_hookH handle, QHookH hook)
25 {
26 	((QLCDNumber_hook *)handle)->hook_overflow(hook);
27 }
28 
29