Initial import of Scalos. To decrease size I have
[AROS-Contrib.git] / scalos / common / DataTypesMCC / DataTypesMCC.h
blob478e88494daa7884c9f10e0d5d0da7c480a6238d
1 // DataTypesMCC.h
2 // $Date$
3 // $Revision$
6 #ifndef DATATYPES_MCC_H
7 #define DATATYPES_MCC_H
9 /* ------------------------------------------------------------------------- */
11 #include <defs.h>
13 /* ------------------------------------------------------------------------- */
15 struct MUI_CustomClass *InitDtpicClass(void);
16 void CleanupDtpicClass(struct MUI_CustomClass *mcc);
18 /* ------------------------------------------------------------------------- */
20 extern struct MUI_CustomClass *DataTypesImageClass;
22 #ifdef __AROS__
23 #define DataTypesImageObject BOOPSIOBJMACRO_START(DataTypesImageClass->mcc_Class)
24 #else
25 #define DataTypesImageObject NewObject(DataTypesImageClass->mcc_Class, 0
26 #endif
28 /* ------------------------------------------------------------------------- */
30 #define MUIA_DTPIC_TAGBASE 0x80429875
32 #define MUIA_ScaDtpic_Name (MUIA_DTPIC_TAGBASE+1) // [IS.] CONST_STRPTR
33 #define MUIA_ScaDtpic_FailIfUnavailable (MUIA_DTPIC_TAGBASE+2) // [I..] ULONG
34 #define MUIA_ScaDtpic_Tiled (MUIA_DTPIC_TAGBASE+3) // [IS.] ULONG
36 //----------------------------------------------------------------------------
38 #define d1(x) ;
39 #define d2(x) x;
41 // from debug.lib
42 extern int kprintf(const char *fmt, ...);
43 extern int KPrintF(const char *fmt, ...);
45 /* ------------------------------------------------------------------------- */
47 #endif /* DATATYPES_MCC_H */