blob: 78b154f8fd96005c090a0015dabed0077054e653 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
//
// TopicsViewController.h
// acidcow
//
// Created by Matthew Handler on 4/15/11.
// Copyright 2011 Earl Industries. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "XMLParser.h"
#import "HJObjManager.h"
//#import "PicDumpViewController.h"
#import "SourcesEditViewController.h"
#import "PhotoViewController.h"
#import "FMDatabase.h"
#import "SectionDictionary.h"
@interface TopicsViewController : UIViewController <XMLParserDelegate, SourcesEditViewControllerDelegate, UITableViewDataSource>{
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;
@end
|