mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-11 21:31:30 +00:00
6ff5b5c101
Things were getting rather cluttered with everything being qwaq-* and all in one directory. Now most have lost the qwaq- prefix and have been moved into subdirectories (non-recursive make).
29 lines
995 B
Objective-C
29 lines
995 B
Objective-C
#ifndef __qwaq_ui_garray_h
|
|
#define __qwaq_ui_garray_h
|
|
|
|
#include <Array.h>
|
|
|
|
typedef BOOL condition_func (id object, void *data);
|
|
typedef BOOL condition_func2 (id object, void *anObject, void *data);
|
|
|
|
@interface Array (Group)
|
|
- (void) makeObjectsPerformSelector: (SEL)selector
|
|
if: (condition_func)condition
|
|
with: (void *)data;
|
|
- (void) makeObjectsPerformSelector: (SEL)selector
|
|
withObject: (void *)anObject
|
|
if: (condition_func2)condition
|
|
with: (void *)data;
|
|
- (void) makeReversedObjectsPerformSelector: (SEL)selector;
|
|
- (void) makeReversedObjectsPerformSelector: (SEL)selector
|
|
withObject: (void *)anObject;
|
|
- (void) makeReversedObjectsPerformSelector: (SEL)selector
|
|
if: (condition_func)condition
|
|
with: (void *)data;
|
|
- (void) makeReversedObjectsPerformSelector: (SEL)selector
|
|
withObject: (void *)anObject
|
|
if: (condition_func2)condition
|
|
with: (void *)data;
|
|
@end
|
|
|
|
#endif//__qwaq_ui_garray_h
|