muimaster.library: migrate event handling from Listview to List
[AROS.git] / workbench / c / LoadWB.c
blobda3a6032769a1e765c9cfcc8de9ec3e77ff76574
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Load the default Workbench
6 Lang: English
7 */
9 #define DEBUG 0
10 #include <aros/debug.h>
12 #include <exec/types.h>
13 #include <proto/exec.h>
14 #include <workbench/workbench.h>
15 #include <proto/workbench.h>
17 #include <aros/shcommands.h>
19 const TEXT version[] = "$VER: LoadWB 42.2 (7.9.1999)";
21 /* Very minimal C:LoadWB */
22 AROS_SH0H(LoadWB, 42.2, "Load the default Workbench")
24 AROS_SHCOMMAND_INIT
26 struct Library *WorkbenchBase = OpenLibrary("workbench.library", 0);
27 if (WorkbenchBase) {
28 StartWorkbench(0, NULL);
29 CloseLibrary(WorkbenchBase);
31 return 0;
33 AROS_SHCOMMAND_EXIT