symbianosunitapplication.cpp

来自「symbian 3rd下的单元测试工具 里面包括一个框架 一个实例程序 还有使用」· C++ 代码 · 共 46 行

CPP
46 行
字号
// CSymbianOSUnitApplication.cpp
// ----------------------------------
//
// Copyright (c) 2003-2006 Penrillian Ltd.  All rights reserved.
// Web: www.penrillian.com


#include "SymbianOSUnit.h"

//The function is called by the UI framework to ask for the
//application's UID. The returned value is defined by the
//constant KUidSymbianOSUnit and must match the second value
//defined in the project definition file.

TUid CSymbianOSUnitApplication::AppDllUid() const
{
	return KUidSymbianOSUnit;
}

//This function is called by the UI framework at
//application start-up. It creates an instance of the
//document class.

CApaDocument* CSymbianOSUnitApplication::CreateDocumentL()
{
	return CSymbianOSUnitDocument::NewL(*this);
}

CSymbianOSUnitApplication* CSymbianOSUnitApplication::NewL()
{
	CSymbianOSUnitApplication* app = new (ELeave) CSymbianOSUnitApplication;
	CleanupStack::PushL(app);
	app->ConstructL();
	CleanupStack::Pop(); //app
	return app;
}

CSymbianOSUnitApplication::~CSymbianOSUnitApplication()
{
}

void CSymbianOSUnitApplication::ConstructL()
{
}

⌨️ 快捷键说明

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