2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
8 #include <proto/exec.h>
11 /*****************************************************************************
14 #include <intuition/classes.h>
15 #include <proto/boopsi.h>
17 AROS_LH1(void, RemoveClass
,
20 AROS_LHA(struct IClass
*, classPtr
, A0
),
23 struct Library
*, BOOPSIBase
, 13, BOOPSI
)
26 Makes a public class inaccessible. This function may be called
27 several times on the same class and even if the class never was
31 classPtr - Pointer to the result of MakeClass(). May be NULL.
43 MakeClass(), FreeClass(), AddClass(), "Basic Object-Oriented
44 Programming System for Intuition" and "boopsi Class Reference"
50 29-10-95 digulla automatically created from
51 intuition_lib.fd and clib/intuition_protos.h
53 *****************************************************************************/
56 AROS_LIBBASE_EXT_DECL(struct Library
*,BOOPSIBase
)
58 /* Klasse da und noch/schon in der Liste ? */
59 if (classPtr
&& (classPtr
->cl_Flags
& CLF_INLIST
))
61 /* Changed to Semaphores during boopsi.library creation */
62 ObtainSemaphore( &GetBBase(BOOPSIBase
)->bb_ClassListLock
);
63 Remove ((struct Node
*)classPtr
);
64 ReleaseSemaphore( &GetBBase(BOOPSIBase
)->bb_ClassListLock
);
66 classPtr
->cl_Flags
&= ~CLF_INLIST
;