1 /***************************************************************************
3 NList MUI custom classes
5 Copyright (C) 1996-2001 by Gilles Masson (NList.mcc)
6 Copyright (C) 1999-2001 by Carsten Scholling (NListtree.mcc)
7 Copyright (C) 2001-2014 NList Open Source Team
9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Lesser General Public
11 License as published by the Free Software Foundation; either
12 version 2.1 of the License, or (at your option) any later version.
14 This library is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 Lesser General Public License for more details.
19 NList classes Support Site: http://www.sf.net/projects/nlist-classes
23 ***************************************************************************/
25 #include "SDI_compiler.h"
28 #include "SDI_stdarg.h"
32 #include <proto/intuition.h>
34 /* redefine some defines to allow complexer macro use later on */
35 #define DoMethod IDoMethod
36 #define DoMethodA IDoMethodA
37 #define DoSuperMethod IDoSuperMethod
38 #define DoSuperMethodA IDoSuperMethodA
39 #define SetSuperAttrs ISetSuperAttrs
40 #define CoerceMethod ICoerceMethod
41 #define CoerceMethodA ICoerceMethodA
42 #define CallHookA CallHookPkt
46 #define OpenWindowTags IIntuition->OpenWindowTags
51 #define NewObject IIntuition->NewObject
54 #define GETINTERFACE(iface, base) (iface = (APTR)GetInterface((struct Library *)(base), "main", 1L, NULL))
55 #define DROPINTERFACE(iface) (DropInterface((struct Interface *)iface), iface = NULL)
59 #include <clib/alib_protos.h>
61 #define GETINTERFACE(iface, base) TRUE
62 #define DROPINTERFACE(iface)
64 #endif /* ! __amigaos4__ */