diff options
author | rowanbeentje <rowan@beent.je> | 2011-03-07 01:49:27 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-03-07 01:49:27 +0000 |
commit | 2d3228958dc5d4fc78bbc2bb6a60c48299ddd0df (patch) | |
tree | 0026f10d050eec35dec6d88a3273f991cc7bf36b /Source/SPTableContent.h | |
parent | 3ad653d83d064413051c48da6e4c40f4f979f870 (diff) | |
download | sequelpro-2d3228958dc5d4fc78bbc2bb6a60c48299ddd0df.tar.gz sequelpro-2d3228958dc5d4fc78bbc2bb6a60c48299ddd0df.tar.bz2 sequelpro-2d3228958dc5d4fc78bbc2bb6a60c48299ddd0df.zip |
Fix more compiler warnings, including a few bugs
Diffstat (limited to 'Source/SPTableContent.h')
-rw-r--r-- | Source/SPTableContent.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/SPTableContent.h b/Source/SPTableContent.h index 4510d9be..6c0f2ab7 100644 --- a/Source/SPTableContent.h +++ b/Source/SPTableContent.h @@ -27,11 +27,11 @@ #import <MCPKit/MCPKit.h> -@class SPCopyTable, SPTextAndLinkCell, SPHistoryController, SPTableInfo, SPDataStorage, SPTextView, SPFieldEditorController; +@class SPDatabaseDocument, SPCopyTable, SPTextAndLinkCell, SPHistoryController, SPTableInfo, SPDataStorage, SPTextView, SPFieldEditorController; @interface SPTableContent : NSObject { - IBOutlet id tableDocumentInstance; + IBOutlet SPDatabaseDocument *tableDocumentInstance; IBOutlet id tablesListInstance; IBOutlet id tableDataInstance; IBOutlet id tableSourceInstance; @@ -172,6 +172,7 @@ - (IBAction)addRow:(id)sender; - (IBAction)copyRow:(id)sender; - (IBAction)removeRow:(id)sender; +- (void)removeRowSheetDidEnd:(NSAlert *)alert returnCode:(NSInteger)returnCode contextInfo:(NSString *)contextInfo; // Filter Table - (IBAction)tableFilterClear:(id)sender; @@ -198,6 +199,7 @@ - (IBAction)setCompareTypes:(id)sender; - (void)processResultIntoDataStorage:(MCPStreamingResult *)theResult approximateRowCount:(NSUInteger)targetRowCount; - (BOOL)saveRowToTable; +- (void) addRowErrorSheetDidEnd:(NSAlert *)alert returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo; - (NSString *)argumentForRow:(NSInteger)row; - (NSString *)argumentForRow:(NSInteger)row excludingLimits:(BOOL)excludeLimits; - (NSString *)argumentForRow:(NSUInteger)rowIndex ofTable:(NSString *)tableForColumn andDatabase:(NSString *)database includeBlobs:(BOOL)includeBlobs; @@ -208,6 +210,7 @@ - (void)autosizeColumns; - (BOOL)saveRowOnDeselect; - (void)sortTableTaskWithColumn:(NSTableColumn *)tableColumn; +- (void)showErrorSheetWith:(id)error; - (void)processFieldEditorResult:(id)data contextInfo:(NSDictionary*)contextInfo; // Retrieving and setting table state |