Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/woip/app/SearchView.h
diff options
context:
space:
mode:
Diffstat (limited to 'woip/app/SearchView.h')
-rw-r--r--woip/app/SearchView.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/woip/app/SearchView.h b/woip/app/SearchView.h
new file mode 100644
index 0000000..1025f56
--- /dev/null
+++ b/woip/app/SearchView.h
@@ -0,0 +1,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