5 Copyright © 1997-98, The AROS Development Team. All rights reserved.
8 Desc: Demo of new OOP system
16 Class
*MakeClass(STRPTR classID
, STRPTR superID
, APTR
*mDescr
, ULONG instDataSize
,
17 ULONG numeNewMethods
);
18 VOID
FreeClass(Class
*cl
);
19 VOID
AddClass(Class
*cl
);
20 VOID
RemoveClass(Class
*cl
);
21 Object
*NewObject(Class
*cl
, STRPTR classID
, Msg msg
);
22 VOID
DisposeObject(Object
*obj
);
27 IPTR
CoerceMethodA(Class
*cl
, Object
*o
, Msg msg
);
28 IPTR
DoMethodA(Object
*o
, Msg msg
);
29 IPTR
DoSuperMethodA(Class
*cl
, Object
*o
, Msg msg
);
30 BOOL
GetMethod(Object
*o
, ULONG methodID
, IPTR (**methodPtrPtr
)(), Class
**classPtrPtr
);