home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 18
/
aminetcdnumber181997.iso
/
Aminet
/
misc
/
emu
/
AROSdev.lha
/
AROS
/
rom
/
intuition
/
removeclass.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-01-27
|
2KB
|
86 lines
/*
(C) 1995-96 AROS - The Amiga Replacement OS
$Id: removeclass.c,v 1.4 1997/01/27 00:36:43 ldp Exp $
$Log: removeclass.c,v $
Revision 1.4 1997/01/27 00:36:43 ldp
Polish
Revision 1.3 1996/12/10 14:00:08 aros
Moved #include into first column to allow makedepend to see it.
Revision 1.2 1996/10/24 15:51:24 aros
Use the official AROS macros over the __AROS versions.
Revision 1.1 1996/08/28 17:55:36 digulla
Proportional gadgets
BOOPSI
Desc:
Lang: english
*/
#include <proto/exec.h>
#include "intuition_intern.h"
/*****************************************************************************
NAME */
#include <intuition/classes.h>
#include <proto/intuition.h>
AROS_LH1(void, RemoveClass,
/* SYNOPSIS */
AROS_LHA(struct IClass *, classPtr, A0),
/* LOCATION */
struct IntuitionBase *, IntuitionBase, 118, Intuition)
/* FUNCTION
Makes a public class inaccessible. This function may be called
several times on the same class and even if the class never was
in the public list.
INPUTS
classPtr - Pointer to the result of MakeClass(). May be NULL.
RESULT
None.
NOTES
EXAMPLE
BUGS
SEE ALSO
MakeClass(), FreeClass(), AddClass(), "Basic Object-Oriented
Programming System for Intuition" and "boopsi Class Reference"
Dokument.
INTERNALS
HISTORY
29-10-95 digulla automatically created from
intuition_lib.fd and clib/intuition_protos.h
*****************************************************************************/
{
AROS_LIBFUNC_INIT
AROS_LIBBASE_EXT_DECL(struct IntuitionBase *,IntuitionBase)
/* Klasse da und noch/schon in der Liste ? */
if (classPtr && (classPtr->cl_Flags & CLF_INLIST))
{
Forbid ();
Remove ((struct Node *)classPtr);
Permit ();
classPtr->cl_Flags &= ~CLF_INLIST;
}
AROS_LIBFUNC_EXIT
} /* RemoveClass */