2 Copyright © 2002-2007, The AROS Development Team. All rights reserved.
8 #include <proto/exec.h>
9 #include <proto/intuition.h>
10 #include <proto/muimaster.h>
12 #include "muimaster_intern.h"
15 #include "support_classes.h"
20 /*****************************************************************************
23 AROS_LH1(struct IClass
*, MUI_GetClass
,
26 AROS_LHA(ClassID
, classid
, A0
),
29 struct Library
*, MUIMasterBase
, 13, MUIMaster
)
32 Get a pointer to a MUI Class.
34 The main use for this function is to retrieve the pointer to a MUI class
35 for use by intuition.library/MakeClass() as superclass pointer. However,
36 this function is obsolete since MUI V8, so DO NOT USE IT, use
37 MUI_CreateCustomClass() instead.
40 classid - the ID of the class whose pointer is to be retrieved.
43 The class pointer is returned. DO NOT use it for any other reason that
44 as an argument of intuition.library/MakeClass(). DO NOT assume anything
48 Once the pointer is not needed anymore, do not forget to call MUI_FreeClass().
50 This function is OBSOLETE, don't use it, use MUI_CreateCustomClass instead.
57 MUI_FreeClass(), MUI_CreateCustomClass(), MUI_DeleteCustomClass()
62 *****************************************************************************/
71 cl
= ZUNE_GetBuiltinClass(classid
, MUIMasterBase
);
74 cl
= ZUNE_GetExternalClass(classid
, MUIMasterBase
);