00001 #import <Cocoa/Cocoa.h> 00002 #import "LayerModel.h" 00003 00004 extern NSString *CopiedRowsType; 00005 00011 @interface MultipleLayerModel : NSDocument <NSCoding> { 00012 00013 NSMutableArray *layersArray; 00014 } 00015 00016 00017 - (unsigned int)countOfLayersArray; 00018 - (id)objectInLayersArrayAtIndex:(unsigned int)index; 00019 - (void)insertObject:(id)anObject inLayersArrayAtIndex:(unsigned int)index; 00020 - (void)removeObjectFromLayersArrayAtIndex:(unsigned int)index; 00021 - (void)replaceObjectInLayersArrayAtIndex:(unsigned int)index withObject:(id)anObject; 00022 00023 - (NSMutableArray *)layersArray; 00024 - (void)setLayersArray:(NSMutableArray *)newLayerArray; 00025 00026 - (void) addAllObserver; 00027 00028 00029 @end