TextPlain.h
资源名称:ZapMail.rar [点击查看]
上传用户:xmpantheon
上传日期:2016-10-20
资源大小:7502k
文件大小:1k
源码类别:
Email服务器
开发平台:
Visual C++
- // TextPlain.h: interface for the CTextPlain class.
- // Author: Wes Clyburn (clyburnw@enmu.edu)
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_TEXTPLAIN_H__333BA6C3_F593_11D1_870E_444553540001__INCLUDED_)
- #define AFX_TEXTPLAIN_H__333BA6C3_F593_11D1_870E_444553540001__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- #include "MIMEContentAgent.h"
- // CTextPlain
- // A MIME content agent that handles the "text/plain"
- // content type
- //
- class CTextPlain : public CMIMEContentAgent
- {
- public:
- CTextPlain( int nContentType, UINT nWrapPos = 72 );
- virtual ~CTextPlain();
- virtual BOOL AppendPart( LPCTSTR szContent, LPCTSTR szParameters, int nEncoding, BOOL bPath, CString& sDestination );
- virtual CString GetContentTypeString();
- protected:
- UINT m_nWrapPos;
- CString wrap_text( LPCTSTR szText );
- virtual CString build_sub_header( LPCTSTR szContent, LPCTSTR szParameters, int nEncoding, BOOL bPath );
- };
- #endif // !defined(AFX_TEXTPLAIN_H__333BA6C3_F593_11D1_870E_444553540001__INCLUDED_)