aboutsummaryrefslogtreecommitdiffstats
path: root/Source
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
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')
-rw-r--r--Source/SPConstants.h36
-rw-r--r--Source/SPConstants.m36
2 files changed, 72 insertions, 0 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h
index c90cfe2d..f320bd3e 100644
--- a/Source/SPConstants.h
+++ b/Source/SPConstants.h
@@ -421,3 +421,39 @@ extern NSString *SPFavoriteSSLCertificateFileLocationEnabledKey;
extern NSString *SPFavoriteSSLCertificateFileLocationKey;
extern NSString *SPFavoriteSSLCACertFileLocationEnabledKey;
extern NSString *SPFavoriteSSLCACertFileLocationKey;
+
+// Bundle Files and Bundle Editor
+extern NSString *SPBundleScopeQueryEditor;
+extern NSString *SPBundleScopeDataTable;
+extern NSString *SPBundleScopeInputField;
+extern NSString *SPBundleScopeGeneral;
+extern NSString *SPBundleInputSourceSelectedText;
+extern NSString *SPBundleInputSourceEntireContent;
+extern NSString *SPBundleInputSourceCurrentWord;
+extern NSString *SPBundleInputSourceCurrentQuery;
+extern NSString *SPBundleInputSourceCurrentLine;
+extern NSString *SPBundleInputSourceNone;
+extern NSString *SPBundleOutputActionNone;
+extern NSString *SPBundleOutputActionInsertAsText;
+extern NSString *SPBundleOutputActionInsertAsSnippet;
+extern NSString *SPBundleOutputActionReplaceSelection;
+extern NSString *SPBundleOutputActionReplaceContent;
+extern NSString *SPBundleOutputActionShowAsTextTooltip;
+extern NSString *SPBundleOutputActionShowAsHTMLTooltip;
+extern NSString *SPBundleFileCommandKey;
+extern NSString *SPBundleFileScopeKey;
+extern NSString *SPBundleFileNameKey;
+extern NSString *SPBundleFileCategoryKey;
+extern NSString *SPBundleFileInputSourceKey;
+extern NSString *SPBundleFileInputSourceFallBackKey;
+extern NSString *SPBundleFileOutputActionKey;
+extern NSString *SPBundleFileKeyEquivalentKey;
+extern NSString *SPBundleFileTooltipKey;
+extern NSString *SPBundleFileName;
+extern NSString *SPBundleTaskInputFilePath;
+
+// sequel URL scheme
+extern NSString *SPURLSchemeQueryInputPathHeader;
+extern NSString *SPURLSchemeQueryResultPathHeader;
+extern NSString *SPURLSchemeQueryResultStatusPathHeader;
+extern NSString *SPURLSchemeQueryResultMetaPathHeader;
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_";