📄 camtestdocument.cpp
字号:
/*
============================================================================
Name : CamTestDocument.cpp
Author :
Version :
Copyright : Your copyright notice
Description : Application document class (model)
============================================================================
*/
// INCLUDE FILES
#include "CamTestAppUi.h"
#include "CamTestDocument.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CCamTestDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CCamTestDocument* CCamTestDocument::NewL( CEikApplication&
aApp )
{
CCamTestDocument* self = new (ELeave) CCamTestDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
CleanupStack::Pop(self);
return self;
}
// -----------------------------------------------------------------------------
// CCamTestDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
/*
CCamTestDocument* CCamTestDocument::NewLC( CEikApplication&
aApp )
{
CCamTestDocument* self =
new ( ELeave ) CCamTestDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
return self;
}
*/
// -----------------------------------------------------------------------------
// CCamTestDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CCamTestDocument::ConstructL()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CCamTestDocument::CCamTestDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CCamTestDocument::CCamTestDocument( CEikApplication& aApp )
: CAknDocument( aApp )
{
// No implementation required
}
// ---------------------------------------------------------------------------
// CCamTestDocument::~CCamTestDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CCamTestDocument::~CCamTestDocument()
{
// No implementation required
}
// ---------------------------------------------------------------------------
// CCamTestDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CCamTestDocument::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 )
CCamTestAppUi ) );
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -