/
MyUploadViewController.h
49 lines (45 loc) · 1.55 KB
/
MyUploadViewController.h
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
49
/*
* MyUploadViewController.h
* #g3Mobile - an iPhone client for gallery3
*
* Created by David Steinberger on 14/3/2011.
* Copyright (c) 2011 David Steinberger
*
* This file is part of g3Mobile.
*
* g3Mobile is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* g3Mobile is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with g3Mobile. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* A basic image uploader for Gallery3
*
* The uploader takes a UIImage and utilizes the RestKit framework
* to upload it with some metadata to the Gallery3 server
*/
#import "Three20/Three20.h"
#import "MyViewController.h"
@interface MyUploadViewController : UIViewController <UINavigationControllerDelegate,
UIImagePickerControllerDelegate,TTPostControllerDelegate> {
id <MyViewController> _delegate;
UIImagePickerController* _pickerController;
UIImagePickerControllerSourceType _sourceType;
NSDictionary *_query;
UIImageView *_imageView;
UILabel *_caption;
UIImage *_screenShot;
UIImage *_image;
NSString *_albumID;
TTActivityLabel* _uploadProgress;
}
@property (nonatomic, retain) NSDictionary* query;
@end