testdoublebufferapplication.cpp

来自「Symbian双缓冲画界面」· C++ 代码 · 共 40 行

CPP
40
字号
/*
 ============================================================================
 Name		: TestDoubleBufferApplication.cpp
 Author	  : 
 Copyright   : Your copyright notice
 Description : Main application class
 ============================================================================
 */

// INCLUDE FILES
#include "TestDoubleBuffer.hrh"
#include "TestDoubleBufferDocument.h"
#include "TestDoubleBufferApplication.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CTestDoubleBufferApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CTestDoubleBufferApplication::CreateDocumentL()
	{
	// Create an TestDoubleBuffer document, and return a pointer to it
	return CTestDoubleBufferDocument::NewL(*this);
	}

// -----------------------------------------------------------------------------
// CTestDoubleBufferApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CTestDoubleBufferApplication::AppDllUid() const
	{
	// Return the UID for the TestDoubleBuffer application
	return KUidTestDoubleBufferApp;
	}

// End of File

⌨️ 快捷键说明

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