Files
textmate/Frameworks/DocumentWindow/src/DocumentSaveHelper.h
2013-04-25 15:33:32 +07:00

9 lines
538 B
Objective-C

#import <document/document.h>
@interface DocumentSaveHelper : NSObject
+ (void)trySaveDocuments:(std::vector<document::document_ptr> const&)someDocuments forWindow:(NSWindow*)aWindow defaultDirectory:(NSString*)aFolder completionHandler:(void(^)(BOOL success))callback;
+ (void)trySaveDocument:(document::document_ptr const&)aDocument forWindow:(NSWindow*)aWindow defaultDirectory:(NSString*)aFolder completionHandler:(void(^)(BOOL success))callback;
@end
NSString* DefaultSaveNameForDocument (document::document_ptr const& aDocument);