aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFavoritesController.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPFavoritesController.h')
-rw-r--r--Source/SPFavoritesController.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/Source/SPFavoritesController.h b/Source/SPFavoritesController.h
index 5e9d714c..bb698d16 100644
--- a/Source/SPFavoritesController.h
+++ b/Source/SPFavoritesController.h
@@ -25,11 +25,27 @@
#import "SPSingleton.h"
+/**
+ * @class SPFavoritesController SPFavoritesController.h
+ *
+ * @author Stuart Connolly http://stuconnolly.com/
+ *
+ * Connection favorites controller that provides a single point of access for managing the user's connection
+ * favorites in memory and on disk.
+ */
@interface SPFavoritesController : SPSingleton
{
- NSDictionary *favorties;
+ NSDictionary *favorites;
}
-- (SPFavoritesController *)sharedFavoritesController;
+/**
+ * @property favorites Favorites data dictionary
+ */
+@property (readonly) NSDictionary *favorites;
+
++ (SPFavoritesController *)sharedFavoritesController;
+
+- (void)saveFavorites;
+- (void)reloadFavoritesWithSave:(BOOL)save;
@end