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

📄 numericeditoremployee.cpp

📁 一个基于SYMBIAN的editor程序
💻 CPP
字号:
/**
* 
* @brief Definition of TNumericEditorEmployee
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

// INCLUDE FILES

// Class include
#include "NumericEditorEmployee.h"

// ================= MEMBER FUNCTIONS =======================

TNumericEditorEmployee::TNumericEditorEmployee()
 :	iSalary(0), 
	iAge(21)
	{
	}
	
void TNumericEditorEmployee::SetAge(TInt aAge)
	{
	iAge = aAge;
	}

const TInt TNumericEditorEmployee::Age() const
	{
	return iAge;
	}

void TNumericEditorEmployee::SetSalary(TInt aSalary)
	{
	iSalary = aSalary;
	}

const TInt TNumericEditorEmployee::Salary() const
	{
	return iSalary;
	}

void TNumericEditorEmployee::SetName(const TDesC& aName)
	{
	if (aName.Length() > KMaxNameLength)
		{
		return;
		}
	iName.Copy(aName);
	}

const TDes& TNumericEditorEmployee::Name() const
	{
	return iName;
	}

⌨️ 快捷键说明

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