Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/woip/app/SearchView.h
blob: 1025f5643f377e2221a9d31c7adb971ba7d1de93 (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
#import <UIKit/UIKit.h>
#import <UIKit/UICompletionTable.h>
#import <UIKit/UIProgressBar.h>
#import "WebKitView.h"
#import "SearchResult.h"
#import "ArticleView.h"
#import "../c/wp.h"

@interface SearchView : UIView {
  NSMutableArray *results;
  ArticleView *aview;
  UIKeyboard *kbrd;
  UIProgressBar *prog;
  id parent;
  UICompletionTable *table;
  NSString *needle;
  NSThread *sthread;
  NSTimer *updater;
  NSLock *lock;
  int curResults;
  bool needRefresh;

  int nsearch;
  char *curNeedle;

  wp_dump *dump;
  wp_article *article;
}

-(void) setArticleView: (ArticleView *) aview;
-(void) setParent: (id) parent;
-(void) setNeedle: (NSString *) needle;
-(void) runSearch: (char *) needle;
-(void) refreshResults;
@end