Added kernel module for starting the usb stack at boot time. It's not activated thoug...
[cake.git] / rom / intuition / timeddisplayalert.c
blobbe83d85a87e5fc265c6b6561bf69468f0f9dbb54
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
5 */
7 #include "intuition_intern.h"
9 #ifdef __MORPHOS__
10 #include "morphos/displayalert.h"
11 #endif
13 /*****************************************************************************
15 NAME */
16 #include <proto/intuition.h>
18 AROS_LH4(BOOL, TimedDisplayAlert,
20 /* SYNOPSIS */
21 AROS_LHA(ULONG , alertnumber, D0),
22 AROS_LHA(UBYTE *, string , A0),
23 AROS_LHA(UWORD , height , D1),
24 AROS_LHA(ULONG , time , A1),
26 /* LOCATION */
27 struct IntuitionBase *, IntuitionBase, 137, Intuition)
29 /* FUNCTION
30 Display an alert with automatic time-out.
32 INPUTS
34 RESULT
36 NOTES
38 EXAMPLE
40 BUGS
42 SEE ALSO
43 DisplayAlert()
45 INTERNALS
47 HISTORY
49 *****************************************************************************/
51 AROS_LIBFUNC_INIT
53 #ifdef __MORPHOS__
55 return int_TimedDisplayAlert(alertnumber, string, height, time, IntuitionBase);
57 #else
59 #warning TODO: Write intuition/TimedDisplayAlert()
60 aros_print_not_implemented ("TimedDisplayAlert");
62 /* shut up the compiler */
63 IntuitionBase = IntuitionBase;
64 alertnumber = alertnumber;
65 string = string;
66 height = height;
67 time = time;
69 return FALSE;
71 #endif
72 AROS_LIBFUNC_EXIT
73 } /* TimedDisplayAlert */