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

📄 configreader.h

📁 吃豆子游戏源码
💻 H
字号:
/**
 *	File	:	ConfigReader.h
 *  Author	:	Kevin Lynx
 *	Date	:	2007/8/4
 */
#ifndef _CONFIG_READER_H_
#define _CONFIG_READER_H_

#include "Singleton.h"

/**
 * ConfigReader
 *
 * read global application config 
 */
class ConfigReader : public Singleton<ConfigReader>
{
public:
	/**
	 * Constructor
	 *
	 * init all properties
	 */
	ConfigReader();

	/**
	 * Destructor
	 *
	 */
	~ConfigReader();

	/**
	 * read
	 *
	 * read the config file
	 */
	bool	read();

	/**
	 * setDefault
	 *
	 */
	void	setDefault();
public:
	bool	     mbFullScreen;
	unsigned int mBits;
	int			 mDeviceType;
	bool		 mEnableLight;
	float		 mGlobalVolume;
};

#endif // end _CONFIG_READER_H_

⌨️ 快捷键说明

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