⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 syncserialcommdocument.cpp

📁 实现在S60 SDK 3rd Device上的USB串口通信。
💻 CPP
字号:
/*
 ============================================================================
 Name		: SyncSerialCommDocument.cpp
 Author	  : Redasen
 Copyright   : Redasen
 Description : CSyncSerialCommDocument implementation
 ============================================================================
 */

// INCLUDE FILES
#include "SyncSerialCommAppUi.h"
#include "SyncSerialCommDocument.h"

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

// -----------------------------------------------------------------------------
// CSyncSerialCommDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CSyncSerialCommDocument* CSyncSerialCommDocument::NewL(CEikApplication& aApp)
	{
	CSyncSerialCommDocument* self = NewLC(aApp);
	CleanupStack::Pop(self);
	return self;
	}

// -----------------------------------------------------------------------------
// CSyncSerialCommDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CSyncSerialCommDocument* CSyncSerialCommDocument::NewLC(CEikApplication& aApp)
	{
	CSyncSerialCommDocument* self = new (ELeave) CSyncSerialCommDocument(aApp);

	CleanupStack::PushL(self);
	self->ConstructL();
	return self;
	}

// -----------------------------------------------------------------------------
// CSyncSerialCommDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CSyncSerialCommDocument::ConstructL()
	{
	// No implementation required
	}

// -----------------------------------------------------------------------------
// CSyncSerialCommDocument::CSyncSerialCommDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CSyncSerialCommDocument::CSyncSerialCommDocument(CEikApplication& aApp) :
	CAknDocument(aApp)
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CSyncSerialCommDocument::~CSyncSerialCommDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CSyncSerialCommDocument::~CSyncSerialCommDocument()
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CSyncSerialCommDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CSyncSerialCommDocument::CreateAppUiL()
	{
	// Create the application user interface, and return a pointer to it;
	// the framework takes ownership of this object
	return new (ELeave) CSyncSerialCommAppUi;
	}

// End of File

⌨️ 快捷键说明

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