2 Copyright © 2011, The AROS Development Team. All rights reserved.
5 Desc: Workbook Resource
10 #include <aros/debug.h>
11 #include <aros/symbolsets.h>
13 #include <exec/resident.h>
14 #include <proto/exec.h>
15 #include <proto/dos.h>
17 #include LC_LIBDEFS_FILE
19 extern void WorkbookMain(void);
22 static int GM_UNIQUENAME(Init
)(LIBBASETYPEPTR LIBBASE
)
27 D(bug("[Workbook] Init\n"));
29 DOSBase
= OpenLibrary("dos.library", 0);
30 if ( DOSBase
== NULL
) {
31 D(bug("[Workbook] What? No dos.library?\n"));
35 seg
= CreateSegList(WorkbookMain
);
37 AddSegment("Workbook", seg
, CMD_INTERNAL
);
40 CloseLibrary(DOSBase
);
45 ADD2INITLIB(GM_UNIQUENAME(Init
), 0);