shapedrawerlistview.h

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

H
59
字号
#ifndef __SHAPEDRAWER_LIST_VIEW_H__
#define __SHAPEDRAWER_LIST_VIEW_H__

//INCLUDES

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

//User Includes
#include "shapedrawerdocument.h"

// FORWARD DECLARATIONS
class CShapeDrawerListViewContainer;

/**
*
* @class    CShapeDrawerListView ShapeDrawerListView.h 
* @brief    This is a view class for the SHAPEDRAWER example.
* It holds the container that draws a list representation of the
* shapes (showing shape type and coordinates) that the user has added. 
*
* Series 60 view switching architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
* 
*/
class CShapeDrawerListView: public CAknView
{
public: // constructors and destructor
    static CShapeDrawerListView* NewL();
    static CShapeDrawerListView* NewLC();
    ~CShapeDrawerListView();
    CShapeDrawerAppUi& GetAppUi();
    
private: // from CAknView
    TUid Id() const;
    void HandleCommandL(TInt aCommand);
    CShapeDrawerListView();

    void DoActivateL(
        const TVwsViewId& aPrevViewId,
        TUid aCustomMessageId,
        const TDesC8& aCustomMessage);
    
    void DoDeactivate();
    
private: // constructors
    void ConstructL();
    
private: // data
    CShapeDrawerListViewContainer* iContainer; 
    TUid iId;
};

#endif    // __SHAPEDRAWER_LIST_VIEW_H__

// End of File

⌨️ 快捷键说明

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