-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathSLSMoleculeTableViewController.h
46 lines (34 loc) · 1.39 KB
/
SLSMoleculeTableViewController.h
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
43
44
45
46
//
// SLSMoleculeTableViewController.h
// Molecules
//
// The source code for Molecules is available under a BSD license. See License.txt for details.
//
// Created by Brad Larson on 6/30/2008.
//
// This controller manages the root table of molecules that are stored on the device
#import <UIKit/UIKit.h>
#import "SLSMoleculeRootViewController.h"
#import "SLSMoleculeSearchViewController.h"
#import "SLSMoleculeDownloadViewController.h"
#import "SLSMoleculeDetailViewController.h"
#import "SLSMoleculeCustomDownloadViewController.h"
@interface SLSMoleculeTableViewController : UITableViewController <UITableViewDataSource, UITableViewDelegate>
{
SLSMoleculeDownloadViewController *downloadController;
NSMutableArray *molecules;
SLSMoleculeRootViewController *delegate;
NSInteger selectedIndex;
UIColor *tableTextColor;
sqlite3 *database;
}
@property(readwrite,retain) SLSMoleculeDownloadViewController *downloadController;
@property(readwrite,assign) SLSMoleculeRootViewController *delegate;
@property(readwrite,assign) sqlite3 *database;
@property(readwrite,retain) NSMutableArray *molecules;
@property(readwrite) NSInteger selectedIndex;
- (id)initWithStyle:(UITableViewStyle)style initialSelectedMoleculeIndex:(NSInteger)initialSelectedMoleculeIndex;
- (IBAction)displayMoleculeDownloadView;
- (IBAction)switchBackToGLView;
- (void)moleculeDidFinishDownloading:(NSNotification *)note;
@end