Initial revision
This commit is contained in:
55
event.h
Normal file
55
event.h
Normal file
@ -0,0 +1,55 @@
|
||||
|
||||
#line 77 "event.w"
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
E V E N T
|
||||
|
||||
This header file lists the event codes known to SICS. These event code
|
||||
are used in callback functions. Where apropriate, the event data
|
||||
structures are also defined in this file.
|
||||
|
||||
Mark Koennecke, 1997
|
||||
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifndef SICSEVENT
|
||||
#define SICSEVENT
|
||||
|
||||
#line 13 "event.w"
|
||||
|
||||
int Text2Event(char *pText);
|
||||
|
||||
#line 90 "event.w"
|
||||
|
||||
|
||||
|
||||
#line 20 "event.w"
|
||||
|
||||
#define VALUECHANGE 0
|
||||
#define MOTDRIVE 1
|
||||
#define MONITOR 2
|
||||
#define ROTSTART 3
|
||||
#define ROTMOVE 4
|
||||
#define SCANEND 5
|
||||
#define SCANSTART 6
|
||||
#define SCANPOINT 7
|
||||
#define WLCHANGE 8
|
||||
#define REFLECTIONDONE 9
|
||||
#define COUNTSTART 10
|
||||
#define COUNTEND 11
|
||||
#define FILELOADED 12
|
||||
|
||||
#line 92 "event.w"
|
||||
|
||||
|
||||
/*--------------- Signals for the Signalfunction of each task ------------*/
|
||||
|
||||
#line 62 "event.w"
|
||||
|
||||
#define SICSINT 300
|
||||
#define SICSBROADCAST 301
|
||||
#define TOKENGRAB 302
|
||||
#define TOKENRELEASE 303
|
||||
|
||||
#line 95 "event.w"
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user