acl/lib_acl_cpp/include/acl_cpp/mime/mime_image.hpp

27 lines
533 B
C++
Raw Normal View History

2014-11-19 00:25:21 +08:00
#pragma once
2017-06-02 14:47:24 +08:00
#include "../acl_cpp_define.hpp"
#include "mime_node.hpp"
2014-11-19 00:25:21 +08:00
#if !defined(ACL_MIME_DISABLE)
2014-11-19 00:25:21 +08:00
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)
{
}
2019-07-07 13:27:58 +08:00
~mime_image(void) {}
2014-11-19 00:25:21 +08:00
2019-07-07 13:27:58 +08:00
const char* get_location(void) const;
2014-11-19 00:25:21 +08:00
};
} // namespace acl
#endif // !defined(ACL_MIME_DISABLE)