CoreUtils/IMFMultipart.h
2019-08-02 15:43:31 -07:00

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