Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / gadtools / gt_replyimsg.c
bloba365f43db29f5e74f97d0f19d9e68345a6726b11
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include <proto/exec.h>
9 #include <exec/ports.h>
10 #include "gadtools_intern.h"
12 /*********************************************************************
14 NAME */
15 #include <proto/gadtools.h>
16 #include <intuition/intuition.h>
18 AROS_LH1(void, GT_ReplyIMsg,
20 /* SYNOPSIS */
21 AROS_LHA(struct IntuiMessage *, imsg, A1),
23 /* LOCATION */
24 struct Library *, GadToolsBase, 13, GadTools)
26 /* FUNCTION
27 Replies a message gotten via GT_GetIMsg().
29 INPUTS
30 imsg - The message to reply.
32 RESULT
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
41 GT_GetIMsg(), exec.library/ReplyMsg()
43 INTERNALS
45 HISTORY
47 ***************************************************************************/
49 AROS_LIBFUNC_INIT
51 struct IntuiMessage *origmsg;
53 if (imsg)
55 origmsg = GT_PostFilterIMsg(imsg);
56 if (origmsg)
57 ReplyMsg(&origmsg->ExecMessage);
60 AROS_LIBFUNC_EXIT
62 } /* GT_ReplyIMsg */