mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Mark unimplemented methods
This commit is contained in:
parent
0db43469c2
commit
1cce7e97e2
5 changed files with 77 additions and 36 deletions
|
@ -40,16 +40,20 @@
|
|||
return _inputItems;
|
||||
}
|
||||
|
||||
- (void)completeRequestReturningItems: (NSArray *)items completionHandler: (GSExtensionContextReturningItemsCompletionHandler)completionHandler
|
||||
- (void) completeRequestReturningItems: (NSArray *)items
|
||||
completionHandler: (GSExtensionContextReturningItemsCompletionHandler)completionHandler
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void)cancelRequestWithError:(NSError *)error
|
||||
- (void) cancelRequestWithError:(NSError *)error
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void)openURL: (NSURL *)URL completionHandler: (GSOpenURLCompletionHandler)completionHandler
|
||||
- (void) openURL: (NSURL *)URL completionHandler: (GSOpenURLCompletionHandler)completionHandler
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -22,20 +22,22 @@
|
|||
Boston, MA 02110 USA.
|
||||
*/
|
||||
|
||||
#include <Foundation/NSItemProvider.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#import "Foundation/NSItemProvider.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "GNUstepBase/NSObject+GNUstepBase.h"
|
||||
|
||||
@implementation NSItemProvider
|
||||
|
||||
- (instancetype) init
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) registerDataRepresentationForTypeIdentifier: (NSString *)typeIdentifier
|
||||
visibility: (NSItemProviderRepresentationVisibility)visibility
|
||||
loadHandler: (GSProgressHandler)loadHandler
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) registerFileRepresentationForTypeIdentifier: (NSString *)typeIdentifier
|
||||
|
@ -43,16 +45,17 @@
|
|||
visibility: (NSItemProviderRepresentationVisibility)visibility
|
||||
loadHandler: (GSProgressURLBOOLHandler)loadHandler
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSArray *) registeredTypeIdentifiers
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSArray *) registeredTypeIdentifiersWithFileOptions: (NSItemProviderFileOptions)fileOptions
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (BOOL) hasItemConformingToTypeIdentifier: (NSString *)typeIdentifier
|
||||
|
@ -69,43 +72,46 @@
|
|||
- (NSProgress *) loadDataRepresentationForTypeIdentifier: (NSString *)typeIdentifier
|
||||
completionHandler: (GSProviderCompletionHandler)completionHandler
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSProgress *) loadFileRepresentationForTypeIdentifier: (NSString *)typeIdentifier
|
||||
completionHandler: (GSProviderURLCompletionHandler)completionHandler
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSProgress *) loadInPlaceFileRepresentationForTypeIdentifier: (NSString *)typeIdentifier
|
||||
completionHandler: (GSProviderURLBOOLCompletionHandler)completionHandler
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSString *) suggestedName
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setSuggestedName: (NSString *)suggestedName
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (instancetype) initWithObject: (id<NSItemProviderWriting>)object
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) registerObject: (id<NSItemProviderWriting>)object visibility: (NSItemProviderRepresentationVisibility)visibility
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) registerObjectOfClass: (Class<NSItemProviderWriting>)aClass // NSItemProviderWriting conforming class...
|
||||
visibility: (NSItemProviderRepresentationVisibility)visibility
|
||||
loadHandler: (GSItemProviderWritingHandler)loadHandler
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (BOOL) canLoadObjectOfClass: (Class<NSItemProviderReading>)aClass
|
||||
|
@ -116,32 +122,34 @@
|
|||
- (NSProgress *) loadObjectOfClass: (Class<NSItemProviderReading>)aClass // NSItemProviderReading conforming class...
|
||||
completionHandler: (GSItemProviderReadingHandler)completionHandler
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (instancetype) initWithItem: (id<NSSecureCoding>)item typeIdentifier: (NSString *)typeIdentifier // designated init
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (instancetype) initWithContentsOfURL: (NSURL *)fileURL
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) registerItemForTypeIdentifier: (NSString *)typeIdentifier loadHandler: (NSItemProviderLoadHandler)loadHandler
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void)loadItemForTypeIdentifier: (NSString *)typeIdentifier
|
||||
options: (NSDictionary *)options
|
||||
completionHandler: (NSItemProviderCompletionHandler)completionHandler
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (instancetype) copyWithZone: (NSZone*)zone
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
@end
|
||||
|
||||
|
@ -156,11 +164,13 @@
|
|||
|
||||
- (void) setPreviewImageHandler: (NSItemProviderLoadHandler) previewImageHandler
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) loadPreviewImageWithOptions: (NSDictionary *)options
|
||||
completionHandler: (NSItemProviderCompletionHandler)completionHandler
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -22,12 +22,14 @@
|
|||
Boston, MA 02110 USA.
|
||||
*/
|
||||
|
||||
#include <Foundation/NSLinguisticTagger.h>
|
||||
#include <Foundation/NSRange.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSOrthography.h>
|
||||
#import "Foundation/NSLinguisticTagger.h"
|
||||
#import "Foundation/NSRange.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSDictionary.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
#import "Foundation/NSOrthography.h"
|
||||
#import "GNUstepBase/NSObject+GNUstepBase.h"
|
||||
|
||||
|
||||
NSLinguisticTagScheme const NSLinguisticTagSchemeTokenType = @"NSLinguisticTagSchemeTokenType";
|
||||
NSLinguisticTagScheme const NSLinguisticTagSchemeLexicalClass = @"NSLinguisticTagSchemeLexicalClass";
|
||||
|
@ -80,7 +82,7 @@ NSLinguisticTag const NSLinguisticTagOrganizationName = @"NSLinguisticTagOrganiz
|
|||
options: (NSUInteger)opts
|
||||
{
|
||||
self = [super init];
|
||||
if(self != nil)
|
||||
if (self != nil)
|
||||
{
|
||||
ASSIGNCOPY(_schemes, tagSchemes);
|
||||
_options = opts;
|
||||
|
@ -131,6 +133,7 @@ NSLinguisticTag const NSLinguisticTagOrganizationName = @"NSLinguisticTagOrganiz
|
|||
- (void) setOrthography: (NSOrthography *)orthography
|
||||
range: (NSRange)range
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSOrthography *) orthographyAtIndex: (NSUInteger)charIndex
|
||||
|
@ -142,6 +145,7 @@ NSLinguisticTag const NSLinguisticTagOrganizationName = @"NSLinguisticTagOrganiz
|
|||
- (void) stringEditedInRange: (NSRange)newRange
|
||||
changeInLength: (NSInteger)delta
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSRange) tokenRangeAtIndex: (NSUInteger)charIndex
|
||||
|
@ -161,6 +165,7 @@ NSLinguisticTag const NSLinguisticTagOrganizationName = @"NSLinguisticTagOrganiz
|
|||
options: (NSLinguisticTaggerOptions)options
|
||||
usingBlock: (GSLinguisticTagRangeBoolBlock)block
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSLinguisticTag) tagAtIndex: (NSUInteger)charIndex
|
||||
|
@ -185,6 +190,7 @@ NSLinguisticTag const NSLinguisticTagOrganizationName = @"NSLinguisticTagOrganiz
|
|||
options: (NSLinguisticTaggerOptions)opts
|
||||
usingBlock: (GSLinguisticTagRangeRangeBoolBlock)block
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSLinguisticTag) tagAtIndex: (NSUInteger)charIndex
|
||||
|
@ -242,6 +248,7 @@ NSLinguisticTag const NSLinguisticTagOrganizationName = @"NSLinguisticTagOrganiz
|
|||
orthography: (NSOrthography *)orthography
|
||||
usingBlock: (GSLinguisticTagRangeBoolBlock)block
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -541,7 +541,7 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
|||
|
||||
- (NSString*) characterEncoding
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSXMLDocumentContentKind) documentContentKind
|
||||
|
@ -551,7 +551,7 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
|||
|
||||
- (NSXMLDTD*) DTD
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (id) init
|
||||
|
@ -597,109 +597,123 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
|||
|
||||
- (NSString*) MIMEType
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSXMLElement*) rootElement
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setCharacterEncoding: (NSString*)encoding
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setDocumentContentKind: (NSXMLDocumentContentKind)theContentKind
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setDTD: (NSXMLDTD*)documentTypeDeclaration
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setMIMEType: (NSString*)theMIMEType
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setRootElement: (NSXMLNode*)root
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setStandalone: (BOOL)standalone
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setURI: (NSString*)URI
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSString*) URI
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setVersion: (NSString*)version
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSString*) version
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) insertChild: (NSXMLNode*)child atIndex: (NSUInteger)index
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) insertChildren: (NSArray*)children atIndex: (NSUInteger)index
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) removeChildAtIndex: (NSUInteger)index
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setChildren: (NSArray*)children
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) addChild: (NSXMLNode*)child
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) replaceChildAtIndex: (NSUInteger)index withNode: (NSXMLNode*)theNode
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSData*) XMLData
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSData *) XMLDataWithOptions: (NSUInteger)theOptions
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (id) objectByApplyingXSLT: (NSData*)xslt
|
||||
arguments: (NSDictionary*)arguments
|
||||
error: (NSError**)error
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (id) objectByApplyingXSLTString: (NSString*)xslt
|
||||
arguments: (NSDictionary*)arguments
|
||||
error: (NSError**)error
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (id) objectByApplyingXSLTAtURL: (NSURL*)xsltURL
|
||||
arguments: (NSDictionary*)arguments
|
||||
error: (NSError**)error
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (BOOL) validateAndReturnError: (NSError**)error
|
||||
|
@ -709,7 +723,7 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
|||
|
||||
- (id) copyWithZone: (NSZone *)zone
|
||||
{
|
||||
return nil;
|
||||
return [self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (BOOL) isEqual: (id)other
|
||||
|
|
|
@ -2237,6 +2237,7 @@ execute_xpath(xmlNodePtr node, NSString *xpath_exp, NSDictionary *constants,
|
|||
|
||||
- (void) detach
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSUInteger) index
|
||||
|
@ -2331,22 +2332,27 @@ execute_xpath(xmlNodePtr node, NSString *xpath_exp, NSDictionary *constants,
|
|||
|
||||
- (void) setObjectValue: (id)value
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setName: (NSString *)name
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setStringValue: (NSString*)string
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setStringValue: (NSString*)string resolvingEntities: (BOOL)resolve
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (void) setURI: (NSString*)URI
|
||||
{
|
||||
[self notImplemented: _cmd];
|
||||
}
|
||||
|
||||
- (NSString*) URI
|
||||
|
|
Loading…
Reference in a new issue