grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / usb / trident / Trident.h
blob382a527f92ea2e5a0af7601ca2c5438cb4fbeae1
1 /*************************************************************/
2 /* Includes and other common stuff for the Audex Project */
3 /*************************************************************/
5 /* MUI */
6 #include <math.h>
7 #include <time.h>
8 #include <ctype.h>
9 #include <libraries/mui.h>
11 /* System */
12 #include <exec/types.h>
13 #include <exec/memory.h>
14 #include <exec/interrupts.h>
15 #include <dos/dos.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>
32 /* ANSI C */
33 #include <stdlib.h>
34 #include <string.h>
35 #include <stdio.h>
37 extern struct ExecBase *SysBase;
39 #ifndef MAKE_ID
40 #define MAKE_ID(a,b,c,d) ((ULONG) (a)<<24 | (ULONG) (b)<<16 | (ULONG) (c)<<8 | (ULONG) (d))
41 #endif
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)
47 #ifndef min
48 #define min(x,y) (((x) < (y)) ? (x) : (y))
49 #define max(x,y) (((x) > (y)) ? (x) : (y))
50 #endif
52 /* prototypes */
54 BOOL WriteConfig(STRPTR name);
55 void LoadPsdStackloader(void);
56 BOOL GetToolTypes(void);
58 void CleanupClasses(void);
59 BOOL SetupClasses(void);
60 void fail(char *str);
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;