EmailScheduler/MailCore.framework/Versions/A/Headers/MCIMAPFetchContentOperation.h

52 lines
1.0 KiB
C
Raw Normal View History

2014-09-13 17:13:32 -05:00
//
// 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