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 "notifyworkbench.h"
11 #include <workbench/workbench.h>
13 /*****************************************************************************
17 #include <proto/workbench.h>
19 AROS_LH1(BOOL
, RemoveAppIcon
,
21 AROS_LHA(struct AppIcon
*, appIcon
, A0
),
24 struct WorkbenchBase
*, WorkbenchBase
, 11, Workbench
)
27 Try to remove an AppIcon from workbench.library's list of AppIcons.
31 appIcon -- pointer to an AppIcon got from AddAppIconA()
35 TRUE if the icon could be removed, FALSE otherwise.
39 You must do a final check for messages on your AppMessage port as messages
40 may have been sent between the last time you checked and the call to
53 ******************************************************************************/
63 Remove((struct Node
*)appIcon
);
68 NotifyWorkbench(WBNOTIFY_Delete
, WBNOTIFY_AppIcon
, WorkbenchBase
);