2 Copyright © 1995-2007, 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 ******************************************************************************/
62 Remove((struct Node
*)appIcon
);
68 Question is if we should negotiate with the (possible) workbench
69 application. Probably not... we just remove it from the list and
70 send a message to the workbench application that the icon should
71 be removed as soon as possible.
73 NotifyWorkbench(WBNOTIFY_Delete, WBNOTIFY_AppIcon, WorkbenchBase); */