Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199207.adf » !AWJULY92 » !AWJUL92/Goodies/work/h/event
!AWJUL92/Goodies/work/h/event
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199207.adf » !AWJULY92 |
Filename: | !AWJUL92/Goodies/work/h/event |
Read OK: | ✔ |
File size: | 03B7 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
/*********************************************************************/ /* */ /* Wimp Routine Library. Header for access to Events. */ /* */ /* Archimedes World 1992 */ /* */ /* Written By John Skingley. */ /* */ /*********************************************************************/ #ifndef _event #define _event /********* Event handler function types. *********/ typedef void (*quitproc)( void ); /* Procedure for handling quit request. */ /********* Event functions . *********/ extern void EventProcess( void ); extern void RegisterQuitProc( quitproc proc ); #endif
00000000 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |/***************| 00000010 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000040 2a 2a 2a 2a 2a 2a 2f 0a 2f 2a 20 20 20 20 20 20 |******/./* | 00000050 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000080 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 2f 0a | */.| 00000090 2f 2a 20 20 57 69 6d 70 20 52 6f 75 74 69 6e 65 |/* Wimp Routine| 000000a0 20 4c 69 62 72 61 72 79 2e 20 20 20 20 20 20 20 | Library. | 000000b0 20 20 48 65 61 64 65 72 20 66 6f 72 20 61 63 63 | Header for acc| 000000c0 65 73 73 20 74 6f 20 45 76 65 6e 74 73 2e 20 20 |ess to Events. | 000000d0 20 20 20 20 20 2a 2f 0a 2f 2a 20 20 20 20 20 20 | */./* | 000000e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000110 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 2f 0a | */.| 00000120 2f 2a 20 20 41 72 63 68 69 6d 65 64 65 73 20 57 |/* Archimedes W| 00000130 6f 72 6c 64 20 31 39 39 32 20 20 20 20 20 20 20 |orld 1992 | 00000140 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000160 20 20 20 20 20 2a 2f 0a 2f 2a 20 20 20 20 20 20 | */./* | 00000170 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 000001a0 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 2f 0a | */.| 000001b0 2f 2a 20 20 57 72 69 74 74 65 6e 20 42 79 20 4a |/* Written By J| 000001c0 6f 68 6e 20 53 6b 69 6e 67 6c 65 79 2e 20 20 20 |ohn Skingley. | 000001d0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 000001f0 20 20 20 20 20 2a 2f 0a 2f 2a 20 20 20 20 20 20 | */./* | 00000200 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000230 20 20 20 20 20 20 20 20 20 20 20 20 20 2a 2f 0a | */.| 00000240 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |/***************| 00000250 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000280 2a 2a 2a 2a 2a 2a 2f 0a 0a 0a 23 69 66 6e 64 65 |******/...#ifnde| 00000290 66 20 5f 65 76 65 6e 74 0a 23 64 65 66 69 6e 65 |f _event.#define| 000002a0 20 5f 65 76 65 6e 74 0a 0a 2f 2a 2a 2a 2a 2a 2a | _event../******| 000002b0 2a 2a 2a 20 20 45 76 65 6e 74 20 68 61 6e 64 6c |*** Event handl| 000002c0 65 72 20 66 75 6e 63 74 69 6f 6e 20 74 79 70 65 |er function type| 000002d0 73 2e 20 2a 2a 2a 2a 2a 2a 2a 2a 2a 2f 0a 0a 74 |s. *********/..t| 000002e0 79 70 65 64 65 66 20 76 6f 69 64 20 28 2a 71 75 |ypedef void (*qu| 000002f0 69 74 70 72 6f 63 29 28 20 76 6f 69 64 20 29 3b |itproc)( void );| 00000300 20 20 20 20 2f 2a 20 50 72 6f 63 65 64 75 72 65 | /* Procedure| 00000310 20 66 6f 72 20 68 61 6e 64 6c 69 6e 67 20 71 75 | for handling qu| 00000320 69 74 20 72 65 71 75 65 73 74 2e 20 2a 2f 0a 0a |it request. */..| 00000330 0a 2f 2a 2a 2a 2a 2a 2a 2a 2a 2a 20 20 45 76 65 |./********* Eve| 00000340 6e 74 20 66 75 6e 63 74 69 6f 6e 73 20 2e 20 2a |nt functions . *| 00000350 2a 2a 2a 2a 2a 2a 2a 2a 2f 0a 0a 65 78 74 65 72 |********/..exter| 00000360 6e 20 76 6f 69 64 20 45 76 65 6e 74 50 72 6f 63 |n void EventProc| 00000370 65 73 73 28 20 76 6f 69 64 20 29 3b 0a 65 78 74 |ess( void );.ext| 00000380 65 72 6e 20 76 6f 69 64 20 52 65 67 69 73 74 65 |ern void Registe| 00000390 72 51 75 69 74 50 72 6f 63 28 20 71 75 69 74 70 |rQuitProc( quitp| 000003a0 72 6f 63 20 70 72 6f 63 20 29 3b 0a 0a 0a 0a 23 |roc proc );....#| 000003b0 65 6e 64 69 66 0a 0a |endif..| 000003b7