Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

AddClass

Make a public class available

Declaration

Source position: intuition.pas line 3924

procedure AddClass(

  ClassPtr: PIClass

);

Arguments

ClassPtr

  

The result of MakeClass()

Description

Adds a public boopsi class to the internal list of classes available for public consumption. You must call this function after you call MakeClass(). Do not use this function for private classes.

Errors

There is no protection against creating multiple classes with the same name yet. The operation of the system is undefined in this case.

See also

MakeClass

  

Create and initialize a boopsi class.

FreeClass

  

Frees a boopsi class created by MakeClass().

RemoveClass

  

Make a public boopsi class unavailable.


Documentation generated on: 2021-07-30