📄 settingslistsettings.h
字号:
#ifndef SETTINGSLISTSETTINGS_H
#define SETTINGSLISTSETTINGS_H
// INCLUDES
// System Includes
#include <E32BASE.H>
#include <in_sock.h>
// User Includes
#include "SettingsList.hrh"
// FORWARD DECLARATIONS
// CLASS DECLARATION
/**
*
* @class TSettingsListSettings SettingsListSettings.h
* @brief This is a data class for containing the application settings for a setting list example
* based on the standard Symbian OS architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class TSettingsListSettings
{
public: // accessors
void SetDifficultyLevel(TInt aDifficultyLevel);
TInt& DifficultyLevel();
// should be no longer than KMaxPlayerNameLength. Will not set if too long
void SetPlayerName(const TDesC& aPlayerName);
TDes& PlayerName();
void SetHintsEnabled(TBool aHintsEnabled);
TBool& HintsEnabled();
private: //Data
TInt iDifficultyLevel;
TBuf<KMaxPlayerNameLength> iPlayerName;
TBool iHintsEnabled;
};
#endif // #ifndef SETTINGSLISTSETTINGS_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -