aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-07-03 22:10:38 +0000
committerstuconnolly <stuart02@gmail.com>2010-07-03 22:10:38 +0000
commit89719b64e4f6fa793c4ed7d4d1a63f8b4938812c (patch)
treeaf76d4247f35cdd77d3defdfadc144bfb79beb27 /Source/SPConnectionController.h
parente173979e6dd7b343a7a6d4a5b694b938de0956c6 (diff)
downloadsequelpro-89719b64e4f6fa793c4ed7d4d1a63f8b4938812c.tar.gz
sequelpro-89719b64e4f6fa793c4ed7d4d1a63f8b4938812c.tar.bz2
sequelpro-89719b64e4f6fa793c4ed7d4d1a63f8b4938812c.zip
Various improvements to default connection favorites handling, including:
- Updating the default favorite popup button to reflect the sorted order of the favorites tableview. - A new icon indicating the default favorite in the favorites tableview. - A new 'Make Default' menu item in the favorites tableview context menu. (Outstanding issue: Incorrect default favorite being selected upon launch because the sorting of favorites on the connection screen and preferences are independent of each other).
Diffstat (limited to 'Source/SPConnectionController.h')
-rw-r--r--Source/SPConnectionController.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/Source/SPConnectionController.h b/Source/SPConnectionController.h
index aa45b74d..6d1f23ed 100644
--- a/Source/SPConnectionController.h
+++ b/Source/SPConnectionController.h
@@ -46,6 +46,12 @@
@end
+@interface SPFlippedView : NSView
+
+- (BOOL)isFlipped;
+
+@end
+
@interface SPConnectionController : NSObject
{
id delegate;
@@ -111,7 +117,6 @@
BOOL reverseFavoritesSort;
SPFavoritesSortItem previousSortItem, currentSortItem;
-
}
@property (readwrite, assign) id delegate;
@@ -164,9 +169,3 @@
- (void)splitViewDidResizeSubviews:(NSNotification *)aNotification;
@end
-
-@interface SPFlippedView: NSView
-
-- (BOOL)isFlipped;
-
-@end