public
Description: A Mac OS X photo uploader program for my photo album.
Homepage: http://bleu.west.spy.net/~dustin/projects/photoupload/
Clone URL: git://github.com/dustin/photoupload.git
photoupload / BatchUploadController.h
100644 38 lines (30 sloc) 0.876 kb
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
/* BatchUploadController */
// arch-tag: 5BB9BA1E-9196-11D8-8D7D-000A957659CC
 
#import <Cocoa/Cocoa.h>
#import "PhotoUpload.h"
 
@interface BatchUploadController : NSWindowController
{
    IBOutlet NSProgressIndicator *batchProgressBar;
    IBOutlet NSTextField *batchText;
    IBOutlet NSProgressIndicator *fileProgressBar;
    IBOutlet NSTextField *fileText;
 
    // Connection info
    NSString *_url;
    NSString *_username;
    NSString *_password;
 
    // Batch specific counts
    int _batchSize;
    int _currentBatch;
    // File (image) specific counts
    int _numFiles;
    int _currentFile;
}
- (IBAction)stopUpload:(id)sender;
 
-(void)setUrl: (NSString *)url;
-(void)setUsername: (NSString *)username;
-(void)setPassword: (NSString *)password;
 
-(void)processFiles:(NSArray *)files;
-(void)uploadError: (id)msg;
-(void)uploadedFile;
-(void)uploadComplete;
 
@end