dialerappview.cpp

来自「symbian 的打电话程序 可以实现安装sis」· C++ 代码 · 共 86 行

CPP
86
字号
/* Copyright (c) 2004, Nokia. All rights reserved */


// INCLUDE FILES
#include "DialerAppView.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CDialerAppView::NewL()
// Two-phased constructor.
// Standard construction sequence
// -----------------------------------------------------------------------------
//
CDialerAppView* CDialerAppView::NewL( const TRect& aRect )
    {
    CDialerAppView* self = CDialerAppView::NewLC( aRect );
    CleanupStack::Pop();
    return self;
    }

// -----------------------------------------------------------------------------
// CDialerAppView::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CDialerAppView* CDialerAppView::NewLC( const TRect& aRect )
    {
    CDialerAppView* self = new ( ELeave ) CDialerAppView;
    CleanupStack::PushL( self );
    self->ConstructL( aRect );
    return self;
    }

// -----------------------------------------------------------------------------
// CHelpExampleAppView::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CDialerAppView::ConstructL( const TRect& aRect )
    {
    // Create a window for this application view
    CreateWindowL();

    // Set the windows size
    SetRect( aRect );

    // Activate the window, which makes it ready to be drawn
    ActivateL();
    }

// -----------------------------------------------------------------------------
// CDialerAppView::CDialerAppView()
// Constructor.
// -----------------------------------------------------------------------------
//
CDialerAppView::CDialerAppView()
    {
    // No implementation required
    }

// -----------------------------------------------------------------------------
// CDialerAppView::~CDialerAppView()
// Destructor.
// -----------------------------------------------------------------------------
//
CDialerAppView::~CDialerAppView()
    {
    // No implementation required
    }

// -----------------------------------------------------------------------------
// CDialerAppView::Draw()
// Draw this application's view to the screen
// -----------------------------------------------------------------------------
//
void CDialerAppView::Draw( const TRect& /*aRect*/ ) const
    {
    // Clear the screen
    CWindowGc& gc = SystemGc();
    gc.Clear( Rect() );
    }


// End of File

⌨️ 快捷键说明

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