Add skeleton protocol methods

This commit is contained in:
Gregory John Casamento 2024-05-06 15:23:32 -04:00
parent 574c10e6f0
commit 49eb1a3800
2 changed files with 26 additions and 6 deletions

View file

@ -1,21 +1,21 @@
/* Implementation of class NSFilePromiseProvider
Copyright (C) 2024 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: 05-05-2024
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
@ -38,10 +38,16 @@
ASSIGN(_fileType, fileType);
_delegate = delegate;
}
return self;
}
- (void) dealloc
{
RELEASE(_fileType);
[super dealloc];
}
- (id<NSFilePromiseProviderDelegate>) delegate
{
return _delegate;
@ -72,5 +78,14 @@
ASSIGN(_userInfo, userInfo);
}
@end
- (NSArray *) writableTypesForPasteboard: (NSPasteboard *)pasteboard
{
return nil;
}
- (id) pasteboardPropertyListForType: (NSString *)type
{
return nil;
}
@end

View file

@ -45,6 +45,11 @@
return self;
}
+ (NSArray *) readableTypesForPasteboard: (NSPasteboard *)pasteboard
{
return nil;
}
// NSPasteboardReading protocol -- end
- (void) dealloc