diff options
author | 2013-01-17 00:08:32 -0800 | |
---|---|---|
committer | 2013-01-17 00:08:32 -0800 | |
commit | ada1598162092e9affc9337dedeb6c805ae72121 (patch) | |
tree | 3f4a48873cbe720b3ff78b34b994840f30237180 /src/async/pop/MCPOPFetchMessageOperation.h | |
parent | e75be6c8b9a9b694e86c4054b4493f8ec405df2f (diff) |
implemented POP async API
Diffstat (limited to 'src/async/pop/MCPOPFetchMessageOperation.h')
-rw-r--r-- | src/async/pop/MCPOPFetchMessageOperation.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/async/pop/MCPOPFetchMessageOperation.h b/src/async/pop/MCPOPFetchMessageOperation.h new file mode 100644 index 00000000..d60841d7 --- /dev/null +++ b/src/async/pop/MCPOPFetchMessageOperation.h @@ -0,0 +1,33 @@ +// +// MCPOPFetchMessageOperation.h +// mailcore2 +// +// Created by DINH Viêt Hoà on 1/16/13. +// Copyright (c) 2013 MailCore. All rights reserved. +// + +#ifndef __mailcore2__MCPOPFetchMessageOperation__ +#define __mailcore2__MCPOPFetchMessageOperation__ + +#include <mailcore/MCPOPOperation.h> + +namespace mailcore { + class POPFetchMessageOperation : public POPOperation { + private: + unsigned int mMessageIndex; + Data * mData; + + public: + POPFetchMessageOperation(); + virtual ~POPFetchMessageOperation(); + + virtual void setMessageIndex(unsigned int messageIndex); + virtual unsigned int messageIndex(); + + virtual Data * data(); + + virtual void main(); + }; +} + +#endif /* defined(__mailcore2__MCPOPFetchMessageOperation__) */ |