52 lines
1.0 KiB
C++
52 lines
1.0 KiB
C++
//
|
|
// IMAPFetchContentOperation.h
|
|
// mailcore2
|
|
//
|
|
// Created by DINH Viêt Hoà on 1/12/13.
|
|
// Copyright (c) 2013 MailCore. All rights reserved.
|
|
//
|
|
|
|
#ifndef MAILCORE_IMAPFETCHCONTENTOPERATION_H
|
|
|
|
#define MAILCORE_IMAPFETCHCONTENTOPERATION_H
|
|
|
|
#include <MailCore/MCIMAPOperation.h>
|
|
|
|
#ifdef __cplusplus
|
|
|
|
namespace mailcore {
|
|
|
|
class IMAPFetchContentOperation : public IMAPOperation {
|
|
public:
|
|
IMAPFetchContentOperation();
|
|
virtual ~IMAPFetchContentOperation();
|
|
|
|
virtual void setUid(uint32_t uid);
|
|
virtual uint32_t uid();
|
|
|
|
virtual void setPartID(String * partID);
|
|
virtual String * partID();
|
|
|
|
virtual void setEncoding(Encoding encoding);
|
|
virtual Encoding encoding();
|
|
|
|
// Result.
|
|
virtual Data * data();
|
|
|
|
public: // subclass behavior
|
|
virtual void main();
|
|
|
|
private:
|
|
uint32_t mUid;
|
|
String * mPartID;
|
|
Encoding mEncoding;
|
|
Data * mData;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|