mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
7713a539ca
class with the same name. This will break things. To support it, there are three new classes, one of which is incomplete (AutoreleasePool). It'll get finished soonish, but the rest of the class lib will need some updating to work.
49 lines
1.2 KiB
Objective-C
49 lines
1.2 KiB
Objective-C
/*
|
|
ListNode.h
|
|
|
|
Stack/Queue/Linked List node class definitions
|
|
|
|
Copyright (C) 2003 Jeff Teunissen <deek@quakeforge.net>
|
|
|
|
This file is part of the Ruamoko Standard Library.
|
|
|
|
This library is free software; you can redistribute it and/or modify it
|
|
under the terms of the GNU Lesser General Public License as published by
|
|
the Free Software Foundation; either version 2.1 of the License, or (at
|
|
your option) any later version.
|
|
|
|
This library is distributed in the hope that it will be useful, but
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the GNU Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with this program; if not, write to:
|
|
|
|
Free Software Foundation, Inc.
|
|
59 Temple Place - Suite 330
|
|
Boston, MA 02111-1307, USA
|
|
|
|
$Id$
|
|
*/
|
|
#ifndef __ruamoko_ListNode_h
|
|
#define __ruamoko_ListNode_h
|
|
|
|
#include "Object.h"
|
|
|
|
@interface ListNode: Object
|
|
{
|
|
ListNode nextNode;
|
|
id data;
|
|
}
|
|
|
|
+ (id) nodeWithObject: (id)anObject;
|
|
|
|
- (id) initWithObject: (id)anObject;
|
|
- (id) object;
|
|
- (id) nextNode;
|
|
- (void) setNextNode: (id)aNode;
|
|
@end
|
|
|
|
#endif // __ruamoko_ListNode_h
|