ccontdocument.cpp

来自「在symbian2.0平台上开发的通信录」· C++ 代码 · 共 66 行

CPP
66
字号
/* Copyright (c) 2003, Nokia. All rights reserved */


// INCLUDE FILES
#include "CContDocument.h"
#include "CContAppUi.h"

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

// ---------------------------------------------------------
// CContDocument::CContDocument()
// constructor
// ---------------------------------------------------------
//
CContDocument::CContDocument( CEikApplication& aApp )
: CAknDocument( aApp )
    {
    }

// ---------------------------------------------------------
// CContDocument::~CContDocument ()
// destructor
// ---------------------------------------------------------
//
CContDocument::~CContDocument()
    {
    }

// ---------------------------------------------------------
// CContDocument::ConstructL()
// Two phased constructor
// ---------------------------------------------------------
//
void CContDocument::ConstructL()
    {
    }


// ---------------------------------------------------------
// CContDocument::NewL()
// Two phased constructor
// ---------------------------------------------------------
//
CContDocument* CContDocument::NewL(
        CEikApplication& aApp )     // CContApp reference
    {
    CContDocument* self = new (ELeave) CContDocument( aApp );
    CleanupStack::PushL( self );
    self->ConstructL();
    CleanupStack::Pop();

    return self;
    }

// ----------------------------------------------------
// CContDocument::CreateAppUiL()
// constructs CContAppUi
// ----------------------------------------------------
//
CEikAppUi* CContDocument::CreateAppUiL()
    {
    return new (ELeave) CContAppUi;
    }

// End of File

⌨️ 快捷键说明

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