aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFavoritesController.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-06-23 00:11:30 +0000
committerrowanbeentje <rowan@beent.je>2012-06-23 00:11:30 +0000
commit7d06e2efcc6874ac0a605920fdd62ec8cc433602 (patch)
tree0d72154ab0243764a60c731a26c9b790d59a0581 /Source/SPFavoritesController.h
parentbc51d59ca9a5ec8a741eef8142d3224a02461a5a (diff)
downloadsequelpro-7d06e2efcc6874ac0a605920fdd62ec8cc433602.tar.gz
sequelpro-7d06e2efcc6874ac0a605920fdd62ec8cc433602.tar.bz2
sequelpro-7d06e2efcc6874ac0a605920fdd62ec8cc433602.zip
Further improvements to further address Issue #1332:
- Ensure that favourites are saved synchronously on exit to avoid background threads being killed - Improve logging on favourite rename error - Only save favourites on exit if a connection window is open
Diffstat (limited to 'Source/SPFavoritesController.h')
-rw-r--r--Source/SPFavoritesController.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPFavoritesController.h b/Source/SPFavoritesController.h
index e15ab385..bccc314e 100644
--- a/Source/SPFavoritesController.h
+++ b/Source/SPFavoritesController.h
@@ -57,6 +57,7 @@
+ (SPFavoritesController *)sharedFavoritesController;
- (void)saveFavorites;
+- (void)saveFavoritesSynchronously;
- (void)reloadFavoritesWithSave:(BOOL)save;
- (SPTreeNode *)addGroupNodeWithName:(NSString *)name asChildOfNode:(SPTreeNode *)parent;