root / Classes / StorageObjectViewController.h @ 64929bae
History | View | Annotate | Download (2.5 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 |
#import "OpenStackAppDelegate.h" |
17 |
|
18 |
@class OpenStackAccount, Container, Folder, StorageObject, AnimatedProgressView, FolderViewController;
|
19 |
|
20 |
@interface StorageObjectViewController : OpenStackViewController <UITableViewDelegate, UITableViewDataSource, UIDocumentInteractionControllerDelegate, ASIProgressDelegate, UIActionSheetDelegate, MFMailComposeViewControllerDelegate> {
|
21 |
OpenStackAccount *account; |
22 |
Container *container; |
23 |
Folder *folder; |
24 |
StorageObject *object; |
25 |
BOOL performingAction; |
26 |
BOOL fileDownloaded; |
27 |
AnimatedProgressView *downloadProgressView; |
28 |
BOOL fileDownloading; |
29 |
UIActionSheet *deleteActionSheet; |
30 |
UIActionSheet *cdnURLActionSheet; |
31 |
IBOutlet UITableView *tableView; |
32 |
IBOutlet UIBarButtonItem *homeButton; |
33 |
|
34 |
FolderViewController *folderViewController; |
35 |
UISwitch *objectIsPublicSwitch; |
36 |
ActivityIndicatorView *activityIndicatorView; |
37 |
BOOL objectIsPublic; |
38 |
BOOL objectIsReadOnly; |
39 |
|
40 |
UIDocumentInteractionController *documentInteractionController; |
41 |
|
42 |
NSInteger cdnURLSection; |
43 |
NSInteger actionsSection; |
44 |
NSInteger deleteSection; |
45 |
NSInteger versionsSection; |
46 |
NSInteger publicLinkSection; |
47 |
NSInteger permissionsSection; |
48 |
|
49 |
NSString *oldObjectSharingString; |
50 |
NSString *oldPublicURI; |
51 |
NSMutableDictionary *permissions; |
52 |
NSIndexPath *actionSelectedIndexPath; |
53 |
NSString *versionID; |
54 |
OpenStackAppDelegate *appDelegate; |
55 |
} |
56 |
|
57 |
@property (nonatomic, retain) OpenStackAccount *account;
|
58 |
@property (nonatomic, retain) Container *container;
|
59 |
@property (nonatomic, retain) Folder *folder;
|
60 |
@property (nonatomic, retain) StorageObject *object;
|
61 |
@property (nonatomic, retain) IBOutlet UITableView *tableView;
|
62 |
@property (nonatomic, retain) FolderViewController *folderViewController;
|
63 |
@property (nonatomic, retain) NSString *oldPubicURI;
|
64 |
@property (nonatomic, retain) UIDocumentInteractionController *documentInteractionController;
|
65 |
@property (nonatomic, retain) NSIndexPath *actionSelectedIndexPath;
|
66 |
@property (nonatomic, assign) BOOL objectIsReadOnly;
|
67 |
@property (nonatomic, retain) NSString *versionID;
|
68 |
|
69 |
- (void)setProgress:(float)newProgress; |
70 |
- (IBAction)homeButtonPressed:(id)sender; |
71 |
|
72 |
@end
|