From 34093a0d5ba4723917f4b1c5bcead3a5fbd94697 Mon Sep 17 00:00:00 2001 From: ehouse Date: Thu, 30 Sep 2004 01:06:37 +0000 Subject: [PATCH] handle SysNotifyRegister manually --- palm/funcfile.txt | 4 ++-- palm/pace_man.h | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/palm/funcfile.txt b/palm/funcfile.txt index 65b3543c8..b3eef109e 100644 --- a/palm/funcfile.txt +++ b/palm/funcfile.txt @@ -13,7 +13,8 @@ # FrmSetEventHandler # EvtAddEventToQueue # LstSetListChoices -# +# SysNotifyRegister +# ################################################################# CtlEnabled CtlGetLabel @@ -147,7 +148,6 @@ StrNCompare StrStr SysLibFind SysLibLoad -SysNotifyRegister SysNotifyUnregister SysRandom SysTicksPerSecond diff --git a/palm/pace_man.h b/palm/pace_man.h index ba6cee69d..6d56fc916 100644 --- a/palm/pace_man.h +++ b/palm/pace_man.h @@ -26,6 +26,7 @@ #include #include #include +#include #include "pnostate.h" #include "xptypes.h" @@ -43,7 +44,9 @@ extern void FrmSetEventHandler( FormType* formP, extern void EvtAddEventToQueue( const EventType* event ); extern void LstSetListChoices( ListType* listP, Char** itemsText, Int16 numItems ); - +extern Err SysNotifyRegister( UInt16 cardNo, LocalID dbID, + UInt32 notifyType, SysNotifyProcPtr callbackP, + Int8 priority, void* userDataP ); #if 0 # define FUNC_HEADER(n) XP_LOGF( #n " called" )