diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-10-07 07:12:30 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-10-07 07:12:30 +0000 |
commit | 267cdf7483a17b902d28c2b4e9ca136db9efd2bb (patch) | |
tree | 6de523f235265a6d4d04a87e67c889e028d50a99 /Source/TableDocument.h | |
parent | 6269e47fcf89cf3fb6d01184064dface1d163c05 (diff) | |
download | sequelpro-267cdf7483a17b902d28c2b4e9ca136db9efd2bb.tar.gz sequelpro-267cdf7483a17b902d28c2b4e9ca136db9efd2bb.tar.bz2 sequelpro-267cdf7483a17b902d28c2b4e9ca136db9efd2bb.zip |
• some minor code cleaning and simplification
Diffstat (limited to 'Source/TableDocument.h')
-rw-r--r-- | Source/TableDocument.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/TableDocument.h b/Source/TableDocument.h index 37f8ca60..465d49b7 100644 --- a/Source/TableDocument.h +++ b/Source/TableDocument.h @@ -150,6 +150,8 @@ enum sp_current_query_mode - (NSString *)getHTMLforPrint; +- (BOOL)isUntitled; + - (void)initQueryEditorWithString:(NSString *)query; - (void)initWithConnectionFile:(NSString *)path; // Connection callback and methods @@ -183,7 +185,6 @@ enum sp_current_query_mode // Table methods - (IBAction)showCreateTableSyntax:(id)sender; - (IBAction)copyCreateTableSyntax:(id)sender; -- (NSArray *)columnNames; - (IBAction)checkTable:(id)sender; - (IBAction)analyzeTable:(id)sender; - (IBAction)optimizeTable:(id)sender; @@ -195,7 +196,6 @@ enum sp_current_query_mode // Other methods - (void) setQueryMode:(int)theQueryMode; -- (NSString *)host; - (IBAction)closeSheet:(id)sender; - (IBAction)closeErrorConnectionSheet:(id)sender; - (IBAction)closePanelSheet:(id)sender; @@ -217,6 +217,7 @@ enum sp_current_query_mode - (IBAction)showUserManager:(id)sender; // Getter methods +- (NSString *)host; - (NSString *)name; - (NSString *)database; - (NSString *)table; @@ -224,6 +225,7 @@ enum sp_current_query_mode - (NSString *)user; - (NSString *)displaySPName; - (NSString *)keyChainID; +- (NSArray *)columnNames; // Notification center methods - (void)willPerformQuery:(NSNotification *)notification; |