5 Copyright © 1997-98, The AROS Development Team. All rights reserved.
8 Desc: Demo of new OOP system
18 #ifndef SYSDEP_SYSDEP_H
19 # include "sysdep/sysdep.h"
23 Class
*MakeClass(STRPTR classID
, STRPTR superID
, struct InterfaceDescr
*ifDescr
, ULONG instDataSize
);
24 VOID
FreeClass(Class
*cl
);
25 VOID
AddClass(Class
*cl
);
26 VOID
RemoveClass(Class
*cl
);
27 Object
*NewObject(Class
*cl
, STRPTR classID
, Msg msg
);
28 VOID
DisposeObject(Object
*obj
);
33 IPTR
CoerceMethodA(Class
*cl
, Object
*o
, Msg msg
);
34 IPTR
DoMethodA(Object
*o
, Msg msg
);
35 IPTR
DoSuperMethodA(Class
*cl
, Object
*o
, Msg msg
);
36 BOOL
GetMethod(Object
*o
, ULONG methodID
, IPTR (**methodPtrPtr
)(), Class
**classPtrPtr
);