From ac9d72de919bf814574552a6af4105436a29ada8 Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Mon, 1 Sep 1997 20:16:03 +0000 Subject: [PATCH] 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 --- Headers/gnustep/gui/NSPasteboard.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Headers/gnustep/gui/NSPasteboard.h b/Headers/gnustep/gui/NSPasteboard.h index 1d0ac1242..2517a691e 100644 --- a/Headers/gnustep/gui/NSPasteboard.h +++ b/Headers/gnustep/gui/NSPasteboard.h @@ -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 //