diff options
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 674410d2..7fa35505 100644 --- a/Source/SPConstants.m +++ b/Source/SPConstants.m @@ -35,6 +35,11 @@ NSString *SPKillProcessConnectionMode = @"SPKillProcessConnectionMode // 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"; @@ -226,7 +231,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"; @@ -383,7 +398,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_"; |