CatNiP prefinal
Sähköinen nuottikirja, HY-TKTKL-OHTUPROJ KESÄ11
|
00001 // 00002 // CatNiPErrorManager.h 00003 // CatNiP 00004 // 00005 // Created by Antti V J Niemela, tkol on 6/16/11. 00006 // Copyright 2011 University of Helsinki. All rights reserved. 00007 // 00008 00009 #import <Foundation/Foundation.h> 00010 #import "CatNiPErrorConsumer.h" 00011 00012 @interface CatNiPErrorManager : NSObject { 00013 NSMutableSet* errorConsumers; 00014 } 00015 00016 -(void)reportError:(NSError *)error; 00017 00018 -(void)addErrorConsumer:(id <CatNiPErrorConsumer>)consumer; 00019 00020 -(void)removeErrorConsumer:(id <CatNiPErrorConsumer>)consumer; 00021 00022 +(CatNiPErrorManager *)sharedManager; 00023 00024 +(id)allocWithZone:(NSZone *)zone; 00025 00026 -(id)copyWithZone:(NSZone *)zone; 00027 00028 -(id)retain; 00029 00030 -(NSUInteger)retainCount; 00031 00032 -(void)release; 00033 00034 -(id)autorelease; 00035 00036 00037 00038 @end