summaryrefslogtreecommitdiffstats
path: root/Classes/TopicsViewController.h
diff options
context:
space:
mode:
authormatt handler <matt.handler@gmail.com>2011-04-27 01:25:19 -0400
committermatt handler <matt.handler@gmail.com>2011-04-27 01:25:19 -0400
commite6eb634beac831e64becc03928a467701f9625cf (patch)
treebf6df33a2a77c6ee462438f9e0e38c1717414a4f /Classes/TopicsViewController.h
parent39478a90674f2b4238ba1cfaa49908deb0200e24 (diff)
downloadpiccast-app-e6eb634beac831e64becc03928a467701f9625cf.tar.gz
piccast-app-e6eb634beac831e64becc03928a467701f9625cf.zip
made fetcher take a payload, added favicon, turned off statement caching, may turn it back on who knows, added sourceid to topics, added category to topictableviewcell, did a little cleaning
Diffstat (limited to 'Classes/TopicsViewController.h')
-rw-r--r--Classes/TopicsViewController.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/Classes/TopicsViewController.h b/Classes/TopicsViewController.h
index 490046d..98a678c 100644
--- a/Classes/TopicsViewController.h
+++ b/Classes/TopicsViewController.h
@@ -7,7 +7,6 @@
//
#import <UIKit/UIKit.h>
-#import "XMLParser.h"
#import "HJObjManager.h"
//#import "PicDumpViewController.h"
#import "SourcesEditViewController.h"
@@ -15,32 +14,31 @@
#import "FMDatabase.h"
#import "SectionDictionary.h"
#import "Fetcher.h"
+#import "Source.h"
-@interface TopicsViewController : UIViewController <FetcherDelegate, XMLParserDelegate, SourcesEditViewControllerDelegate, UITableViewDataSource>{
+@interface TopicsViewController : UIViewController <FetcherDelegate, SourcesEditViewControllerDelegate, UITableViewDataSource>{
UINavigationController *topicsNavigationController;
- NSMutableArray *topics; // topics loaded from the web
+ NSMutableDictionary *sourcesDictionary;
SectionDictionary *tableDictionary; // structure to sync with table
PhotoViewController *photoViewController;
- XMLParser *parser;
+
HJObjManager* objMan;
+
FMDatabase* db;
}
- (IBAction)showSources:(id)sender;
+@property (nonatomic, retain) NSMutableDictionary *sourcesDictionary;
@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;
+- (void)addTopicsFromJson:(NSData *)data forSource:(Source *)source;
@end