ddapplication.cpp

来自「实现界面编程。symbian方面的界面开发」· C++ 代码 · 共 41 行

CPP
41
字号
/*
============================================================================
 Name        : ddApplication.cpp
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "ddDocument.h"
#include "ddApplication.h"

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

// -----------------------------------------------------------------------------
// CddApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CddApplication::CreateDocumentL()
	{
	// Create an dd document, and return a pointer to it
	return (static_cast<CApaDocument*>
		( CddDocument::NewL( *this ) ) );
	}

// -----------------------------------------------------------------------------
// CddApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CddApplication::AppDllUid() const
	{
	// Return the UID for the dd application
	return KUidddApp;
	}

// End of File

⌨️ 快捷键说明

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