qhtm_types.h

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

H
51
字号
/*----------------------------------------------------------------------
Copyright (c) 1998,1999 Gipsysoft. All Rights Reserved.
Please see the file "licence.txt" for licencing details.
File:	QHTM_Types.h
Owner:	russf@gipsysoft.com
Purpose:	All 'types' used in QHTM

	Motivation:
	To make porting easier. If the basic classes can be swapped out then
	replacing them without something more 'local' should be easier and should
	require less code mods.

	Also, moving windows dependent types from the core code and only having
	it within certain allowed areas (drawing and window management) will make
	porting to other OS's much simpler.

	Whether we get to the point of porting or not is yet to be discuvered!

	Much work to be done. The ultimate test is removing windows.h etc. from
	the standard header and only including it in the key modules.

----------------------------------------------------------------------*/
#ifndef QHTM_TYPES_H
#define QHTM_TYPES_H

#ifndef MAP_CONTAINER_H
	#include <Map.h>
#endif	//	MAP_CONTAINER_H

#ifndef ARRAY_CONTAINER_H
	#include <Array.h>
#endif	//	ARRAY_CONTAINER_H


#define MapClass				Container::CMap
#define MapIterClass		Container::CMapIter
#define ArrayClass			Container::CArray
#define StackClass			Container::CStack

#define StringClass			CSimpleString
#define ArrayOfChar			Container::CArray< TCHAR >
#define ArrayOfInt			Container::CArray< int >
#define ArrayOfBool			Container::CArray< bool >

//
//	Simple sting uses "ArrayOfChar"
#ifndef SIMPLESTRING_H
	#include "SimpleString.h"
#endif	//	SIMPLESTRING_H

#endif //QHTM_TYPES_H

⌨️ 快捷键说明

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