From 14ae7d4767bb6f543c1ba1b9ec20759500b43e7d Mon Sep 17 00:00:00 2001 From: Richard Frith-Macdonald Date: Fri, 27 Jun 2003 14:55:54 +0000 Subject: [PATCH] Tidyup git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17050 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 4 ++++ Tools/gpbs.m | 40 +--------------------------------------- 2 files changed, 5 insertions(+), 39 deletions(-) diff --git a/ChangeLog b/ChangeLog index 96ad2bc..7060c5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-06-27 Richard Frith-Macdonald + + * Tools/gpbs.m: Removed unused methods no longer in protocol. + 2003-06-25 Adam Fedor * Tools/gpbs.1.gz: New file (from Martin Brecher). diff --git a/Tools/gpbs.m b/Tools/gpbs.m index 7888b81..10bf362 100644 --- a/Tools/gpbs.m +++ b/Tools/gpbs.m @@ -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) pasteboardByFilteringData: (NSData*)data - ofType: (NSString*)type - isFile: (BOOL)flag; -- (id) pasteboardByFilteringTypesInPasteboard: pb; - (id) pasteboardWithName: (NSString*)name; -- (id) pasteboardWithUniqueName; @end @@ -981,36 +968,11 @@ NSMutableDictionary *pasteboards = nil; return self; } -- (id) pasteboardByFilteringData: (NSData*)data - ofType: (NSString*)type - isFile: (BOOL)flag -{ - [self notImplemented: _cmd]; - return nil; -} - -- (id) pasteboardByFilteringTypesInPasteboard: pb -{ - [self notImplemented: _cmd]; - return nil; -} - - (id) pasteboardWithName: (NSString*)name { return [PasteboardObject pasteboardWithName: name]; } -- (id) 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];