mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-30 11:20:48 +00:00
Added methods to be called by the server to get a local pasteboard object
to ask its owner for more data. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2416 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
547e06350e
commit
c1aeecc511
1 changed files with 7 additions and 1 deletions
|
@ -73,6 +73,7 @@ extern NSString *NSPasteboardCommunicationException;
|
||||||
NSString* name; // The name of this pasteboard.
|
NSString* name; // The name of this pasteboard.
|
||||||
int changeCount; // What we think the current count is.
|
int changeCount; // What we think the current count is.
|
||||||
id target; // Proxy to the object in the server.
|
id target; // Proxy to the object in the server.
|
||||||
|
id owner; // Local pasteboard owner.
|
||||||
BOOL useHistory; // Want strict OPENSTEP?
|
BOOL useHistory; // Want strict OPENSTEP?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -133,12 +134,17 @@ extern NSString *NSPasteboardCommunicationException;
|
||||||
// Methods Implemented by the Owner
|
// Methods Implemented by the Owner
|
||||||
//
|
//
|
||||||
- (void)pasteboard:(NSPasteboard *)sender
|
- (void)pasteboard:(NSPasteboard *)sender
|
||||||
provideDataForType:(NSString *)type;
|
provideDataForType:(NSString *)type;
|
||||||
|
- (void)pasteboard:(NSPasteboard *)sender
|
||||||
|
provideDataForType:(NSString *)type
|
||||||
|
andVersion:(int)ver;
|
||||||
- (void)pasteboardChangedOwner:(NSPasteboard *)sender;
|
- (void)pasteboardChangedOwner:(NSPasteboard *)sender;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface NSPasteboard (GNUstepExtensions)
|
@interface NSPasteboard (GNUstepExtensions)
|
||||||
|
- (id)askOwner:(id)obj toProvideDataForType:(NSString*)t;
|
||||||
|
- (id)askOwner:(id)obj toProvideDataForType:(NSString*)t andVersion:(int)v;
|
||||||
- (void)setChangeCount: (int)changeCount;
|
- (void)setChangeCount: (int)changeCount;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue