⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 btpointtopointdocument.cpp

📁 Symbian下的p2p工程
💻 CPP
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */


// INCLUDE FILES
#include "BTPointToPointAppUi.h"
#include "BTPointToPointDocument.h"

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

// ----------------------------------------------------------------------------
// CBTPointToPointDocument::NewL()
// Two-phased constructor.
// ----------------------------------------------------------------------------
//
CBTPointToPointDocument* CBTPointToPointDocument::NewL( CEikApplication& aApp )
    {
    CBTPointToPointDocument* self = NewLC( aApp );
    CleanupStack::Pop( self );
    return self;
    }

// ----------------------------------------------------------------------------
// CBTPointToPointDocument::NewLC()
// Two-phased constructor.
// ----------------------------------------------------------------------------
//
CBTPointToPointDocument* CBTPointToPointDocument
::NewLC( CEikApplication& aApp )
    {
    CBTPointToPointDocument* self = new ( ELeave ) 
                                        CBTPointToPointDocument( aApp );
    CleanupStack::PushL( self );
    self->ConstructL();
    return self;
    }

// ----------------------------------------------------------------------------
// CBTPointToPointDocument::ConstructL()
// 2nd phase construction.
// ----------------------------------------------------------------------------
//
void CBTPointToPointDocument::ConstructL()
    {
    // no implementation required
    }    

// ----------------------------------------------------------------------------
// CBTPointToPointDocument::CBTPointToPointDocument()
// Constructor.
// ----------------------------------------------------------------------------
//
CBTPointToPointDocument::CBTPointToPointDocument( CEikApplication& aApp ) 
: CAknDocument( aApp ) 
    {
    // no implementation required
    }   

// ----------------------------------------------------------------------------
// CBTPointToPointDocument::~CBTPointToPointDocument()
// Destructor.
// ----------------------------------------------------------------------------
//
CBTPointToPointDocument::~CBTPointToPointDocument()
    {
    // no implementation required
    }

// ----------------------------------------------------------------------------
// CBTPointToPointDocument::CreateAppUiL()
// Create the application user interface, and return a pointer to it;
// the framework takes ownership of this object..
// ----------------------------------------------------------------------------
//
CEikAppUi* CBTPointToPointDocument::CreateAppUiL()
    {
    // Create the application user interface, and return a pointer to it
    CEikAppUi* appUi = new ( ELeave ) CBTPointToPointAppUi;
    return appUi;
    }

// End of File

⌨️ 快捷键说明

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