callview.h

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 53 行

H
53
字号
#ifndef __CALL_VIEW_H__
#define __CALL_VIEW_H__

//INCLUDES

// System includes
#include <aknview.h>    // CAknView

// FORWARD DECLARATIONS
class CCallArray;
class CCallContainer;
class CPhoneBookEngine;

/**
*
* @class    CCallView CallView.h
* @brief    This is a view class for a log engine and phonebook example based on the
* Series 60 view switching architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
*
*/

class CCallView: public CAknView
{
public: // constructors and destructor
    ~CCallView();
    static CCallView* NewL(TInt aDirectionId, TUid aUid, CPhoneBookEngine& aPhoneBookEngine);
    static CCallView* NewLC(TInt aDirectionId, TUid aUid, CPhoneBookEngine& aPhoneBookEngine);
    void ConstructL(TInt aDirectionId, TUid aUid);

protected: // constructor
    CCallView(CPhoneBookEngine& aPhoneBookEngine);

private: // from CAknView
    TUid Id() const;
    void HandleCommandL(TInt aCommand);
    void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
    void DoActivateL(const TVwsViewId& aPrevViewId, TUid aCustomMessageId, const TDesC8& aCustomMessage);
    void DoDeactivate();

protected: // data
    CCallContainer*        iContainer; // what this view will display
    TUid                iId;
    TInt                iDirectionId;
    CPhoneBookEngine&    iPhoneBookEngine;
};

#endif    // __CALL_VIEW_H__

// End of File

⌨️ 快捷键说明

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