📄 callarray.h
字号:
#ifndef __CALLARRAY_H__
#define __CALLARRAY_H__
//INCLUDES
// System includes
#include <bamdesca.h> // MDesCArray
#include <e32base.h> // CBase
// user includes
#include "CallInfo.h" // TCallInfo
// FORWARD DECLARATIONS
class CLogEvent;
class CPhoneBookEngine;
/**
*
* @class CCallArray CallArray.h
* @brief This class provides a wrapper
* around an array of TCallInfo.
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class CCallArray: public CBase, public MDesCArray
{
public: // constructors and destructor
static CCallArray* NewL(CPhoneBookEngine& aPhoneBookEngine);
static CCallArray* NewLC(CPhoneBookEngine& aPhoneBookEngine);
~CCallArray();
public: // from MDesCArray
TInt MdcaCount() const;
TPtrC MdcaPoint(TInt aIndex) const;
void AddEntryL(const CLogEvent& aEvent);
enum TAnalysis
{
ESummation,
EFrequency
};
TInt AnalysisCallLogArrayL(TAnalysis aMethod);
void CreateListBoxDescriptorsL(TAnalysis aMethod);
TInt ReduceListL(TInt aCount);
TCallInfo& operator[](TInt aIndex) const;
protected: // constructors
CCallArray(CPhoneBookEngine& aPhoneBookEngine);
void ConstructL();
protected: // data
CArrayFixFlat<TCallInfo>* iArray;
CPhoneBookEngine& iPhoneBookEngine;
};
#endif // __CALLARRAY_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -