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

📄 socketsdocument.cpp

📁 Symbian 手机网络通信程序 sockets-vc
💻 CPP
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */


// INCLUDE FILES
#include "SocketsAppUi.h"
#include "SocketsDocument.h"

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

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

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

// -----------------------------------------------------------------------------
// CSocketsDocument::CSocketsDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CSocketsDocument::CSocketsDocument( CEikApplication& aApp )
: CEikDocument( aApp )
    {
    // No implementation required
    }

// -----------------------------------------------------------------------------
// CSocketsDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CSocketsDocument::ConstructL()
    {
    // No implementation required
    }

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

// -----------------------------------------------------------------------------
// CSocketsDocument::CreateAppUiL()
// Creates a CSocketsAppUi object and return a pointer to it.
// -----------------------------------------------------------------------------
//
CEikAppUi* CSocketsDocument::CreateAppUiL()
    {
    CEikAppUi* appUi = new ( ELeave ) CSocketsAppUi;
    return appUi;
    }

// End of File

⌨️ 快捷键说明

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