stkdocument.cpp

来自「Mobile STK for Symbian OS V0.1」· C++ 代码 · 共 58 行

CPP
58
字号
/*
* ============================================================================
*  Name     : CSTKDocument from STKDocument.h
*  Part of  : STK
*  Created  : 07.02.2006 by Georg Essl
*  Implementation notes:
*     Initial content was generated by Series 60 Application Wizard.
*  Version  :
*  Copyright: DTL & TU-Berlin
* ============================================================================
*/

// INCLUDE FILES
#include "STKDocument.h"
#include "STKAppui.h"

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

// constructor
CSTKDocument::CSTKDocument(CEikApplication& aApp)
: CAknDocument(aApp)    
    {
    }

// destructor
CSTKDocument::~CSTKDocument()
    {
    }

// EPOC default constructor can leave.
void CSTKDocument::ConstructL()
    {
    }

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

    return self;
    }
    
// ----------------------------------------------------
// CSTKDocument::CreateAppUiL()
// constructs CSTKAppUi
// ----------------------------------------------------
//
CEikAppUi* CSTKDocument::CreateAppUiL()
    {
    return new (ELeave) CSTKAppUi;
    }

// End of File  

⌨️ 快捷键说明

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