callinfo.h

来自「最新官方例子,图形,描述副,基本控件,通讯协议,等等,」· C头文件 代码 · 共 46 行

H
46
字号
#ifndef __CALLINFO_H__
#define __CALLINFO_H__

//INCLUDES

// System includes
#include "E32STD.H" 
#include <cntdef.h>     // TContactItemId

/**
*
* @class	TCallInfo CallInfo.h 
* @brief	This class stores information about a 
* particular entry in the log engine
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
* 
*/

const TInt KMaxTelephoneNumber = 32;
const TInt KMaxContactName = 32;
const TInt KMaxListBoxDescriptor = KMaxTelephoneNumber + KMaxContactName + 16;

class TCallInfo
	{
public: 
	TCallInfo();
	TBool HasContact() const;

public: // data
	// The data is public, as we wish to sort the data 
	// using TKeyArrayFix, which needs the member data 
	// to be public, in order to use the _FOFF macro
	TBuf<KMaxTelephoneNumber>	iTelephoneNumber;
	TBuf<KMaxContactName>		iName;
	TContactItemId				iContactId;
	TInt						iDuration;
	TInt						iCount;
	TBuf<KMaxListBoxDescriptor> iListBoxDescriptor;
	};

#endif	// __CALLINFO_H__

// End of File

⌨️ 快捷键说明

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