textabc.h

来自「hl2 source code. Do not use it illegal.」· C头文件 代码 · 共 29 行

H
29
字号
/*----------------------------------------------------------------------
Copyright (c) 1998,1999 Gipsysoft. All Rights Reserved.
Please see the file "licence.txt" for licencing details.
File:	TextABC.h
Owner:	russf@gipsysoft.com
Purpose:	<Description of module>.
----------------------------------------------------------------------*/
#ifndef TEXTABC_H
#define TEXTABC_H

class CTextABC
{
public:
	operator LPCTSTR () const;

	virtual UINT GetLength() const = 0;

	virtual LPCTSTR GetData() const = 0;

	virtual ~CTextABC() {}
};


inline CTextABC::operator LPCTSTR () const
{
	return GetData();
}

#endif //TEXTABC_H

⌨️ 快捷键说明

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