📄 imageloaderappui.cpp
字号:
/*
* ============================================================================
* Name : CImageLoaderAppUi from ImageLoaderAppui.cpp
* Part of : ImageLoader
* Created : 31.01.2006 by ToBeReplacedByCopyright
* Implementation notes:
* Initial content was generated by Series 60 Application Wizard.
* Version :
* Copyright: ToBeReplacedByAuthor
* ============================================================================
*/
// INCLUDE FILES
#include "ImageLoaderAppui.h"
#include "ImageLoaderContainer.h"
#include <ImageLoader.rsg>
#include "ImageLoader.hrh"
#include <avkon.hrh>
// ================= MEMBER FUNCTIONS =======================
//
// ----------------------------------------------------------
// CImageLoaderAppUi::ConstructL()
//
// ----------------------------------------------------------
//
void CImageLoaderAppUi::ConstructL()
{
BaseConstructL();
iAppContainer = new (ELeave) CImageLoaderContainer;
iAppContainer->SetMopParent( this );
iAppContainer->ConstructL( ClientRect() );
AddToStackL( iAppContainer );
}
// ----------------------------------------------------
// CImageLoaderAppUi::~CImageLoaderAppUi()
// Destructor
// Frees reserved resources
// ----------------------------------------------------
//
CImageLoaderAppUi::~CImageLoaderAppUi()
{
if (iAppContainer)
{
RemoveFromStack( iAppContainer );
delete iAppContainer;
}
}
// ----------------------------------------------------
// CImageLoaderAppUi::HandleCommandL(TInt aCommand)
// takes care of command handling
// ----------------------------------------------------
//
void CImageLoaderAppUi::HandleCommandL(TInt aCommand)
{
switch ( aCommand )
{
case EAknSoftkeyBack:
case EEikCmdExit:
{
Exit();
break;
}
case EImageLoaderCmdLoad:
{
iAppContainer->LoadL();
break;
}
// TODO: Add Your command handling code here
default:
break;
}
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -