Collapse two class extensions into one

This commit is contained in:
Allan Odgaard
2013-01-02 01:39:04 +01:00
parent 80379dcc06
commit 303ba070a4

View File

@@ -58,6 +58,8 @@ OAK_DEBUG_VAR(DocumentController);
@property (nonatomic, retain) NSString* representedFile;
@property (nonatomic, assign) BOOL isDocumentEdited;
@property (nonatomic, retain) DocumentController* retainedSelf;
@property (nonatomic, retain) OakFilterWindowController* filterWindowController;
@property (nonatomic, retain) NSString* pathAttributes;
- (id)initWithDocuments:(std::vector<document::document_ptr> const&)someDocuments;
- (void)updateProxyIcon;
- (void)takeTabsToTearOffFrom:(id)sender;
@@ -118,11 +120,6 @@ OAK_DEBUG_VAR(DocumentController);
// ============================
@interface DocumentController ()
@property (nonatomic, retain) OakFilterWindowController* filterWindowController;
@property (nonatomic, retain) NSString* pathAttributes;
@end
static document::document_ptr create_document (NSString* fileBrowserPath)
{
document::document_ptr doc = document::from_content("", settings_for_path(NULL_STR, file::path_attributes(NULL_STR), to_s(fileBrowserPath)).get(kSettingsFileTypeKey, "text.plain"));