scalablescreendrawingapplication.cpp

来自「一个界面绘图的例子」· C++ 代码 · 共 36 行

CPP
36
字号
// ScalableScreenDrawing_application.cpp
// --------------------------
//

////////////////////////////////////////////////////////////////////////
//
// Implementation of the application class - CScalableScreenDrawingApplication
//
////////////////////////////////////////////////////////////////////////

#include <avkon.hrh>
#include <avkon.rsg>
#include <ScalableScreenDrawing.rsg>
#include "ScalableScreenDrawing.h"

const TUid KUidScalableScreenDrawing = { 0X10009AD7 };

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

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

// End of file.

⌨️ 快捷键说明

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