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