fontsandtextmetricsview.h

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

H
54
字号
#ifndef FONTSANDTEXTMETRICSVIEW_H
#define FONTSANDTEXTMETRICSVIEW_H

// INCLUDES
#include <aknview.h>    // CAknView

// CONSTANTS
// UID of view
const TUid KMetricsViewId = { 2 };

// FORWARD DECLARATIONS
class CFontsAndTextMetricsContainer;

// CLASS DECLARATION

/**
 *
 * @class    CFontsAndTextMetricsView FontsAndTextMetricsView.h 
 * @brief    This is a view class for the Metrics view of the FontsAndText application
 * 
 * Copyright (c) EMCC Software Ltd 2003
 * @version    1.0
 *  
 */

class CFontsAndTextMetricsView : public CAknView
{
public:    // Construction and destruction
    static CFontsAndTextMetricsView* NewL();
    static CFontsAndTextMetricsView* NewLC();        
    ~CFontsAndTextMetricsView();

private:    // from CAknView        
    TUid Id() const;
    void HandleCommandL(TInt aCommand);

    void DoActivateL(
        const TVwsViewId& aPrevViewId,
        TUid aCustomMessageId,
        const TDesC8& aCustomMessage);

    void DoDeactivate();

private:    // Construction
    void ConstructL();

private:    // Data
    CFontsAndTextMetricsContainer* iContainer; // To be displayed by the View
};

#endif    // FONTSANDTEXTMETRICSVIEW_H

// End of File

⌨️ 快捷键说明

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