diff options
author | stuconnolly <stuart02@gmail.com> | 2009-12-11 00:51:47 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-12-11 00:51:47 +0000 |
commit | 2f490fa3f4030c71aab8a1cafd9514a3fff2c6c4 (patch) | |
tree | 122f38e3f27563dddfed944c2e100109979d68b0 /Source/SPConstants.m | |
parent | 1421e9877071c7b50ea10cdee8ba97e75a1c2604 (diff) | |
download | sequelpro-2f490fa3f4030c71aab8a1cafd9514a3fff2c6c4.tar.gz sequelpro-2f490fa3f4030c71aab8a1cafd9514a3fff2c6c4.tar.bz2 sequelpro-2f490fa3f4030c71aab8a1cafd9514a3fff2c6c4.zip |
Convert a bunch of #define'd constants to extern's, including preference toolbar identifiers, pasteboard drag types and file extensions.
Diffstat (limited to 'Source/SPConstants.m')
-rw-r--r-- | Source/SPConstants.m | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Source/SPConstants.m b/Source/SPConstants.m index 06e32b6d..1f9e9482 100644 --- a/Source/SPConstants.m +++ b/Source/SPConstants.m @@ -30,7 +30,15 @@ NSString *SPKillProcessQueryMode = @"SPKillProcessQueryMode"; NSString *SPKillProcessConnectionMode = @"SPKillProcessConnectionMode"; // Default monospaced font name -NSString *SPDefaultMonospacedFontName = @"Monaco"; +NSString *SPDefaultMonospacedFontName = @"Monaco"; + +// Table view drag types +NSString *SPFavoritesPasteboardDragType = @"SPFavoritesPasteboard"; +NSString *SPContentFilterPasteboardDragType = @"SPContentFilterPasteboard"; + +// File extensions +NSString *SPFileExtensionDefault = @"spf"; +NSString *SPFileExtensionSQL = @"sql"; // Preference key constants // General Prefpane @@ -127,3 +135,15 @@ NSString *SPQueryHistoryReplacesContent = @"QueryHistoryReplacesContent NSString *SPQuickLookTypes = @"QuickLookTypes"; NSString *SPTableChangedNotification = @"SPTableSelectionChanged"; NSString *SPBlobTextEditorSpellCheckingEnabled = @"BlobTextEditorSpellCheckingEnabled"; + +// Toolbar constants + +// Preferences toolbar +NSString *SPPreferenceToolbarGeneral = @"SPPreferenceToolbarGeneral"; +NSString *SPPreferenceToolbarTables = @"SPPreferenceToolbarTables"; +NSString *SPPreferenceToolbarFavorites = @"SPPreferenceToolbarFavorites"; +NSString *SPPreferenceToolbarNotifications = @"SPPreferenceToolbarNotifications"; +NSString *SPPreferenceToolbarAutoUpdate = @"SPPreferenceToolbarAutoUpdate"; +NSString *SPPreferenceToolbarNetwork = @"SPPreferenceToolbarNetwork"; +NSString *SPPreferenceToolbarEditor = @"SPPreferenceToolbarEditor"; +NSString *SPPreferenceToolbarShortcuts = @"SPPreferenceToolbarShortcuts"; |