quakeforge/ruamoko/include/Array.h
2004-02-04 02:35:57 +00:00

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