executor/src/include/NotifyMgr.h

31 lines
834 B
C
Raw Normal View History

#if !defined (__NOTIFYMGR__)
#define __NOTIFYMGR__
/*
* Copyright 1993 by Abacus Research and Development, Inc.
* All rights reserved.
*
* $Id: NotifyMgr.h 63 2004-12-24 18:19:43Z ctm $
*/
typedef struct {
QElemPtr qLink PACKED_P;
INTEGER qType PACKED;
INTEGER nmFlags PACKED;
LONGINT nmPrivate PACKED;
INTEGER nmReserved PACKED;
INTEGER nmMark PACKED;
Handle nmIcon PACKED_P;
Handle nmSound PACKED_P;
StringPtr nmStr PACKED_P;
ProcPtr nmResp PACKED_P; /* pascal void myresponse(NMRecPtr foo) */
/* value of -1 means remove queue element
automatically */
LONGINT nmRefCon PACKED;
} NMRec, *NMRecPtr;
extern trap OSErrRET NMInstall( NMRecPtr nmptr );
extern trap OSErrRET NMRemove( NMRecPtr nmptr );
#endif /* __NOTIFYMGR__ */