mirror of
https://github.com/ctm/executor.git
synced 2024-11-15 13:05:51 +00:00
31 lines
834 B
C
31 lines
834 B
C
#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__ */
|