added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / libs / muimaster / mui_deletecustomclass.c
blobd84ebc2a3da518c0a85a48765c4df4e6d148ecd8
1 /*
2 Copyright © 2002-2007, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/exec.h>
7 #include <proto/intuition.h>
8 #include <proto/muimaster.h>
10 #include "mui.h"
11 #include "muimaster_intern.h"
12 #include "support.h"
14 /*****************************************************************************
16 NAME */
17 AROS_LH1(BOOL, MUI_DeleteCustomClass,
19 /* SYNOPSIS */
20 AROS_LHA(struct MUI_CustomClass *, mcc, A0),
22 /* LOCATION */
23 struct Library *, MUIMasterBase, 19, MUIMaster)
25 /* FUNCTION
27 INPUTS
29 RESULT
31 NOTES
33 EXAMPLE
35 BUGS
36 The function itself is a bug ;-) Remove it!
38 SEE ALSO
40 INTERNALS
42 HISTORY
44 *****************************************************************************/
46 AROS_LIBFUNC_INIT
48 if (mcc)
50 Class *super = mcc->mcc_Super;
52 if (FreeClass(mcc->mcc_Class))
54 mui_free(mcc);
56 MUI_FreeClass(super);
58 return TRUE;
62 return FALSE;
64 AROS_LIBFUNC_EXIT
66 } /* MUIA_DeleteCustomClass */