diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPDatabaseViewController.h | 1 | ||||
-rw-r--r-- | Source/SPDatabaseViewController.m | 9 | ||||
-rw-r--r-- | Source/SPWindow.m | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/Source/SPDatabaseViewController.h b/Source/SPDatabaseViewController.h index 14dd5e88..c19b7dcc 100644 --- a/Source/SPDatabaseViewController.h +++ b/Source/SPDatabaseViewController.h @@ -29,7 +29,6 @@ @interface SPDatabaseDocument (SPDatabaseViewController) // Getters -- (NSView *)parentView; - (NSString *)table; - (NSInteger)tableType; - (BOOL)structureLoaded; diff --git a/Source/SPDatabaseViewController.m b/Source/SPDatabaseViewController.m index a6600d3f..f0c5acb7 100644 --- a/Source/SPDatabaseViewController.m +++ b/Source/SPDatabaseViewController.m @@ -23,8 +23,15 @@ // // More info at <http://code.google.com/p/sequel-pro/> +#import "SPAppController.h" +#import "SPBundleHTMLOutputController.h" +#import "SPCopyTable.h" #import "SPDatabaseViewController.h" +#import "SPHistoryController.h" +#import "SPTableContent.h" #import "SPTableData.h" +#import "SPTablesList.h" +#import "SPTableTriggers.h" @interface SPDatabaseDocument (SPDatabaseViewControllerPrivateAPI) @@ -490,7 +497,7 @@ // For HTML output check if corresponding window already exists BOOL stopTrigger = NO; - if([[data objectAtIndex:2] length]) { + if([(NSString*)[data objectAtIndex:2] length]) { BOOL correspondingWindowFound = NO; NSString *uuid = [data objectAtIndex:2]; for(id win in [NSApp windows]) { diff --git a/Source/SPWindow.m b/Source/SPWindow.m index 8f2354db..f7dab66e 100644 --- a/Source/SPWindow.m +++ b/Source/SPWindow.m @@ -23,7 +23,7 @@ // More info at <http://code.google.com/p/sequel-pro/> #import "SPWindow.h" - +#import "SPWindowController.h" @implementation SPWindow |