iSightを使ってBooklog,MediaMarkerインポート用CSVファイルを生成するアプリ
修订版 | 18574e9ad6c7fdd54b5c3ac2b03fef54f749f7ac (tree) |
---|---|
时间 | 2011-05-08 12:33:35 |
作者 | masakih <masakih@user...> |
Commiter | masakih |
[Mod] 前回出力したエクスポートタイプを保存出来るようにした。
@@ -22,6 +22,7 @@ extern NSString *const BEDoNotCheckExport; // NSNumber of BOOL. | ||
22 | 22 | + (BEPreference *)preference; |
23 | 23 | |
24 | 24 | |
25 | +@property (nonatomic, assign) NSNumber *exportType; | |
25 | 26 | @property BOOL doNotCheckExport; |
26 | 27 | |
27 | 28 | @property (nonatomic, retain) NSArray *attributes; // Array of BEExporterAttribute. |
@@ -50,6 +50,19 @@ static BEPreference *sharedInstance = nil; | ||
50 | 50 | [self setObject:data forKey:BESiteOpenAttributes]; |
51 | 51 | } |
52 | 52 | |
53 | +- (NSNumber *)exportType | |
54 | +{ | |
55 | + NSNumber *type = [self objectForKey:@"exportType"]; | |
56 | + if(!type) { | |
57 | + type = [NSNumber numberWithInteger:0]; | |
58 | + } | |
59 | + return type; | |
60 | +} | |
61 | +- (void)setExportType:(NSNumber *)exportType | |
62 | +{ | |
63 | + [self setObject:exportType forKey:@"exportType"]; | |
64 | +} | |
65 | + | |
53 | 66 | - (BOOL)doNotCheckExport |
54 | 67 | { |
55 | 68 | id val = [self objectForKey:BEDoNotCheckExport]; |