1 /***************************************************************************
3 NListview.mcc - New Listview MUI Custom Class
4 Registered MUI class, Serial Number: 1d51 (0x9d510020 to 0x9d51002F)
6 Copyright (C) 1996-2001 by Gilles Masson
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 #if !defined(__AROS__) && (defined(__VBCC__) || defined(NO_INLINE_STDARG))
26 #if defined(_M68000) || defined(__M68000) || defined(__mc68000)
28 #include <exec/types.h>
30 /* FIX V45 breakage... */
31 #if INCLUDE_VERSION < 45
32 #define MY_CONST_STRPTR CONST_STRPTR
34 #define MY_CONST_STRPTR CONST STRPTR
37 #include <proto/intuition.h>
39 APTR
NewObject( struct IClass
*classPtr
, CONST_STRPTR classID
, Tag tag1
, ... )
40 { return NewObjectA(classPtr
, classID
, (struct TagItem
*)&tag1
); }
41 ULONG
SetAttrs( APTR object
, ULONG tag1
, ... )
42 { return SetAttrsA(object
, (struct TagItem
*)&tag1
); }
45 #error "VARGS stubs are only save on m68k systems!"