blob: be0aaf704b709bb890621c652c85fc89f3fc2b8b (
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
|
//
// MCOIMAPBaseOperation.h
// mailcore2
//
// Created by DINH Viêt Hoà on 3/26/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#import <MailCore/MCOOperation.h>
#ifndef __MAILCORE_MCOIMAPBASEOPERATION_H_
#define __MAILCORE_MCOIMAPBASEOPERATION_H_
typedef void (^MCOIMAPBaseOperationProgressBlock)(unsigned int current, unsigned int maximum);
typedef void (^MCOIMAPBaseOperationItemProgressBlock)(unsigned int current);
@interface MCOIMAPBaseOperation : MCOOperation
// to be overriden by subclasses.
- (void) bodyProgress:(unsigned int)current maximum:(unsigned int)maximum;
- (void) itemProgress:(unsigned int)current maximum:(unsigned int)maximum;
@end
#endif
|