source: gs2-extensions/iOs-3.x/trunk/Classes/QueryView.h@ 22603

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

Initial cut as iOs 3.x version of Greenstone2.app

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