blob: de19469a97a0187fa02a2f1da3062eaa4d527193 (
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
41
42
|
//
// IMAPIdleOperation.h
// mailcore2
//
// Created by DINH Viêt Hoà on 1/12/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#ifndef __MAILCORE_MCIMAPIDLEOPERATION_H_
#define __MAILCORE_MCIMAPIDLEOPERATION_H_
#include <MailCore/MCIMAPOperation.h>
#ifdef __cplusplus
namespace mailcore {
class IMAPIdleOperation : public IMAPOperation {
public:
IMAPIdleOperation();
virtual ~IMAPIdleOperation();
virtual void setLastKnownUID(uint32_t uid);
virtual uint32_t lastKnownUID();
virtual void interruptIdle();
public: // subclass behavior
virtual void main();
private:
uint32_t mLastKnownUid;
bool mSetupSuccess;
void prepare();
void unprepare();
};
}
#endif
#endif
|