📄 ocrexampledocument.cpp
字号:
/*
* ==============================================================================
* Name : OcrExampleDocument.cpp
* Part of : OcrExample
* Interface :
* Description :
* Version :
*
* Copyright (c) 2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
// INCLUDE FILES
#include "OcrExampleDocument.h"
#include "OcrExampleAppui.h"
// ================= MEMBER FUNCTIONS =========================================
// ----------------------------------------------------------------------------
// COcrExampleDocument::COcrExampleDocument()
// constructor
// ----------------------------------------------------------------------------
//
COcrExampleDocument::COcrExampleDocument( CEikApplication& aApp )
: CAknDocument( aApp )
{
// no implementation required
}
// ----------------------------------------------------------------------------
// COcrExampleDocument::~COcrExampleDocument()
// destructor
// ----------------------------------------------------------------------------
//
COcrExampleDocument::~COcrExampleDocument()
{
// no implementation required
}
// ----------------------------------------------------------------------------
// COcrExampleDocument::ConstructL()
// Symbian two phased constructor
// ----------------------------------------------------------------------------
//
void COcrExampleDocument::ConstructL()
{
// no implementation required
}
// ----------------------------------------------------------------------------
// COcrExampleDocument::NewL()
// Two-phased constructor.
// ----------------------------------------------------------------------------
//
COcrExampleDocument* COcrExampleDocument::NewL(
CEikApplication& aApp ) // COcrExampleApp reference
{
COcrExampleDocument* self = new (ELeave) COcrExampleDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
CleanupStack::Pop( self );
return self;
}
// -----------------------------------------------------------------------------
// COcrExampleDocument::CreateAppUiL()
// constructs COcrExampleAppUi
// -----------------------------------------------------------------------------
//
CEikAppUi* COcrExampleDocument::CreateAppUiL()
{
return new (ELeave) COcrExampleAppUi;
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -