aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-16 13:54:31 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-16 13:54:31 +0000
commit422c1a7b2ad474e8bef20e787bca44b954d1e2ef (patch)
treedd844fcbd6875dcfacd646fd0bb4904f94aee93b /Source/SPConstants.m
parent46ba2532fb0c540889178b4fc922de61597c27de (diff)
downloadsequelpro-422c1a7b2ad474e8bef20e787bca44b954d1e2ef.tar.gz
sequelpro-422c1a7b2ad474e8bef20e787bca44b954d1e2ef.tar.bz2
sequelpro-422c1a7b2ad474e8bef20e787bca44b954d1e2ef.zip
• Bundle support
- further minor improvements - make usage of more constants
Diffstat (limited to 'Source/SPConstants.m')
-rw-r--r--Source/SPConstants.m70
1 files changed, 39 insertions, 31 deletions
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_";