2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
7 #include "intuition_intern.h"
9 /*****************************************************************************
12 #include <proto/intuition.h>
14 AROS_LH1(void, AlohaWorkbench
,
17 AROS_LHA(struct MsgPort
*, wbmsgport
, A0
),
20 struct IntuitionBase
*, IntuitionBase
, 67, Intuition
)
23 The WorkBench program wants to call this function to signal
24 Intuition that it is active or shutting down.
25 Intuition then uses the MsgPort to tell the WorkBench to open or
26 close its windows if the user called OpenWorkbench() or
29 When the MsgPort is non-NULL Intuition will send IntuiMessages to
30 it with the Class field set to WBENCHMESSAGE and Code field set to
31 either WBENCHOPEN or WBENCHCLOSE. Intuition assumes that when the
32 WorkBench task replies this messages, it already has opened/closed
36 wbmsgport - The MsgPort of the (initialized) WorkBench task or
37 NULL if the task is shutting down.
43 This function is obsolete and should not be used directly by the
44 Workbench Application. Use workbench.library/RegisterWorkbench()
52 workbench.library/RegisterWorkbench()
56 *****************************************************************************/
60 /* Save MsgPort into private IntuitionBase */
61 DEBUG_ALOHAWORKBENCH(dprintf("AlohaWorkbench: MsgPort %p\n",
63 GetPrivIBase(IntuitionBase
)->WorkBenchMP
= wbmsgport
;
66 } /* AlohaWorkbench */