quakeforge/ruamoko/include/List.h

27 lines
566 B
C
Raw Normal View History

2003-07-29 16:01:35 +00:00
#ifndef __ruamoko_List_h
#define __ruamoko_List_h
#include "Object.h"
@interface List: Object
{
integer count;
2011-02-13 12:25:36 +00:00
struct list_bucket_s *head;
struct list_bucket_s **tail;
2003-07-29 16:01:35 +00:00
}
- (id) init;
- (id) getItemAt: (integer) index;
- (id) head;
- (id) tail;
- (void) addItemAtHead: (id) item;
- (void) addItemAtTail: (id) item;
- (id) removeItem: (id) item;
- (id) removeItemAtHead;
- (id) removeItemAtTail;
2003-07-29 16:01:35 +00:00
- (integer) count;
-(void)makeObjectsPerformSelector:(SEL)selector;
-(void)makeObjectsPerformSelector:(SEL)selector withObject:(id)arg;
@end
#endif//__ruamoko_List_h