mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-17 10:20:55 +00:00
26 lines
633 B
Objective-C
26 lines
633 B
Objective-C
#ifndef __ruamoko_Array_h
|
|
#define __ruamoko_Array_h
|
|
|
|
#include "Object.h"
|
|
|
|
@interface Array: Object
|
|
{
|
|
integer count, size;
|
|
integer incr;
|
|
id [] array;
|
|
}
|
|
- (id) init;
|
|
- (id) initWithIncrement: (integer) inc;
|
|
- (void) dealloc;
|
|
- (id) getItemAt: (integer) index;
|
|
- (void) setItemAt: (integer) index item:(id) item;
|
|
- (void) addItem: (id) item;
|
|
- (void) removeItem: (id) item;
|
|
- (id) removeItemAt: (integer) index;
|
|
- (id) insertItemAt: (integer) index item:(id) item;
|
|
- (integer) count;
|
|
-(void)makeObjectsPerformSelector:(SEL)selector;
|
|
-(void)makeObjectsPerformSelector:(SEL)selector withObject:(id)arg;
|
|
@end
|
|
|
|
#endif//__ruamoko_Array_h
|