diff options
author | rowanbeentje <rowan@beent.je> | 2011-03-08 01:08:32 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-03-08 01:08:32 +0000 |
commit | 2a9b0987450a7dd60e824a9067c8aa8fd3d1ee5c (patch) | |
tree | bc4d83fe70582142fea71fd2465da88ebe725fb4 /Source/SPTableStructure.h | |
parent | cd06fc0c9c3713f12394a02f148158b4422b4aed (diff) | |
download | sequelpro-2a9b0987450a7dd60e824a9067c8aa8fd3d1ee5c.tar.gz sequelpro-2a9b0987450a7dd60e824a9067c8aa8fd3d1ee5c.tar.bz2 sequelpro-2a9b0987450a7dd60e824a9067c8aa8fd3d1ee5c.zip |
Fix more compiler warnings, including a few bugs
Diffstat (limited to 'Source/SPTableStructure.h')
-rw-r--r-- | Source/SPTableStructure.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/SPTableStructure.h b/Source/SPTableStructure.h index c7b47e1a..a08ddd15 100644 --- a/Source/SPTableStructure.h +++ b/Source/SPTableStructure.h @@ -25,13 +25,13 @@ #import <MCPKit/MCPKit.h> -@class SPTableFieldValidation; +@class SPDatabaseDocument, SPTableFieldValidation; @interface SPTableStructure : NSObject { IBOutlet id tablesListInstance; IBOutlet id tableDataInstance; - IBOutlet id tableDocumentInstance; + IBOutlet SPDatabaseDocument *tableDocumentInstance; IBOutlet id tableInfoInstance; IBOutlet id extendedTableInfoInstance; IBOutlet id indexesController; @@ -57,7 +57,7 @@ IBOutlet NSButton *indexesShowButton; IBOutlet id viewColumnsMenu; - IBOutlet id encodingPopupCell; + IBOutlet NSPopUpButtonCell *encodingPopupCell; MCPConnection *mySQLConnection; MCPResult *tableSourceResult; @@ -89,7 +89,9 @@ - (IBAction)addField:(id)sender; - (IBAction)copyField:(id)sender; - (IBAction)removeField:(id)sender; +- (void)removeFieldSheetDidEnd:(NSAlert *)alert returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo; - (IBAction)resetAutoIncrement:(id)sender; +- (void)resetAutoincrementSheetDidEnd:(NSWindow *)theSheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo; - (IBAction)showOptimizedFieldType:(id)sender; - (IBAction)toggleColumnView:(id)sender; - (BOOL)cancelRowEditing; @@ -102,6 +104,7 @@ - (NSArray *)fetchResultAsArray:(MCPResult *)theResult; - (BOOL)saveRowOnDeselect; - (BOOL)addRowToDB; +- (void)addRowErrorSheetDidEnd:(NSAlert *)alert returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo; - (void)setAutoIncrementTo:(NSString*)valueAsString; // Accessors |