aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-04-30 21:28:40 +0000
committerBibiko <bibiko@eva.mpg.de>2009-04-30 21:28:40 +0000
commitc6d9ccf48dcc12c907fd6e86035b5964972ab881 (patch)
tree0619736b463a946653f847e45a24186e5d5b2d5b /Source/CustomQuery.h
parente322bb1f2baf8c5f91ab6d676e81c682e93291ea (diff)
downloadsequelpro-c6d9ccf48dcc12c907fd6e86035b5964972ab881.tar.gz
sequelpro-c6d9ccf48dcc12c907fd6e86035b5964972ab881.tar.bz2
sequelpro-c6d9ccf48dcc12c907fd6e86035b5964972ab881.zip
• added "MySQL Help" to the MainMenu > Help submenu
- it shows the MySQL Help TOC of the front most tableDocument mysql connection, i.e. each tableDocument has its own Help window (due to the fact that the Help is version specific), and makes it the keyWindow - changed the way for getting the mySQLversion into the CustomQuery; now a new tableDocument set it via [customQueryInstance setMySQLversion:foo]; the other way was to unsafe regarding to get the version if MySQL Help was invoked via MainMenu • Help window and Create Table Syntax window will be released while closing the tableDocument
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r--Source/CustomQuery.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h
index 1fae3b5d..72cc749c 100644
--- a/Source/CustomQuery.h
+++ b/Source/CustomQuery.h
@@ -31,6 +31,8 @@
#import "CMMCPResult.h"
#import "RegexKitLite.h"
+#define SP_HELP_TOC_SEARCH_STRING @"contents"
+
@interface CustomQuery : NSObject {
IBOutlet id tableWindow;
@@ -123,6 +125,8 @@
- (void)showHelpFor:(NSString *)aString addToHistory:(BOOL)addToHistory;
- (void)helpTargetValidation;
- (void)openMySQLonlineDocumentationWithString:(NSString *)searchString;
+- (NSWindow *)helpWebViewWindow;
+- (void)setMySQLversion:(NSString *)theVersion;
// Other