summaryrefslogtreecommitdiffstats
path: root/Classes/TopicsViewController.h
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/TopicsViewController.h')
-rw-r--r--Classes/TopicsViewController.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Classes/TopicsViewController.h b/Classes/TopicsViewController.h
index 78b154f..490046d 100644
--- a/Classes/TopicsViewController.h
+++ b/Classes/TopicsViewController.h
@@ -14,10 +14,12 @@
#import "PhotoViewController.h"
#import "FMDatabase.h"
#import "SectionDictionary.h"
+#import "Fetcher.h"
-@interface TopicsViewController : UIViewController <XMLParserDelegate, SourcesEditViewControllerDelegate, UITableViewDataSource>{
+@interface TopicsViewController : UIViewController <FetcherDelegate, XMLParserDelegate, SourcesEditViewControllerDelegate, UITableViewDataSource>{
UINavigationController *topicsNavigationController;
NSMutableArray *topics; // topics loaded from the web
+
SectionDictionary *tableDictionary; // structure to sync with table
PhotoViewController *photoViewController;
XMLParser *parser;
@@ -38,5 +40,7 @@
- (void)startParsing;
- (void)getTopicsFromDb;
- (void)addTopicToSectionDictionary:(Topic *)topic;
+- (void)loadSubscribedTopics;
+- (void)addTopicsFromJson:(NSData *)topics;
@end