mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17050 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3393409b33
commit
958313492a
2 changed files with 5 additions and 39 deletions
|
@ -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).
|
||||
|
|
40
Tools/gpbs.m
40
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<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];
|
||||
|
|
Loading…
Reference in a new issue