diff options
author | stuconnolly <stuart02@gmail.com> | 2010-03-27 15:34:31 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-03-27 15:34:31 +0000 |
commit | 0b4ee446f7052f964f704d8dfabe53103733325b (patch) | |
tree | f09193b597cf3f9771d77a4694d8dd0b5b0a98ed /Source/SPConstants.h | |
parent | 0559e08ff40bc2496c6af22beb4df99cf112e13b (diff) | |
download | sequelpro-0b4ee446f7052f964f704d8dfabe53103733325b.tar.gz sequelpro-0b4ee446f7052f964f704d8dfabe53103733325b.tar.bz2 sequelpro-0b4ee446f7052f964f704d8dfabe53103733325b.zip |
Add the ability to sort the connection favorites table view in the preferences. Sort options are by name, host or type as well as the option to be sorted in reverse order. This implements issue #490.
Diffstat (limited to 'Source/SPConstants.h')
-rw-r--r-- | Source/SPConstants.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h index 54bce4d1..c849c3ba 100644 --- a/Source/SPConstants.h +++ b/Source/SPConstants.h @@ -93,6 +93,14 @@ typedef enum SPSSHPasswordNone = 2 } SPSSHTunnelPasswordMode; +// Sort by constants +typedef enum +{ + SPFavoritesSortNameItem = 0, + SPFavoritesSortHostItem = 1, + SPFavoritesSortTypeItem = 2 +} SPFavoritesSortItem; + // Long running notification time for Growl messages extern const CGFloat SPLongRunningNotificationTime; @@ -200,6 +208,8 @@ extern NSString *SPTableInformationPanelCollapsed; extern NSString *SPTableColumnWidths; extern NSString *SPProcessListShowProcessID; extern NSString *SPProcessListShowFullProcessList; +extern NSString *SPFavoritesSortedBy; +extern NSString *SPFavoritesSortedInReverse; // Hidden Prefs extern NSString *SPPrintWarningRowLimit; |