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.h | |
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.h')
-rw-r--r-- | Source/SPConstants.h | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h index 221d057c..38ffdc2d 100644 --- a/Source/SPConstants.h +++ b/Source/SPConstants.h @@ -28,16 +28,6 @@ #import <Cocoa/Cocoa.h> -// Extensions -#define DEFAULT_SEQUEL_PRO_FILE_EXTENSION @"spf" -#define DEFAULT_QUERY_FAVORITE_FILE_EXTENSION @"sql" -#define DEFAULT_CONSOLE_LOG_FILE_EXTENSION @"sql" - -// Tableview drag types -#define FAVORITES_PB_DRAG_TYPE @"SequelProPreferencesPasteboard" -#define CONTENT_FILTER_PB_DRAG_TYPE @"SequelProContentFilterPasteboard" -#define QUERY_FAVORITES_PB_DRAG_TYPE @"SequelProQueryFavoritesPasteboard" - // URLs #define SEQUEL_PRO_HOME_PAGE_URL @"http://www.sequelpro.com/" #define SEQUEL_PRO_DONATIONS_URL @"http://www.sequelpro.com/donate.html" @@ -88,6 +78,16 @@ extern NSString *SPKillProcessConnectionMode; // Default monospaced font name extern NSString *SPDefaultMonospacedFontName; +// Table view drag types +extern NSString *SPFavoritesPasteboardDragType; +extern NSString *SPContentFilterPasteboardDragType; +extern NSString *SPQueryFavortiesPasteboardDragType; + +// File extensions +extern NSString *SPFileExtensionDefault; +extern NSString *SPFileExtensionSQL; + + // Preference key constants // General Prefpane extern NSString *SPDefaultFavorite; @@ -183,3 +183,15 @@ extern NSString *SPQueryHistoryReplacesContent; extern NSString *SPQuickLookTypes; extern NSString *SPTableChangedNotification; extern NSString *SPBlobTextEditorSpellCheckingEnabled; + +// Toolbar constants + +// Preferences toolbar +extern NSString *SPPreferenceToolbarGeneral; +extern NSString *SPPreferenceToolbarTables; +extern NSString *SPPreferenceToolbarFavorites; +extern NSString *SPPreferenceToolbarNotifications; +extern NSString *SPPreferenceToolbarAutoUpdate; +extern NSString *SPPreferenceToolbarNetwork; +extern NSString *SPPreferenceToolbarEditor; +extern NSString *SPPreferenceToolbarShortcuts; |