File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Quicksilver/Code-QuickStepCore Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ extern NSString *QSPasteboardObjectAddress;
1616- (id )initWithClipping : (NSString *)clippingFile ;
1717- (void )guessName ;
1818- (BOOL )putOnPasteboardAsPlainTextOnly : (NSPasteboard *)pboard ;
19+ - (BOOL )putOnPasteboard : (NSPasteboard *)pboard includeDataForTypes : (NSArray *)includeTypes ; __deprecated;
20+ - (BOOL )putOnPasteboard : (NSPasteboard *)pboard declareTypes : (NSArray *)types includeDataForTypes : (NSArray *)includeTypes ; __deprecated;
1921- (BOOL )putOnPasteboard : (NSPasteboard *)pboard ;
2022- (NSData *)dataForType : (NSString *)dataType ;
2123- (void )addContentsOfClipping : (NSString *)path ;
Original file line number Diff line number Diff line change @@ -272,6 +272,17 @@ - (BOOL)putOnPasteboardAsPlainTextOnly:(NSPasteboard *)pboard {
272272 return YES ;
273273}
274274
275+ - (BOOL )putOnPasteboard: (NSPasteboard *)pboard declareTypes: (NSArray *)pbTypes includeDataForTypes: (NSArray *)includeTypes {
276+ NSLog (@" WARNING: This method is deprecated, ignoring the declareTypes and includeTypes parameters" );
277+ return [self putOnPasteboard: pboard];
278+ }
279+
280+ - (BOOL )putOnPasteboard: (NSPasteboard *)pboard includeDataForTypes: (NSArray *)includeTypes {
281+ NSLog (@" WARNING: This method is deprecated, ignoring the includeTypes parameter" );
282+ return [self putOnPasteboard: pboard];
283+ }
284+
285+
275286- (BOOL )putOnPasteboard: (NSPasteboard *)pboard {
276287 [pboard clearContents ];
277288 [pboard writeObjects: [self splitObjects ]];
You can’t perform that action at this time.
0 commit comments