1 /*************************************************************/
2 /* Includes and other common stuff for the Audex Project */
3 /*************************************************************/
9 #include <libraries/mui.h>
12 #include <exec/types.h>
13 #include <exec/memory.h>
14 #include <exec/interrupts.h>
16 #include <dos/dostags.h>
17 #include <dos/exall.h>
18 #include <datatypes/soundclass.h>
19 #include <graphics/gfxmacros.h>
20 #include <intuition/intuition.h>
21 #include <intuition/imageclass.h>
22 #include <libraries/commodities.h>
23 #include <libraries/gadtools.h>
24 #include <libraries/asl.h>
25 #include <workbench/startup.h>
26 #include <workbench/workbench.h>
27 #include <datatypes/pictureclass.h>
28 #include <libraries/usbclass.h>
30 #include <proto/alib.h>
37 extern struct ExecBase
*SysBase
;
40 #define MAKE_ID(a,b,c,d) ((ULONG) (a)<<24 | (ULONG) (b)<<16 | (ULONG) (c)<<8 | (ULONG) (d))
43 #define LabelB(label) (void *)MUI_NewObject(MUIC_Text,MUIA_Text_PreParse,"\33r",\
44 MUIA_Text_Contents,label,TextFrame,MUIA_FramePhantomHoriz,\
45 TRUE,MUIA_Weight,0,MUIA_InnerLeft,0,MUIA_InnerRight,0,TAG_DONE)
48 #define min(x,y) (((x) < (y)) ? (x) : (y))
49 #define max(x,y) (((x) > (y)) ? (x) : (y))
54 BOOL
WriteConfig(STRPTR name
);
55 void LoadPsdStackloader(void);
56 BOOL
GetToolTypes(void);
58 void CleanupClasses(void);
59 BOOL
SetupClasses(void);
61 int main(int argc
, char *argv
[]);
63 /* extern variables */
65 extern struct MUI_CustomClass
*ActionClass
;
66 extern struct MUI_CustomClass
*IconListClass
;
67 extern struct MUI_CustomClass
*DevWinClass
;
68 extern struct MUI_CustomClass
*CfgListClass
;
69 extern BOOL registermode
;
71 extern struct Library
*MUIMasterBase
;
72 extern struct Library
*PsdBase
;
73 extern struct WBStartup
*_WBenchMsg
;