drawing_application.cpp

来自「Symbian OS C++ for Mobile Phones v3 Exam」· C++ 代码 · 共 35 行

CPP
35
字号
// Drawing_Application.cpp
// ----------------------------------
//
// Copyright (c) 2002 Symbian Software Ltd.  All rights reserved.
//

////////////////////////////////////////////////////////////////////////
//
// Source file for the implementation of the 
// application class - CExampleApplication
//
////////////////////////////////////////////////////////////////////////

#include "Drawing.h"

const TUid KUidDrawing = { 0X101F8B3D }; 

//             The function is called by the UI framework to ask for the
//             application's UID. The returned value is defined by the
//             constant KUidDrawing and must match the second value
//             defined in the project definition file.
// 
TUid CExampleApplication::AppDllUid() const
	{
	return KUidDrawing;
	}

//             This function is called by the UI framework at
//             application start-up. It creates an instance of the
//             document class.
//
CApaDocument* CExampleApplication::CreateDocumentL()
	{
	return new (ELeave) CExampleDocument(*this);
	}

⌨️ 快捷键说明

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