📄 bluetoothchatdocument.cpp
字号:
/*
============================================================================
Name : BluetoothChatDocument.cpp
Author : Lion
Copyright : Your copyright notice
Description : CBluetoothChatDocument implementation
============================================================================
*/
// INCLUDE FILES
#include "BluetoothChatAppUi.h"
#include "BluetoothChatDocument.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CBluetoothChatDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CBluetoothChatDocument* CBluetoothChatDocument::NewL( CEikApplication&
aApp )
{
CBluetoothChatDocument* self = NewLC( aApp );
CleanupStack::Pop( self );
return self;
}
// -----------------------------------------------------------------------------
// CBluetoothChatDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CBluetoothChatDocument* CBluetoothChatDocument::NewLC( CEikApplication&
aApp )
{
CBluetoothChatDocument* self =
new ( ELeave ) CBluetoothChatDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
return self;
}
// -----------------------------------------------------------------------------
// CBluetoothChatDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CBluetoothChatDocument::ConstructL()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CBluetoothChatDocument::CBluetoothChatDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CBluetoothChatDocument::CBluetoothChatDocument( CEikApplication& aApp )
: CAknDocument( aApp )
{
// No implementation required
}
// ---------------------------------------------------------------------------
// CBluetoothChatDocument::~CBluetoothChatDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CBluetoothChatDocument::~CBluetoothChatDocument()
{
// No implementation required
}
// ---------------------------------------------------------------------------
// CBluetoothChatDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CBluetoothChatDocument::CreateAppUiL()
{
// Create the application user interface, and return a pointer to it;
// the framework takes ownership of this object
return ( static_cast <CEikAppUi*> ( new ( ELeave )
CBluetoothChatAppUi ) );
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -