mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 15:51:36 +00:00
27 lines
666 B
Objective-C
27 lines
666 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;
|
|
- (integer) findItem: (id) item;
|
|
-(void)makeObjectsPerformSelector:(SEL)selector;
|
|
-(void)makeObjectsPerformSelector:(SEL)selector withObject:(id)arg;
|
|
@end
|
|
|
|
#endif//__ruamoko_Array_h
|