mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-30 17:00:52 +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
268f138bc8
commit
14ae7d4767
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>
|
2003-06-25 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Tools/gpbs.1.gz: New file (from Martin Brecher).
|
* 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 owner;
|
||||||
id pboard;
|
id pboard;
|
||||||
NSMutableArray *items;
|
NSMutableArray *items;
|
||||||
BOOL hasBeenFiltered;
|
|
||||||
BOOL wantsChangedOwner;
|
BOOL wantsChangedOwner;
|
||||||
BOOL hasGNUDataForType;
|
BOOL hasGNUDataForType;
|
||||||
BOOL hasStdDataForType;
|
BOOL hasStdDataForType;
|
||||||
|
@ -239,7 +238,6 @@ NSMutableDictionary *pasteboards = nil;
|
||||||
ref: (int)count;
|
ref: (int)count;
|
||||||
- (void) addTypes: (NSArray*)types owner: (id)owner pasteboard: (id)pb;
|
- (void) addTypes: (NSArray*)types owner: (id)owner pasteboard: (id)pb;
|
||||||
- (BOOL) checkConnection: (NSConnection*)c;
|
- (BOOL) checkConnection: (NSConnection*)c;
|
||||||
- (BOOL) hasBeenFiltered;
|
|
||||||
- (PasteboardData*) itemForType: (NSString*)type;
|
- (PasteboardData*) itemForType: (NSString*)type;
|
||||||
- (void) lostOwnership;
|
- (void) lostOwnership;
|
||||||
- (id) owner;
|
- (id) owner;
|
||||||
|
@ -402,11 +400,6 @@ NSMutableDictionary *pasteboards = nil;
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) hasBeenFiltered
|
|
||||||
{
|
|
||||||
return hasBeenFiltered;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (PasteboardData*) itemForType: (NSString*)type
|
- (PasteboardData*) itemForType: (NSString*)type
|
||||||
{
|
{
|
||||||
unsigned i, count;
|
unsigned i, count;
|
||||||
|
@ -898,13 +891,7 @@ NSMutableDictionary *pasteboards = nil;
|
||||||
- (BOOL) connection: (NSConnection*)ancestor
|
- (BOOL) connection: (NSConnection*)ancestor
|
||||||
shouldMakeNewConnection: (NSConnection*)newConn;
|
shouldMakeNewConnection: (NSConnection*)newConn;
|
||||||
- (id) connectionBecameInvalid: (NSNotification*)notification;
|
- (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>) pasteboardWithName: (NSString*)name;
|
||||||
- (id<GSPasteboardObj>) pasteboardWithUniqueName;
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
@ -981,36 +968,11 @@ NSMutableDictionary *pasteboards = nil;
|
||||||
return self;
|
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
|
- (id<GSPasteboardObj>) pasteboardWithName: (NSString*)name
|
||||||
{
|
{
|
||||||
return [PasteboardObject pasteboardWithName: name];
|
return [PasteboardObject pasteboardWithName: name];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id<GSPasteboardObj>) pasteboardWithUniqueName
|
|
||||||
{
|
|
||||||
return [PasteboardObject pasteboardWithName: nil];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (NSArray*) typesFilterableTo: (NSString*)type
|
|
||||||
{
|
|
||||||
[self notImplemented: _cmd];
|
|
||||||
return nil;
|
|
||||||
}
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
@ -1227,7 +1189,7 @@ main(int argc, char** argv, char **env)
|
||||||
|
|
||||||
if (host == nil)
|
if (host == nil)
|
||||||
{
|
{
|
||||||
NSLog(@"gdnc - unknown NSHost argument ... %@ - quiting.", hostname);
|
NSLog(@"gpbs - unknown NSHost argument ... %@ - quiting.", hostname);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
a = [host names];
|
a = [host names];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue