diff options
author | stuconnolly <stuart02@gmail.com> | 2009-04-05 20:22:04 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-04-05 20:22:04 +0000 |
commit | cb406e22d30aaf6dc62ea0917943adb555a8b3e6 (patch) | |
tree | ea0dbea2809a952ba529091b643f9dfc619e4a0b /Source/SPQueryConsole.h | |
parent | 5a1f162168e2228be7976842441080b3fc5d00e0 (diff) | |
download | sequelpro-cb406e22d30aaf6dc62ea0917943adb555a8b3e6.tar.gz sequelpro-cb406e22d30aaf6dc62ea0917943adb555a8b3e6.tar.bz2 sequelpro-cb406e22d30aaf6dc62ea0917943adb555a8b3e6.zip |
Fix an issue where by the show/hide console menu item was not being updated when the toolbar item was used. Also add more interface validation by only enabling the 'Clear Console' menu and toolbar items when there is at least one message in the console.
Diffstat (limited to 'Source/SPQueryConsole.h')
-rw-r--r-- | Source/SPQueryConsole.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/SPQueryConsole.h b/Source/SPQueryConsole.h index 65d716d4..155517f7 100644 --- a/Source/SPQueryConsole.h +++ b/Source/SPQueryConsole.h @@ -24,14 +24,14 @@ @interface SPQueryConsole : NSWindowController { - NSFont *consoleFont; - NSMutableArray *messages, *messagesActiveSet, *messagesFilterSet, *messagesSubset; - IBOutlet NSView *saveLogView; IBOutlet NSTableView *consoleTableView; IBOutlet NSSearchField *consoleSearchField; IBOutlet NSProgressIndicator *progressIndicator; IBOutlet NSButton *includeTimeStampsButton, *saveConsoleButton, *clearConsoleButton; + + NSFont *consoleFont; + NSMutableArray *messages, *messagesActiveSet, *messagesFilterSet, *messagesSubset; } @property (readwrite, retain) NSFont *consoleFont; @@ -47,4 +47,6 @@ - (void)showMessageInConsole:(NSString *)message; - (void)showErrorInConsole:(NSString *)error; +- (NSUInteger)consoleMessageCount; + @end |