aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2011-03-01 18:43:49 +0000
committersqlprodev <sqlprodev@northofthree.com>2011-03-01 18:43:49 +0000
commit6eaeee8d11028cc626bcef2dd8dd2ceaabafe2a2 (patch)
tree22e610979545f0cd7aa12c8ca077978c7f3bc196 /Source
parenta66a4d278558b4b66834f45b59ffa605f2b87861 (diff)
downloadsequelpro-6eaeee8d11028cc626bcef2dd8dd2ceaabafe2a2.tar.gz
sequelpro-6eaeee8d11028cc626bcef2dd8dd2ceaabafe2a2.tar.bz2
sequelpro-6eaeee8d11028cc626bcef2dd8dd2ceaabafe2a2.zip
fixed compiler warnings
Diffstat (limited to 'Source')
-rw-r--r--Source/SPDatabaseViewController.h1
-rw-r--r--Source/SPDatabaseViewController.m9
-rw-r--r--Source/SPWindow.m2
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