bluetoothchatdocument.cpp
来自「《基于symbian手机开发与应用》一书的源代码」· C++ 代码 · 共 68 行
CPP
68 行
/**
*
* @brief Definition of CBluetoothChatDocument
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
// INCLUDE FILES
// Class include
#include "BluetoothChatDocument.h"
// User includes
#include "BluetoothChatAppUi.h" // CBluetoothChatAppUi
// ================= MEMBER FUNCTIONS =======================
/**
* Constructs the document for aApp.
* Private constructor
* @see NewL
* @param aApp for which the document is constructed
* @return none
*/
CBluetoothChatDocument::CBluetoothChatDocument(CEikApplication& aApp)
: CAknDocument(aApp)
{
}
/**
* Symbian OS 2nd phase constructor.
* This is an empty implementation.
* @see NewL
* @param none
* @return none
*/
void CBluetoothChatDocument::ConstructL()
{
}
/**
* Symbian OS 2 phase constructor.
* Constructs the CBluetoothChatDocument using the constructor and the ConstructL
* method.
* @param aApp for which the CBluetoothChatDocument is constructed
* @return The newly constructed CBluetoothChatDocument
*/
CBluetoothChatDocument* CBluetoothChatDocument::NewL(CEikApplication& aApp)
{
CBluetoothChatDocument* self = new (ELeave) CBluetoothChatDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
CleanupStack::Pop(self);
return self;
}
/**
* Creates the AppUi for this document.
* @param none
* @return The newly constructed AppUi
*/
CEikAppUi* CBluetoothChatDocument::CreateAppUiL()
{
return new (ELeave) CBluetoothChatAppUi;
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?