diff options
author | stuconnolly <stuart02@gmail.com> | 2012-03-18 20:05:36 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-03-18 20:05:36 +0000 |
commit | 524e8c356b4074f5be5933b0551374a130a8f6d1 (patch) | |
tree | 0dab40735f2d9484930050cd08376cbf15e4ea55 /Source/SPConstants.m | |
parent | be3263f8158cb6f3dfa1005f49beefa7e494b852 (diff) | |
download | sequelpro-524e8c356b4074f5be5933b0551374a130a8f6d1.tar.gz sequelpro-524e8c356b4074f5be5933b0551374a130a8f6d1.tar.bz2 sequelpro-524e8c356b4074f5be5933b0551374a130a8f6d1.zip |
Bring outline view branch up to date with trunk (r3471:r3517).
Diffstat (limited to 'Source/SPConstants.m')
-rw-r--r-- | Source/SPConstants.m | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Source/SPConstants.m b/Source/SPConstants.m index 1ce6181b..01adcab2 100644 --- a/Source/SPConstants.m +++ b/Source/SPConstants.m @@ -31,6 +31,11 @@ const NSUInteger SPNarrowDownCompletionMaxRows = 15; // Default monospaced font name NSString *SPDefaultMonospacedFontName = @"Monaco"; +// System database names +NSString *SPMySQLDatabase = @"mysql"; +NSString *SPMySQLInformationSchemaDatabase = @"information_schema"; +NSString *SPMySQLPerformanceSchemaDatabase = @"performance_schema"; + // Table view drag types NSString *SPDefaultPasteboardDragType = @"SequelProPasteboard"; NSString *SPFavoritesPasteboardDragType = @"SPFavoritesPasteboard"; @@ -216,7 +221,17 @@ NSString *SPMainToolbarTableInfo = @"SwitchToTableInfoToolbarIte NSString *SPMainToolbarTableRelations = @"SwitchToTableRelationsToolbarItemIdentifier"; NSString *SPMainToolbarTableTriggers = @"SwitchToTableTriggersToolbarItemIdentifier"; NSString *SPMainToolbarUserManager = @"SwitchToUserManagerToolbarItemIdentifier"; -NSString **SPViewModeToMainToolbarMap[] = {nil, &SPMainToolbarTableStructure, &SPMainToolbarTableContent, &SPMainToolbarCustomQuery, &SPMainToolbarTableInfo, &SPMainToolbarTableRelations, &SPMainToolbarTableTriggers}; + +NSString **SPViewModeToMainToolbarMap[] = +{ + nil, + &SPMainToolbarTableStructure, + &SPMainToolbarTableContent, + &SPMainToolbarCustomQuery, + &SPMainToolbarTableInfo, + &SPMainToolbarTableRelations, + &SPMainToolbarTableTriggers +}; // Preferences toolbar NSString *SPPreferenceToolbarGeneral = @"SPPreferenceToolbarGeneral"; @@ -376,7 +391,7 @@ const NSInteger SPBundleRedirectActionShowAsTextTooltip = 207; const NSInteger SPBundleRedirectActionShowAsHTMLTooltip = 208; const NSInteger SPBundleRedirectActionLastCode = 208; -// sequel URL scheme +// URL scheme NSString *SPURLSchemeQueryInputPathHeader = @"/tmp/SP_QUERY_"; NSString *SPURLSchemeQueryResultPathHeader = @"/tmp/SP_QUERY_RESULT_"; NSString *SPURLSchemeQueryResultStatusPathHeader = @"/tmp/SP_QUERY_RESULT_STATUS_"; |