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:
richard 1997-09-01 20:16:03 +00:00
parent 20143b9042
commit 1405f859bd

View file

@ -62,9 +62,18 @@ extern NSString *NSFontPboard;
extern NSString *NSGeneralPboard;
extern NSString *NSRulerPboard;
//
// Pasteboard Exceptions
//
extern NSString *NSPasteboardCommunicationException;
@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
@interface NSPasteboard (GNUstepExtensions)
- (void)setChangeCount: (int)changeCount;
@end
//
// Return File-related Pasteboard Types
//