sipexlogview.h
来自「an example for sip for symbian」· C头文件 代码 · 共 118 行
H
118 行
/*
* ==============================================================================
* Name : SIPExLogView.h
* Part of : SIPEx
* Interface :
* Description :
* Version :
*
* Copyright (c) 2004-2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
#ifndef __SIPEXLOGVIEW_H__
#define __SIPEXLOGVIEW_H__
// INCLUDES
#include <aknview.h>
#include "SIPEx.hrh"
// CONSTANTS
// UID of view
const TUid KLogViewId = { ESIPExView2Id };
// FORWARD DECLARATIONS
class CSIPExEngine;
class CSIPExLogContainer;
// CLASS DECLARATION
/**
* CSIPExLogView view class.
*
*/
class CSIPExLogView : public CAknView
{
public: // Constructors and destructor
/**
* First phase contruction
*/
static CSIPExLogView* NewLC( CSIPExEngine& aEngine );
/**
* Destructor.
*/
~CSIPExLogView();
private:
/**
* C++ default constructor
* @param aEngine The reference to the application engine.
*/
CSIPExLogView( CSIPExEngine& aEngine );
/**
* EPOC default constructor.
*/
void ConstructL();
public: // Functions from base classes
/**
* Return Uid
*/
TUid Id() const;
/**
* Handle Commands
*/
void HandleCommandL( TInt aCommand );
/**
* Handle size change
*/
void HandleViewRectChange();
/**
* Handle menu initialization event.
* @param aResourceId Resource ID identifying the menu pane to initialise.
* @param aMenuPane The in-memory representation of the menu pane.
*/
void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
private:
/**
* From AknView, activates view
*/
void DoActivateL( const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
const TDesC8& aCustomMessage );
/**
* From AknView, deactivates view
*/
void DoDeactivate();
public:
/**
* Return pointer to container, ownership is not transferred
*/
CSIPExLogContainer* Container();
private: // Data
CSIPExLogContainer* iContainer;
CSIPExEngine& iEngine;
};
#endif // __SIPEXLOGVIEW_H__
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?