| 1 | /* |
| 2 | * MobilePushr.h |
| 3 | * ------------- |
| 4 | * |
| 5 | * Author: Chris Lee <clee@mg8.org> |
| 6 | * License: GPL v2 <http://www.opensource.org/licenses/gpl-license.php> |
| 7 | */ |
| 8 | #import <UIKit/UIApplication.h> |
| 9 | |
| 10 | #define MIGRATED_ATTRIBUTE @"org.mg8.MobilePushr.migrated" |
| 11 | #define IGNORED_ATTRIBUTE @"org.mg8.MobilePushr.ignored" |
| 12 | #define PUSHED_ATTRIBUTE @"org.mg8.MobilePushr.pushed" |
| 13 | #define NAME_ATTRIBUTE @"org.mg8.MobilePushr.name" |
| 14 | #define DESCRIPTION_ATTRIBUTE @"org.mg8.MobilePushr.description" |
| 15 | #define TAGS_ATTRIBUTE @"org.mg8.MobilePushr.tags" |
| 16 | #define PRIVACY_ATTRIBUTE @"org.mg8.MobilePushr.privacy" |
| 17 | |
| 18 | @class NSUserDefaults, Flickr, PushrNetUtil, PushablePhotos, UIThreePartButton, UITextLabel, UIProgressBar, UIWindow, UIImageView; |
| 19 | |
| 20 | @interface MobilePushr: UIApplication |
| 21 | { |
| 22 | PushrNetUtil *_netUtil; |
| 23 | NSUserDefaults *_settings; |
| 24 | Flickr *_flickr; |
| 25 | PushablePhotos *_pushablePhotos; |
| 26 | UIThreePartButton *_button; |
| 27 | UITextLabel *_label; |
| 28 | UIProgressBar *_progress; |
| 29 | UIImageView *_thumbnailView; |
| 30 | UIView *_shade; |
| 31 | UIWindow *_window; |
| 32 | } |
| 33 | |
| 34 | - (NSArray *)cameraRollPhotos; |
| 35 | - (void)popupFailureAlertSheet; |
| 36 | - (void)setLabelText: (NSString *)labelText; |
| 37 | - (void)updateProgress: (NSNumber *)currentProgress; |
| 38 | - (void)allDone: (NSArray *)responses; |
| 39 | |
| 40 | @end |
| 41 | |