// // TopicsViewController.h // acidcow // // Created by Matthew Handler on 4/15/11. // Copyright 2011 Earl Industries. All rights reserved. // #import #import "XMLParser.h" #import "HJObjManager.h" //#import "PicDumpViewController.h" #import "SourcesEditViewController.h" #import "PhotoViewController.h" #import "FMDatabase.h" #import "SectionDictionary.h" #import "Fetcher.h" @interface TopicsViewController : UIViewController { UINavigationController *topicsNavigationController; NSMutableArray *topics; // topics loaded from the web SectionDictionary *tableDictionary; // structure to sync with table PhotoViewController *photoViewController; XMLParser *parser; HJObjManager* objMan; FMDatabase* db; } - (IBAction)showSources:(id)sender; @property (nonatomic, retain) IBOutlet UITableView *tableView; @property (nonatomic, retain, readonly) UINavigationController *topicsNavigationController; @property (nonatomic, retain) PhotoViewController *photoViewController; @property (nonatomic, retain) NSMutableArray *topics; //@property (nonatomic, retain, readonly) PicDumpViewController *picDumpViewController; @property (nonatomic, retain) XMLParser *parser; // Called by the ParserChoiceViewController based on the selected parser type. - (void)startParsing; - (void)getTopicsFromDb; - (void)addTopicToSectionDictionary:(Topic *)topic; - (void)loadSubscribedTopics; - (void)addTopicsFromJson:(NSData *)topics; @end