Last change
on this file since 28652 was 22548, checked in by davidb, 14 years ago |
Original version of Greenstone2 app for iPhone/iPod-touch
|
File size:
998 bytes
|
Line | |
---|
1 | #import <Foundation/NSObject.h>
|
---|
2 | #import <Foundation/NSString.h>
|
---|
3 |
|
---|
4 | #import <UIKit/UIView.h>
|
---|
5 | #import <UIKit/UIKit.h>
|
---|
6 |
|
---|
7 | #define MCInitCapacity 10
|
---|
8 |
|
---|
9 | @interface MenuCascadeView : UIView
|
---|
10 | {
|
---|
11 | UIView* _parent;
|
---|
12 | UITable* _table;
|
---|
13 | UINavigationBar* _navbar;
|
---|
14 | UIView* _childMenu;
|
---|
15 |
|
---|
16 | NSString* _gid; // Greenstone id (used to access database for metadata such as CL1, CL4.1 etc)
|
---|
17 | NSString* _collection;
|
---|
18 |
|
---|
19 | NSMutableArray* _tabrow;
|
---|
20 | NSMutableArray* _oidItem;
|
---|
21 |
|
---|
22 | }
|
---|
23 |
|
---|
24 | -(id) init;
|
---|
25 | -(id) initWithFrame:(CGRect)rect;
|
---|
26 | -(id) initWithFrame:(CGRect)rect withTitle:(NSString*)title;
|
---|
27 | -(id) initWithFrame:(CGRect)rect withParent:(UIView*)parent
|
---|
28 | withCollection:(NSString*)collection withTitle:(NSString*)title withGID:(NSString*)gid;
|
---|
29 |
|
---|
30 | -(void) setTitle: (NSString*)title;
|
---|
31 | -(void) appendMenuItem: (NSObject*) app withItem:(NSString*)item_label withGID:(NSString*)childGID;
|
---|
32 |
|
---|
33 | -(void) navigationBar:(UINavigationBar*)navbar buttonClicked:(int)button;
|
---|
34 |
|
---|
35 |
|
---|
36 |
|
---|
37 | -(void) dealloc;
|
---|
38 |
|
---|
39 | @end
|
---|
40 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.