mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 00:40:55 +08:00
9697f95b8f
This reverts commit 15d999759e
.
27 lines
533 B
C++
27 lines
533 B
C++
#pragma once
|
|
#include "../acl_cpp_define.hpp"
|
|
#include "mime_node.hpp"
|
|
|
|
#if !defined(ACL_MIME_DISABLE)
|
|
|
|
namespace acl {
|
|
|
|
class ACL_CPP_API mime_image : public mime_node
|
|
{
|
|
public:
|
|
mime_image(const char* emailFile, const MIME_NODE* node,
|
|
bool enableDecode = true, const char* toCharset = "gb2312",
|
|
off_t off = 0)
|
|
: mime_node(emailFile, node, enableDecode, toCharset, off)
|
|
{
|
|
}
|
|
|
|
~mime_image(void) {}
|
|
|
|
const char* get_location(void) const;
|
|
};
|
|
|
|
} // namespace acl
|
|
|
|
#endif // !defined(ACL_MIME_DISABLE)
|