| 1 | /* |
| 2 | * defHandler.h |
| 3 | * |
| 4 | * [Generated from defHandler, 25 September 1996] |
| 5 | */ |
| 6 | |
| 7 | #if !defined(__CC_NORCROFT) || !defined(__arm) |
| 8 | #error You must use the Norcroft ARM Compiler for Sapphire programs |
| 9 | #endif |
| 10 | |
| 11 | #pragma include_only_once |
| 12 | #pragma force_top_level |
| 13 | |
| 14 | #ifndef __defHandler_h |
| 15 | #define __defHandler_h |
| 16 | |
| 17 | #ifndef __sapphire_h |
| 18 | #include "sapphire.h" |
| 19 | #endif |
| 20 | |
| 21 | /*----- Overview ----------------------------------------------------------* |
| 22 | * |
| 23 | * Functions provided: |
| 24 | * |
| 25 | * defHandler |
| 26 | */ |
| 27 | |
| 28 | /* --- defHandler --- * |
| 29 | * |
| 30 | * On entry: R0 == Wimp_Poll reason code |
| 31 | * R1 == pointer to Wimp_Poll event block |
| 32 | * |
| 33 | * On exit: CS if we handled the event, CC otherwise. |
| 34 | * |
| 35 | * Use: Handles events no-one else is interested in. It's basically |
| 36 | * a catch-all for things that probably should have been |
| 37 | * handled elsewhere, and does some useful tidying up |
| 38 | * operations (like calling Wimp_ProcessKey on key events). |
| 39 | */ |
| 40 | |
| 41 | extern routine defHandler; |
| 42 | |
| 43 | /*----- That's all, folks -------------------------------------------------*/ |
| 44 | |
| 45 | #endif |