settingslistsettings.h
来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 53 行
H
53 行
#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 + =
减小字号Ctrl + -
显示快捷键?