historyobj.h

来自「一个多窗口的浏览器的程序benbrowse」· C头文件 代码 · 共 40 行

H
40
字号
// HistoryObj.h: interface for the CHistoryObj class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_HISTORYOBJ_H__2B7964ED_DAD3_435F_993D_0859AA0BCCB3__INCLUDED_)
#define AFX_HISTORYOBJ_H__2B7964ED_DAD3_435F_993D_0859AA0BCCB3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CHistoryObj  
{
public:
	CHistoryObj(const CString& strTitle, const CString& strURL, const UINT uiCommand);
	virtual ~CHistoryObj();

	LPCTSTR GetTitle () const
	{
		return m_strTitle;
	}

	LPCTSTR GetURL () const
	{
		return m_strURL;
	}

	UINT GetCommand () const
	{
		return m_uiCommand;
	}

protected:
	const CString	m_strTitle;
	const CString	m_strURL;
	const UINT		m_uiCommand;
};

#endif // !defined(AFX_HISTORYOBJ_H__2B7964ED_DAD3_435F_993D_0859AA0BCCB3__INCLUDED_)

⌨️ 快捷键说明

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