home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 Mobile
/
Chip_Mobile_2001.iso
/
palm
/
business
/
printcar
/
printcar.exe
/
src
/
Util
/
System.cc
< prev
next >
Wrap
C/C++ Source or Header
|
2000-06-05
|
447b
|
25 lines
//
// $Id: System.cc,v 1.1 2000/06/04 23:23:56 sergey Exp $
//
#include <Pilot.h>
namespace Util
{
void YieldControlToSystem(long time, bool enableUI)
{
EventType event;
EvtGetEvent(&event, time);
if (!SysHandleEvent(&event) && enableUI)
{
Word err;
if (!MenuHandleEvent(NULL, &event, &err))
FrmDispatchEvent(&event);
}
}
}