From 6eaeee8d11028cc626bcef2dd8dd2ceaabafe2a2 Mon Sep 17 00:00:00 2001 From: sqlprodev Date: Tue, 1 Mar 2011 18:43:49 +0000 Subject: fixed compiler warnings --- Source/SPDatabaseViewController.h | 1 - Source/SPDatabaseViewController.m | 9 ++++++++- Source/SPWindow.m | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'Source') 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 +#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 #import "SPWindow.h" - +#import "SPWindowController.h" @implementation SPWindow -- cgit v1.2.3