summaryrefslogtreecommitdiff
path: root/MobilePushr.h
blob: b82dbf47d1417ad0a33b441c095e5cf982c75c17 (plain)
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
/*
 * MobilePushr.h
 * -------------
 *
 * Author: Chris Lee <clee@mg8.org>
 * License: GPL v2 <http://www.opensource.org/licenses/gpl-license.php>
 */
#import <UIKit/UIApplication.h>

#define MIGRATED_ATTRIBUTE @"org.mg8.MobilePushr.migrated"
#define IGNORED_ATTRIBUTE @"org.mg8.MobilePushr.ignored"
#define PUSHED_ATTRIBUTE @"org.mg8.MobilePushr.pushed"
#define NAME_ATTRIBUTE @"org.mg8.MobilePushr.name"
#define DESCRIPTION_ATTRIBUTE @"org.mg8.MobilePushr.description"
#define TAGS_ATTRIBUTE @"org.mg8.MobilePushr.tags"
#define PRIVACY_ATTRIBUTE @"org.mg8.MobilePushr.privacy"

@class NSUserDefaults, Flickr, PushrNetUtil, PushablePhotos, UIThreePartButton, UITextLabel, UIProgressBar, UIWindow, UIImageView;

@interface MobilePushr: UIApplication
{
	PushrNetUtil *_netUtil;
	NSUserDefaults *_settings;
	Flickr *_flickr;
	PushablePhotos *_pushablePhotos;
	UIThreePartButton *_button;
	UITextLabel *_label;
	UIProgressBar *_progress;
	UIImageView *_thumbnailView;
	UIView *_shade;
	UIWindow *_window;
}

- (NSArray *)cameraRollPhotos;
- (void)popupFailureAlertSheet;
- (void)setLabelText: (NSString *)labelText;
- (void)updateProgress: (NSNumber *)currentProgress;
- (void)allDone: (NSArray *)responses;

@end