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

📄 symbianosunitdocument.cpp

📁 symbian 3rd下的单元测试工具 里面包括一个框架 一个实例程序 还有使用手册 很好用的 我自己用过 有问题的可以交流奥
💻 CPP
字号:
// CSymbianOSUnitDocument.cpp
// ---------------------
//
// Copyright (c) 2003-2006 Penrillian Ltd all rights reserved. Web: www.penrillian.com
//

////////////////////////////////////////////////////////////////////////
//
// Source file for the implementation of the 
// document class - CSymbianOSUnitDocument
//
////////////////////////////////////////////////////////////////////////

#include "SymbianOSUnit.h"

//             The constructor of the document class just passes the
//             supplied reference to the constructor initialisation list.
//             The document has no real work to do in this application.
//
CSymbianOSUnitDocument::CSymbianOSUnitDocument(APPLICATION& aApp)
: DOCUMENT(aApp)
{
}

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

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

// Two-phased constructor.
CSymbianOSUnitDocument* CSymbianOSUnitDocument::NewL(APPLICATION& aApp)
{
    CSymbianOSUnitDocument* self = new (ELeave) CSymbianOSUnitDocument( aApp );
    CleanupStack::PushL( self );
    self->ConstructL();
    CleanupStack::Pop();
	
    return self;
}



//             This is called by the UI framework as soon as the 
//             document has been created. It creates an instance
//             of the ApplicationUI. The Application UI class is
//             an instance of a CEikAppUi derived class.
//
CEikAppUi* CSymbianOSUnitDocument::CreateAppUiL()
{
    return new (ELeave) CSymbianOSUnitAppUi;
}

⌨️ 快捷键说明

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