⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 textplain.h

📁 VC下的INTERNET的建立
💻 H
字号:
// 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_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -