git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17050 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2003-06-27 14:55:54 +00:00
parent 3393409b33
commit 958313492a
2 changed files with 5 additions and 39 deletions

View file

@ -1,3 +1,7 @@
2003-06-27 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gpbs.m: Removed unused methods no longer in protocol.
2003-06-25 Adam Fedor <fedor@gnu.org>
* Tools/gpbs.1.gz: New file (from Martin Brecher).

View file

@ -228,7 +228,6 @@ NSMutableDictionary *pasteboards = nil;
id owner;
id pboard;
NSMutableArray *items;
BOOL hasBeenFiltered;
BOOL wantsChangedOwner;
BOOL hasGNUDataForType;
BOOL hasStdDataForType;
@ -239,7 +238,6 @@ NSMutableDictionary *pasteboards = nil;
ref: (int)count;
- (void) addTypes: (NSArray*)types owner: (id)owner pasteboard: (id)pb;
- (BOOL) checkConnection: (NSConnection*)c;
- (BOOL) hasBeenFiltered;
- (PasteboardData*) itemForType: (NSString*)type;
- (void) lostOwnership;
- (id) owner;
@ -402,11 +400,6 @@ NSMutableDictionary *pasteboards = nil;
[super dealloc];
}
- (BOOL) hasBeenFiltered
{
return hasBeenFiltered;
}
- (PasteboardData*) itemForType: (NSString*)type
{
unsigned i, count;
@ -898,13 +891,7 @@ NSMutableDictionary *pasteboards = nil;
- (BOOL) connection: (NSConnection*)ancestor
shouldMakeNewConnection: (NSConnection*)newConn;
- (id) connectionBecameInvalid: (NSNotification*)notification;
- (id<GSPasteboardObj>) pasteboardByFilteringData: (NSData*)data
ofType: (NSString*)type
isFile: (BOOL)flag;
- (id<GSPasteboardObj>) pasteboardByFilteringTypesInPasteboard: pb;
- (id<GSPasteboardObj>) pasteboardWithName: (NSString*)name;
- (id<GSPasteboardObj>) pasteboardWithUniqueName;
@end
@ -981,36 +968,11 @@ NSMutableDictionary *pasteboards = nil;
return self;
}
- (id<GSPasteboardObj>) pasteboardByFilteringData: (NSData*)data
ofType: (NSString*)type
isFile: (BOOL)flag
{
[self notImplemented: _cmd];
return nil;
}
- (id<GSPasteboardObj>) pasteboardByFilteringTypesInPasteboard: pb
{
[self notImplemented: _cmd];
return nil;
}
- (id<GSPasteboardObj>) pasteboardWithName: (NSString*)name
{
return [PasteboardObject pasteboardWithName: name];
}
- (id<GSPasteboardObj>) pasteboardWithUniqueName
{
return [PasteboardObject pasteboardWithName: nil];
}
- (NSArray*) typesFilterableTo: (NSString*)type
{
[self notImplemented: _cmd];
return nil;
}
@end
@ -1227,7 +1189,7 @@ main(int argc, char** argv, char **env)
if (host == nil)
{
NSLog(@"gdnc - unknown NSHost argument ... %@ - quiting.", hostname);
NSLog(@"gpbs - unknown NSHost argument ... %@ - quiting.", hostname);
exit(EXIT_FAILURE);
}
a = [host names];