gwenhywfar 5.12.0
fox16_gui_updater.cpp
Go to the documentation of this file.
1/***************************************************************************
2 begin : Fri Jan 22 2010
3 copyright : (C) 2010 by Martin Preuss
4 email : martin@libchipcard.de
5
6 ***************************************************************************
7 * Please see toplevel file COPYING for license details *
8 ***************************************************************************/
9
10
11#ifdef HAVE_CONFIG_H
12# include <config.h>
13#endif
14
15
17
18#include <gwenhywfar/debug.h>
19
20
21
22
23FXDEFMAP(FOX16_GuiUpdater) FOX16_GuiUpdaterMap[]= {
25};
26
27
28FXIMPLEMENT(FOX16_GuiUpdater, FXObject, FOX16_GuiUpdaterMap, ARRAYNUMBER(FOX16_GuiUpdaterMap))
29
30
31
33 :FXObject()
34 , m_guiIdleFlag(0) {
35}
36
37
38
41
42
43
44
46 FXApp *a=FXApp::instance();
47
48 a->addChore(this, ID_CHORE);
49 a->flush(true);
50
52 a->runUntil(m_guiIdleFlag);
53}
54
55
56
57long FOX16_GuiUpdater::onChore(FXObject*, FXSelector, void*) {
59 return 1;
60}
61
long onChore(FXObject *, FXSelector, void *)
FXIMPLEMENT(FOX16_GuiSortingList, FXFoldingList, FOX16_GuiSortingListMap, ARRAYNUMBER(FOX16_GuiSortingListMap)) FOX16_GuiSortingList
FXDEFMAP(FOX16_GuiUpdater) FOX16_GuiUpdaterMap[]