mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 19:01:15 +00:00
Add skeleton protocol methods
This commit is contained in:
parent
574c10e6f0
commit
49eb1a3800
2 changed files with 26 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -45,6 +45,11 @@
|
|||
return self;
|
||||
}
|
||||
|
||||
+ (NSArray *) readableTypesForPasteboard: (NSPasteboard *)pasteboard
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
// NSPasteboardReading protocol -- end
|
||||
|
||||
- (void) dealloc
|
||||
|
|
Loading…
Reference in a new issue