Repository navigation
Expand file tree
/
Copy pathWDImportController.h
More file actions
48 lines (38 loc) · 1.54 KB
/
Copy pathWDImportController.h
File metadata and controls
48 lines (38 loc) · 1.54 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
//
// WDImportController.h
// Inkpad
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Original implementation by Joe Ricioppo
//
// Copyright (c) 2011-2013 Steve Sprang
//
#import <UIKit/UIKit.h>
@protocol WDImportControllerDelegate;
@class DBRestClient;
@interface WDImportController : UIViewController <DBRestClientDelegate,
UIAlertViewDelegate, UITableViewDataSource, UITableViewDelegate> {
UIBarButtonItem *importButton_;
IBOutlet UIActivityIndicatorView *activityIndicator_;
IBOutlet UITableView *contentsTable_;
NSArray *dropboxItems_;
NSMutableSet *selectedItems_;
NSMutableDictionary *itemsKeyedByImagePath_;
NSMutableSet *itemsFailedImageLoading_;
BOOL isRoot_;
NSString *imageCacheDirectory_;
DBRestClient *dropboxClient_;
NSFileManager *fileManager_;
}
@property (nonatomic, copy) NSString *remotePath;
@property (nonatomic, weak) id <WDImportControllerDelegate> delegate;
+ (BOOL) isFontType:(NSString *)extension;
+ (BOOL) canImportType:(NSString *)extension;
@end
@protocol WDImportControllerDelegate
@optional
- (void) importController:(WDImportController *)controller didSelectDropboxItems:(NSArray *)dropboxItems;
@end