📄 filefetcherdocument.cpp
字号:
/*
* ============================================================================
* Name : FileFetcherDocument.cpp
* Part of : File fetching Example
* Created : 12/9/2003 by Forum Nokia
* Implementation notes:
*
*
* Version : 1.0
* Copyright: Nokia Corporation
* ============================================================================
*/
#include "FileFetcherAppUi.h"
#include "FileFetcherDocument.h"
// ----------------------------------------------------------------------------
// CFileFetcherDocument::NewL()
//
// Creates instance of CFileFetcherDocument.
// ----------------------------------------------------------------------------
CFileFetcherDocument* CFileFetcherDocument::NewL(CEikApplication& aApp)
{
CFileFetcherDocument* self = NewLC(aApp);
CleanupStack::Pop(self);
return self;
}
// ----------------------------------------------------------------------------
// CFileFetcherDocument::NewLC()
//
// Creates instance of CFileFetcherDocument.
// ----------------------------------------------------------------------------
CFileFetcherDocument* CFileFetcherDocument::NewLC(CEikApplication& aApp)
{
CFileFetcherDocument* self = new (ELeave) CFileFetcherDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
return self;
}
// ----------------------------------------------------------------------------
// CFileFetcherDocument::ConstructL()
//
// Second phase construction.
// ----------------------------------------------------------------------------
void CFileFetcherDocument::ConstructL()
{
}
// ----------------------------------------------------------------------------
// CFileFetcherDocument::CFileFetcherDocument()
//
// First phase construction.
// ----------------------------------------------------------------------------
CFileFetcherDocument::CFileFetcherDocument(CEikApplication& aApp)
: CAknDocument(aApp)
{
}
// ----------------------------------------------------------------------------
// CFileFetcherDocument::~CFileFetcherDocument()
//
// Destructor.
// ----------------------------------------------------------------------------
CFileFetcherDocument::~CFileFetcherDocument()
{
}
// ----------------------------------------------------------------------------
// CFileFetcherDocument::CreateAppUiL()
//
// Creates the application user interface, and returns a pointer to it;
// the framework takes ownership of this object
// ----------------------------------------------------------------------------
CEikAppUi* CFileFetcherDocument::CreateAppUiL()
{
return (static_cast <CEikAppUi*> (new (ELeave) CFileFetcherAppUi));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -