Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / AHI / Drivers / Envy24 / interrupt.h
blobd7841d8bfc63a921e63ddf5b3d8e230139d8117a
1 /*
2 Copyright © 2004-2014, Davy Wentzler. All rights reserved.
3 Copyright © 2010-2014, The AROS Development Team. All rights reserved.
4 $Id$
5 */
7 #ifndef AHI_Drivers_interrupt_h
8 #define AHI_Drivers_interrupt_h
10 #include <config.h>
12 #include "DriverData.h"
14 #ifdef __AMIGAOS4__
15 ULONG CardInterrupt(struct ExceptionContext *pContext, struct ExecBase *SysBase, struct CardData* dd);
17 void PlaybackInterrupt(struct ExceptionContext *pContext, struct ExecBase *SysBase, struct CardData* dd);
19 void RecordInterrupt(struct ExceptionContext *pContext, struct ExecBase *SysBase, struct CardData* dd);
21 #elif defined(__AROS__)
22 AROS_INTP(CardInterrupt);
23 AROS_INTP(PlaybackInterrupt);
24 AROS_INTP(RecordInterrupt);
26 #else
28 LONG CardInterrupt(struct CardData* card);
30 void PlaybackInterrupt(struct CardData* card);
32 void RecordInterrupt(struct CardData* card);
34 #endif
36 #endif /* AHI_Drivers_interrupt_h */