1 #ifndef CLIB_LOWLEVEL_PROTOS_H
    2 #define CLIB_LOWLEVEL_PROTOS_H
    3 
    4 /*
    5 	lowlevel.library C prototypes
    6 
    7 	Copyright © 2002 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 #ifndef EXEC_TYPES_H
   11 # include <exec/types.h>
   12 #endif
   13 
   14 #ifndef EXEC_INTERRUPTS_H
   15 # include <exec/interrupts.h>
   16 #endif
   17 
   18 #ifndef UTILITY_TAGITEM_H
   19 # include <utility/tagitem.h>
   20 #endif
   21 
   22 #ifndef DEVICES_TIMER_H
   23 # include <devices/timer.h>
   24 #endif
   25 
   26 #ifndef LIBRARIES_LOWLEVEL_H
   27 # include <libraries/lowlevel.h>
   28 #endif
   29 
   30 
   31 #ifdef __cplusplus
   32 extern "C" {
   33 #endif /* __cplusplus */
   34 
   35 ULONG ReadJoyPort( ULONG port );
   36 
   37 UBYTE GetLanguageSelection( VOID );
   38 
   39 ULONG GetKey( VOID );
   40 VOID QueryKeys( struct KeyQuery *queryArray, ULONG arraySize );
   41 APTR AddKBInt( CONST APTR intRoutine, CONST APTR intData );
   42 VOID RemKBInt( APTR intHandle );
   43 
   44 ULONG SystemControlA( CONST struct TagItem *tagList );
   45 #if !defined(USE_INLINE_STDARG)
   46 ULONG SystemControl( Tag firstTag, ... );
   47 #endif
   48 
   49 APTR AddTimerInt( CONST APTR intRoutine, CONST APTR intData );
   50 VOID RemTimerInt( APTR intHandle );
   51 VOID StopTimerInt( APTR intHandle );
   52 VOID StartTimerInt( APTR intHandle, ULONG timeInterval, LONG continuous );
   53 ULONG ElapsedTime( struct EClockVal *context );
   54 
   55 APTR AddVBlankInt( CONST APTR intRoutine, CONST APTR intData );
   56 VOID RemVBlankInt( APTR intHandle );
   57 
   58 BOOL SetJoyPortAttrsA( ULONG portNumber, CONST struct TagItem *tagList );
   59 #if !defined(USE_INLINE_STDARG)
   60 BOOL SetJoyPortAttrs( ULONG portNumber, Tag firstTag, ... );
   61 #endif
   62 
   63 #ifdef __cplusplus
   64 }
   65 #endif /* __cplusplus */
   66 
   67 
   68 #endif /* CLIB_LOWLEVEL_PROTOS_H */