mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 17:12:24 +00:00
I have made some extensions to the NSPasteboard interface to permit a
'history' of items on the pasteboard. If I have got this correct, there should be no effect on normal OpenStep apps, but apps aware of this extension may refer to data in old pasteboard items. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2401 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
20143b9042
commit
1405f859bd
1 changed files with 14 additions and 1 deletions
|
@ -62,9 +62,18 @@ extern NSString *NSFontPboard;
|
||||||
extern NSString *NSGeneralPboard;
|
extern NSString *NSGeneralPboard;
|
||||||
extern NSString *NSRulerPboard;
|
extern NSString *NSRulerPboard;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Pasteboard Exceptions
|
||||||
|
//
|
||||||
|
extern NSString *NSPasteboardCommunicationException;
|
||||||
|
|
||||||
|
|
||||||
@interface NSPasteboard : NSObject
|
@interface NSPasteboard : NSObject
|
||||||
{
|
{
|
||||||
// Attributes
|
NSString* name; // The name of this pasteboard.
|
||||||
|
int changeCount; // What we think the current count is.
|
||||||
|
id target; // Proxy to the object in the server.
|
||||||
|
BOOL useHistory; // Want strict OPENSTEP?
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -129,6 +138,10 @@ extern NSString *NSRulerPboard;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@interface NSPasteboard (GNUstepExtensions)
|
||||||
|
- (void)setChangeCount: (int)changeCount;
|
||||||
|
@end
|
||||||
|
|
||||||
//
|
//
|
||||||
// Return File-related Pasteboard Types
|
// Return File-related Pasteboard Types
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue