source: gs2-extensions/iOS-1.x/trunk/QueryView.h@ 28647

Last change on this file since 28647 was 22548, checked in by davidb, 14 years ago

Original version of Greenstone2 app for iPhone/iPod-touch

File size: 1.2 KB
Line 
1#import <Foundation/Foundation.h>
2#import <Foundation/NSDictionary.h>
3#import <UIKit/UIKit.h>
4#import <UIKit/UIApplication.h>
5
6// **** can searchtablecell be done away with?
7
8@interface SearchTableCell : UIImageAndTextTableCell
9{
10 UITextLabel* song_name;
11 UITextLabel* artist_name;
12
13@public
14 char m_Path[256];
15}
16@end
17
18
19@interface QueryView : UIView
20{
21 UIView* _parent;
22 NSString* _collection;
23
24 UIKeyboard* _keyboard;
25 BOOL _keyboardVisible;
26
27 UINavigationBar* _navbar;
28 UISearchField* _searchBox;
29
30 NSMutableArray* _cellResultList;
31 NSMutableArray* _oidItem;
32
33 UITable* _table;
34
35}
36
37-(id) initWithFrame:(struct CGRect)frame withParent:(UIView*)parent
38 withCollection:(NSString*)collection withTitle:(NSString*)title;
39
40-(void) setTitle:(NSString*)title;
41
42
43-(void) navigationBar:(UINavigationBar*)navbar buttonClicked:(int)button;
44
45-(void) tableRowSelected:(NSNotification*)notification;
46-(void) asynchronousLoad:(NSTimer*)timer;
47
48-(void)keyboardInput:(id)k shouldInsertText:(id)i isMarkedText:(int)b;
49
50- (void)keyboardReturnPressed;
51- (void)ShowKeyboard;
52- (void)HideKeyboard;
53
54-(void) dealloc;
55
56@end
Note: See TracBrowser for help on using the repository browser.