mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Raise exception for unimplemented methods
This commit is contained in:
parent
8b4a8820a8
commit
2e48b09feb
1 changed files with 13 additions and 11 deletions
|
@ -54,14 +54,15 @@
|
|||
|
||||
#define EXPOSE_NSProgress_IVARS
|
||||
|
||||
#import <Foundation/NSObject.h>
|
||||
#import <Foundation/NSDictionary.h>
|
||||
#import <Foundation/NSArray.h>
|
||||
#import <Foundation/NSValue.h>
|
||||
#import <Foundation/NSURL.h>
|
||||
#import <Foundation/NSString.h>
|
||||
#import <Foundation/NSProgress.h>
|
||||
#import <Foundation/NSKeyValueObserving.h>
|
||||
#import "Foundation/NSObject.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSValue.h"
|
||||
#import "Foundation/NSURL.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSProgress.h"
|
||||
#import "Foundation/NSKeyValueObserving.h"
|
||||
#import "GNUstepBase/NSObject+GNUstepBase.h"
|
||||
|
||||
#define GSInternal NSProgressInternal
|
||||
#include "GSInternal.h"
|
||||
|
@ -453,16 +454,17 @@ static NSMutableDictionary *__subscribers = nil;
|
|||
}
|
||||
|
||||
// Type methods
|
||||
+ (id)addSubscriberForFileURL: (NSURL *)url
|
||||
withPublishingHandler: (NSProgressPublishingHandler)publishingHandler
|
||||
+ (id) addSubscriberForFileURL: (NSURL *)url
|
||||
withPublishingHandler: (NSProgressPublishingHandler)publishingHandler
|
||||
{
|
||||
// [__subscribers addObject: publishingHandler forObject: url];
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
+ (void) removeSubscriber: (id)subscriber
|
||||
{
|
||||
// [__subscribers removeObject: subscriber];
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue