wlansampleexdocument.cpp

来自「基于symbian平台的Wlan创建」· C++ 代码 · 共 50 行

CPP
50
字号
/* ====================================================================
 * File: WLanSampleExDocument.cpp
 * Created: 01/19/07
 * Author: 
 * Copyright (c): , All rights reserved
 * ==================================================================== */

#include "WLanSampleExAppUi.h"
#include "WLanSampleExDocument.h"

// Standard Symbian OS construction sequence
CWLanSampleExDocument* CWLanSampleExDocument::NewL(CEikApplication& aApp)
    {
    CWLanSampleExDocument* self = NewLC(aApp);
    CleanupStack::Pop(self);
    return self;
    }

CWLanSampleExDocument* CWLanSampleExDocument::NewLC(CEikApplication& aApp)
    {
    CWLanSampleExDocument* self = new (ELeave) CWLanSampleExDocument(aApp);
    CleanupStack::PushL(self);
    self->ConstructL();
    return self;
    }

void CWLanSampleExDocument::ConstructL()
    {
	// no implementation required
    }       

CWLanSampleExDocument::CWLanSampleExDocument(CEikApplication& aApp) : CAknDocument(aApp) 
    {
	// no implementation required
    }

CWLanSampleExDocument::~CWLanSampleExDocument()
    {
	// no implementation required
    }

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

⌨️ 快捷键说明

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