simplecontrolview.h

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

H
56
字号
#ifndef __SIMPLECONTROLVIEW_H__
#define __SIMPLECONTROLVIEW_H__

//INCLUDES

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

// FORWARD DECLARATIONS

class CSimpleControl;

/**
*
* @class    CSimpleControlView SimpleControlView.h 
* @brief    This is a view class for a Hello World example based on the 
* Series 60 view switching architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
* 
*/
class CSimpleControlView: public CAknView
{
public: // constructors and destructor
    
    static CSimpleControlView* NewL();
    static CSimpleControlView* NewLC();
    ~CSimpleControlView();
    
private: // from CAknView
    
    TUid Id() const;
    void HandleCommandL(TInt aCommand);

    void DoActivateL(
        const TVwsViewId& aPrevViewId,
        TUid aCustomMessageId,
        const TDesC8& aCustomMessage);
    
    void DoDeactivate();
    
private: // constructors
    
    void ConstructL();
    
private: // data
    
    CSimpleControl* iContainer; // what this view will display
    TUid iId;
};

#endif    // __SIMPLECONTROLVIEW_H__

// End of File

⌨️ 快捷键说明

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