mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-18 08:51:45 -08:00
New unit
Interface for event processing routines Copied from Perforce Change: 20732 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
bd2757ca57
commit
dc4840f3d0
1 changed files with 43 additions and 0 deletions
43
mps/src/eventpro.h
Normal file
43
mps/src/eventpro.h
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/* impl.h.eventpro: Interface for event processing routines
|
||||
* Copyright (C) 1999 Harlequin Group plc. All rights reserved.
|
||||
*
|
||||
* $HopeName$
|
||||
*/
|
||||
|
||||
#ifndef eventpro_h
|
||||
#define eventpro_h
|
||||
|
||||
#include "config.h"
|
||||
/* override variety setting for EVENT */
|
||||
#define EVENT
|
||||
|
||||
#include "eventcom.h"
|
||||
#include "mpmtypes.h"
|
||||
#include <stdio.h>
|
||||
#include "mpstd.h"
|
||||
#ifdef MPS_OS_SU
|
||||
#include "ossu.h"
|
||||
#endif
|
||||
|
||||
|
||||
typedef EventUnion *Event;
|
||||
|
||||
|
||||
extern EventCode EventName2Code(char *name);
|
||||
extern char *EventCode2Name(EventCode code);
|
||||
extern EventCode EventGetCode(Event event);
|
||||
extern char *EventCode2Format(EventCode code);
|
||||
|
||||
extern Word AddrLabel(Addr addr);
|
||||
extern char *LabelText(Word label);
|
||||
|
||||
extern Res EventRead(Event *eventOut, FILE *input);
|
||||
extern void EventDestroy(Event event);
|
||||
|
||||
extern void EventRecord(Event event, Word etime);
|
||||
|
||||
extern void EventProcInit(Bool partial);
|
||||
extern void EventProcFinish(void);
|
||||
|
||||
|
||||
#endif /* eventpro_h */
|
||||
Loading…
Add table
Add a link
Reference in a new issue