syncserialcommapplication.cpp

来自「实现在S60 SDK 3rd Device上的USB串口通信。」· C++ 代码 · 共 40 行

CPP
40
字号
/*
 ============================================================================
 Name		: SyncSerialCommApplication.cpp
 Author	  : Redasen
 Copyright   : Redasen
 Description : Main application class
 ============================================================================
 */

// INCLUDE FILES
#include "SyncSerialComm.hrh"
#include "SyncSerialCommDocument.h"
#include "SyncSerialCommApplication.h"

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

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

// -----------------------------------------------------------------------------
// CSyncSerialCommApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CSyncSerialCommApplication::AppDllUid() const
	{
	// Return the UID for the SyncSerialComm application
	return KUidSyncSerialCommApp;
	}

// End of File

⌨️ 快捷键说明

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