mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 08:50:53 +08:00
23 lines
447 B
C++
23 lines
447 B
C++
|
#pragma once
|
||
|
#include "acl_cpp/acl_cpp_define.hpp"
|
||
|
#include "acl_cpp/mime/mime_node.hpp"
|
||
|
|
||
|
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() {}
|
||
|
|
||
|
const char* get_location() const;
|
||
|
};
|
||
|
|
||
|
} // namespace acl
|