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

📄 numericeditoremployee.h

📁 一个基于SYMBIAN的editor程序
💻 H
字号:
#ifndef NUMERICEDITOREMPLOYEE_H
#define NUMERICEDITOREMPLOYEE_H

// INCLUDES

// System Includes
#include <E32BASE.H>
#include <in_sock.h>

// User Includes
#include "NumericEditor.hrh"

// FORWARD DECLARATIONS


// CLASS DECLARATION

/**
*
* @class	TNumericEditorEmployee NumericEditorEmployee.h
* @brief	This is a class for storing the player data
* based on the standard Symbian OS architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
*
*/
class TNumericEditorEmployee
	{
public: // Constructor
	TNumericEditorEmployee();

public: // Access functions
	// Note that salary is actually a fixed-point point value.
	// The true value of salary can be calculated by dividing 
	// by 10^number of decimal places - in this case 100.
	void SetSalary(TInt aSalary);
	const TInt Salary() const;

	void SetAge(TInt aAge);
	const TInt Age() const;

	// Should be no longer than KMaxNameLength. Will not set if too long
	void SetName(const TDesC& aName);
	const TDes& Name() const;

private: // Data
	TBuf<KMaxNameLength> iName;
	TInt iSalary;
	TInt iAge;
	};

#endif	// #ifndef NUMERICEDITOREMPLOYEE_H

// End of File

⌨️ 快捷键说明

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