2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Remove an icon from Workbench's list of AppIcons.
9 #include "workbench_intern.h"
10 #include <workbench/workbench.h>
12 /*****************************************************************************
16 #include <proto/workbench.h>
18 AROS_LH1(BOOL
, RemoveAppIcon
,
20 AROS_LHA(struct AppIcon
*, appIcon
, A0
),
23 struct WorkbenchBase
*, WorkbenchBase
, 11, Workbench
)
26 Try to remove an AppIcon from workbench.library's list of AppIcons.
30 appIcon -- pointer to an AppIcon got from AddAppIconA()
34 TRUE if the icon could be removed, FALSE otherwise.
38 You must do a final check for messages on your AppMessage port as messages
39 may have been sent between the last time you checked and the call to
52 ******************************************************************************/
55 AROS_LIBBASE_EXT_DECL(struct WorkbenchBase
*, WorkbenchBase
)
63 Remove((struct Node
*)appIcon
);
69 Question is if we should negotiate with the (possible) workbench
70 application. Probably not... we just remove it from the list and
71 send a message to the workbench application that the icon should
72 be removed as soon as possible.
74 NotifyWorkbench(WBNOTIFY_Delete, WBNOTIFY_AppIcon, WorkbenchBase); */