mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 07:42:18 +00:00
26 lines
554 B
Objective-C
26 lines
554 B
Objective-C
#ifndef __ruamoko_List_h
|
|
#define __ruamoko_List_h
|
|
|
|
#include "Object.h"
|
|
|
|
@interface List: Object
|
|
{
|
|
int count;
|
|
struct list_bucket_s *head;
|
|
struct list_bucket_s **tail;
|
|
}
|
|
- (id) init;
|
|
- (id) getItemAt: (int) index;
|
|
- (id) head;
|
|
- (id) tail;
|
|
- (void) addItemAtHead: (id) item;
|
|
- (void) addItemAtTail: (id) item;
|
|
- (id) removeItem: (id) item;
|
|
- (id) removeItemAtHead;
|
|
- (id) removeItemAtTail;
|
|
- (int) count;
|
|
-(void)makeObjectsPerformSelector:(SEL)selector;
|
|
-(void)makeObjectsPerformSelector:(SEL)selector withObject:(id)arg;
|
|
@end
|
|
|
|
#endif//__ruamoko_List_h
|