aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-12 14:16:26 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-12 14:16:26 +0000
commit0e626a9d470fe74612ad7a638251e01efbbc5973 (patch)
tree2c148cb488116acd5b6081cfa988f85dc4eac012 /Source/SPConstants.m
parent82dc37b6eda159fa5f032a0bbd4eb2e9e6022e58 (diff)
downloadsequelpro-0e626a9d470fe74612ad7a638251e01efbbc5973.tar.gz
sequelpro-0e626a9d470fe74612ad7a638251e01efbbc5973.tar.bz2
sequelpro-0e626a9d470fe74612ad7a638251e01efbbc5973.zip
• added constants for Bundle Files and Editor
• added URL scheme constants
Diffstat (limited to 'Source/SPConstants.m')
-rw-r--r--Source/SPConstants.m36
1 files changed, 36 insertions, 0 deletions
diff --git a/Source/SPConstants.m b/Source/SPConstants.m
index 874200d2..22653a67 100644
--- a/Source/SPConstants.m
+++ b/Source/SPConstants.m
@@ -241,3 +241,39 @@ NSString *SPFavoriteSSLCertificateFileLocationEnabledKey = @"sslCertificateFileL
NSString *SPFavoriteSSLCertificateFileLocationKey = @"sslCertificateFileLocation";
NSString *SPFavoriteSSLCACertFileLocationEnabledKey = @"sslCACertFileLocationEnabled";
NSString *SPFavoriteSSLCACertFileLocationKey = @"sslCACertFileLocation";
+
+// Bundle Files and Bundle Editor
+NSString *SPBundleScopeQueryEditor = @"editor";
+NSString *SPBundleScopeDataTable = @"dataTable";
+NSString *SPBundleScopeInputField = @"inputField";
+NSString *SPBundleScopeGeneral = @"general";
+NSString *SPBundleInputSourceSelectedText = @"selectedText";
+NSString *SPBundleInputSourceEntireContent = @"entireContent";
+NSString *SPBundleInputSourceCurrentWord = @"currentWord";
+NSString *SPBundleInputSourceCurrentQuery = @"currentQuery";
+NSString *SPBundleInputSourceCurrentLine = @"currentLine";
+NSString *SPBundleInputSourceNone = @"None";
+NSString *SPBundleOutputActionNone = @"None";
+NSString *SPBundleOutputActionInsertAsText = @"insertAsText";
+NSString *SPBundleOutputActionInsertAsSnippet = @"insertAsSnippet";
+NSString *SPBundleOutputActionReplaceSelection = @"replaceSelection";
+NSString *SPBundleOutputActionReplaceContent = @"replaceContent";
+NSString *SPBundleOutputActionShowAsTextTooltip = @"showAsTextTooltip";
+NSString *SPBundleOutputActionShowAsHTMLTooltip = @"showAsHTMLTooltip";
+NSString *SPBundleFileCommandKey = @"command";
+NSString *SPBundleFileScopeKey = @"scope";
+NSString *SPBundleFileNameKey = @"name";
+NSString *SPBundleFileCategoryKey = @"category";
+NSString *SPBundleFileInputSourceKey = @"input";
+NSString *SPBundleFileInputSourceFallBackKey = @"input_fallback";
+NSString *SPBundleFileOutputActionKey = @"output";
+NSString *SPBundleFileKeyEquivalentKey = @"keyEquivalent";
+NSString *SPBundleFileTooltipKey = @"tooltip";
+NSString *SPBundleFileName = @"info.plist";
+NSString *SPBundleTaskInputFilePath = @"/tmp/SP_BUNDLE_TASK_INPUT";
+
+// sequel URL scheme
+NSString *SPURLSchemeQueryInputPathHeader = @"/tmp/SP_QUERY_";
+NSString *SPURLSchemeQueryResultPathHeader = @"/tmp/SP_QUERY_RESULT_";
+NSString *SPURLSchemeQueryResultStatusPathHeader = @"/tmp/SP_QUERY_STATUS_";
+NSString *SPURLSchemeQueryResultMetaPathHeader = @"/tmp/SP_QUERY_META_";