Trust uboot's device list only if it does not look suspicious.
[AROS.git] / test / OOPDemos / include / protos.h
blob8e2815d2ef6204e9387110b10896af0dff9f36eb
1 #ifndef PROTOS_H
2 #define PROTOS_H
4 /*
5 Copyright © 1997-98, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Demo of new OOP system
9 Lang: english
12 #ifndef TYPES_H
13 # include "types.h"
14 #endif
15 #ifndef OOP_H
16 # include "oop.h"
17 #endif
18 #ifndef SYSDEP_SYSDEP_H
19 # include "sysdep/sysdep.h"
20 #endif
22 /* Prototypes */
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);
30 BOOL InitOOP();
31 VOID CleanupOOP();
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);
38 #endif /* PROTOS_H */