📄 configreader.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 + -