scan archive UI improvements, phase 3
[zxing.git] / iphone / Classes / ArchiveController.h
1 //
2 //  ArchiveController.h
3 //  UIShowcase
4 //
5 //  Created by Christian Brunschen on 29/05/2008.
6 /*
7  * Copyright 2008 ZXing authors
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */
21
22 #import <UIKit/UIKit.h>
23
24 @class DecoderViewController;
25
26 @interface ArchiveController : UITableViewController {
27   NSMutableArray *scans;
28   NSMutableArray *results;
29   DecoderViewController *decoderViewController;
30   NSDateFormatter *dateFormatter;
31 }
32
33 @property (nonatomic, retain) NSMutableArray *scans;
34 @property (nonatomic, retain) NSMutableArray *results;
35 @property (nonatomic, retain) DecoderViewController *decoderViewController;
36 @property (nonatomic, retain) NSDateFormatter *dateFormatter;
37
38 - (NSInteger)scanIndexForRow:(NSInteger)row;
39 - initWithDecoderViewController:(DecoderViewController *)dc;
40
41 @end