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

📄 htmlparagraphobject.h

📁 hl2 source code. Do not use it illegal.
💻 H
字号:
/*----------------------------------------------------------------------
Copyright (c) 1998,1999 Gipsysoft. All Rights Reserved.
Please see the file "licence.txt" for licencing details.
File:	HTMLParagraphObject.h
Owner:	russf@gipsysoft.com
Purpose:	Paragraph object!
----------------------------------------------------------------------*/
#ifndef HTMLPARAGRAPHOBJECT_H
#define HTMLPARAGRAPHOBJECT_H

class CHTMLAnchor;
class CHTMLParagraph;

class CHTMLParagraphObject				//	obj
{
public:
	virtual ~CHTMLParagraphObject();
	enum Type { knText, knImage, knHorizontalRule, knAnchor, knTable, knList, knBlockQuote };
	Type GetType() const;

	CHTMLAnchor*	m_pAnchor;

#ifdef _DEBUG
	virtual void Dump() const = 0;
#endif	//	_DEBUG

protected:

	CHTMLParagraphObject( Type type );

	void SetParagraph( CHTMLParagraph *pPara );

private:
	CHTMLParagraph *m_pPara;
	Type m_type;

private:
	CHTMLParagraphObject( const CHTMLParagraphObject &);
	CHTMLParagraphObject& operator =( const CHTMLParagraphObject &);
	friend class CHTMLParagraph;
};


#endif //HTMLPARAGRAPHOBJECT_H

⌨️ 快捷键说明

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