From 0e626a9d470fe74612ad7a638251e01efbbc5973 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 12 Nov 2010 14:16:26 +0000 Subject: =?UTF-8?q?=E2=80=A2=C2=A0added=20constants=20for=20Bundle=20Files?= =?UTF-8?q?=20and=20Editor=20=E2=80=A2=20added=20URL=20scheme=20constants?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPConstants.h | 36 ++++++++++++++++++++++++++++++++++++ Source/SPConstants.m | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) 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_"; -- cgit v1.2.3