31 lines
489 B
C++
31 lines
489 B
C++
#ifndef __IMFMultipart_h__
|
|
#define __IMFMultipart_h__
|
|
|
|
#include "PString.h"
|
|
#include "IMFBody.h"
|
|
|
|
namespace coreutils {
|
|
|
|
class IMFMultipart: public IMFBody {
|
|
|
|
public:
|
|
IMFMultipart();
|
|
IMFMultipart(PString &in, std::string boundary);
|
|
|
|
std::string toString();
|
|
int getCount();
|
|
PString getSectionAt(int index);
|
|
|
|
protected:
|
|
std::vector<PString> sections;
|
|
|
|
private:
|
|
std::string boundary;
|
|
|
|
std::string buffer;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|