root / Classes / StorageObjectViewController.h @ 7db1712d
History | View | Annotate | Download (2.1 kB)
1 |
//
|
---|---|
2 |
// StorageObjectViewController.h
|
3 |
// OpenStack
|
4 |
//
|
5 |
// Created by Mike Mayo on 12/19/10.
|
6 |
// The OpenStack project is provided under the Apache 2.0 license.
|
7 |
//
|
8 |
|
9 |
#import <UIKit/UIKit.h>
|
10 |
#import "ASIHttpRequest.h" |
11 |
#import <MediaPlayer/MPMoviePlayerController.h>
|
12 |
#import "OpenStackViewController.h" |
13 |
#import <MessageUI/MessageUI.h>
|
14 |
#import <MessageUI/MFMailComposeViewController.h>
|
15 |
#import "ActivityIndicatorView.h" |
16 |
|
17 |
@class OpenStackAccount, Container, Folder, StorageObject, AnimatedProgressView, FolderViewController;
|
18 |
|
19 |
@interface StorageObjectViewController : OpenStackViewController <UITableViewDelegate, UITableViewDataSource, UIDocumentInteractionControllerDelegate, ASIProgressDelegate, UIActionSheetDelegate, MFMailComposeViewControllerDelegate> {
|
20 |
OpenStackAccount *account; |
21 |
Container *container; |
22 |
Folder *folder; |
23 |
StorageObject *object; |
24 |
BOOL performingAction; |
25 |
BOOL fileDownloaded; |
26 |
AnimatedProgressView *downloadProgressView; |
27 |
BOOL fileDownloading; |
28 |
UIActionSheet *deleteActionSheet; |
29 |
UIActionSheet *cdnURLActionSheet; |
30 |
IBOutlet UITableView *tableView; |
31 |
IBOutlet UIBarButtonItem *homeButton; |
32 |
|
33 |
FolderViewController *folderViewController; |
34 |
UISwitch *objectIsPublicSwitch; |
35 |
ActivityIndicatorView *activityIndicatorView; |
36 |
BOOL objectIsPublic; |
37 |
BOOL objectIsReadOnly; |
38 |
|
39 |
UIDocumentInteractionController *documentInteractionController; |
40 |
|
41 |
NSInteger cdnURLSection; |
42 |
NSInteger actionsSection; |
43 |
NSInteger deleteSection; |
44 |
|
45 |
NSString *oldObjectSharingString; |
46 |
NSString *oldPublicURI; |
47 |
NSMutableDictionary *permissions; |
48 |
} |
49 |
|
50 |
@property (nonatomic, retain) OpenStackAccount *account;
|
51 |
@property (nonatomic, retain) Container *container;
|
52 |
@property (nonatomic, retain) Folder *folder;
|
53 |
@property (nonatomic, retain) StorageObject *object;
|
54 |
@property (nonatomic, retain) IBOutlet UITableView *tableView;
|
55 |
@property (nonatomic, retain) FolderViewController *folderViewController;
|
56 |
@property (nonatomic, retain) NSString *oldPubicURI;
|
57 |
@property (nonatomic, retain) UIDocumentInteractionController *documentInteractionController;
|
58 |
|
59 |
- (void)setProgress:(float)newProgress; |
60 |
- (IBAction)homeButtonPressed:(id)sender; |
61 |
|
62 |
@end
|