From 422c1a7b2ad474e8bef20e787bca44b954d1e2ef Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 16 Nov 2010 13:54:31 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Bundle=20support=20-=20further=20minor=20im?= =?UTF-8?q?provements=20-=20make=20usage=20of=20more=20constants?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPConstants.m | 70 +++++++++++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 31 deletions(-) (limited to 'Source/SPConstants.m') diff --git a/Source/SPConstants.m b/Source/SPConstants.m index f0277c72..892941cf 100644 --- a/Source/SPConstants.m +++ b/Source/SPConstants.m @@ -243,37 +243,45 @@ NSString *SPFavoriteSSLCACertFileLocationEnabledKey = @"sslCACertFileLocati 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 *SPBundleInternLabelKey = @"label"; -NSString *SPBundleInternPathToFileKey = @"path"; -NSString *SPBundleInternKeyEquivalentKey = @"keyEquivalent"; -NSString *SPBundleFileName = @"info.plist"; -NSString *SPBundleTaskInputFilePath = @"/tmp/SP_BUNDLE_TASK_INPUT"; +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 *SPBundleInputSourceSelectedTableRowsAsTab = @"selectedtablerowsastab"; +NSString *SPBundleInputSourceSelectedTableRowsAsCsv = @"selectedtablerowsascsv"; +NSString *SPBundleInputSourceSelectedTableRowsAsSqlInsert = @"selectedtablerowsassqlinsert"; +NSString *SPBundleInputSourceTableRowsAsTab = @"tablerowsastab"; +NSString *SPBundleInputSourceTableRowsAsCsv = @"tablerowsascsv"; +NSString *SPBundleInputSourceTableRowsAsSqlInsert = @"tablerowsassqlinsert"; +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 *SPBundleInternLabelKey = @"label"; +NSString *SPBundleInternPathToFileKey = @"path"; +NSString *SPBundleInternKeyEquivalentKey = @"keyEquivalent"; + +NSString *SPBundleFileName = @"command.plist"; +NSString *SPBundleTaskInputFilePath = @"/tmp/SP_BUNDLE_TASK_INPUT"; +NSString *SPBundleTaskScriptCommandFilePath = @"/tmp/SP_SCRIPT_COMMAND"; // sequel URL scheme NSString *SPURLSchemeQueryInputPathHeader = @"/tmp/SP_QUERY_"; -- cgit v1.2.3