📄 recorderappui.cpp
字号:
/*
* ============================================================================
* Name : Recorderappui.cpp
* Part of : RecorderExample
* Created : 20.03.2005 by Forum Nokia
* Version : 1.0.0
* Copyright: Nokia Corporation
* ============================================================================
*/
// INCLUDE FILES
#include "RecorderAppUi.h"
#include "RecorderContainer.h"
#include "recorder.hrh"
#include "RecorderView.h"
// ================= MEMBER FUNCTIONS =======================
// ----------------------------------------------------
// CRecorderAppUi::CRecorderAppUi()
// C++ default constructor
// ----------------------------------------------------
CRecorderAppUi::CRecorderAppUi()
: iAppContainer( NULL )
{
}
// ----------------------------------------------------
// EPOC default constructor can leave.
// Second phase constructor
// ----------------------------------------------------
void CRecorderAppUi::ConstructL()
{
BaseConstructL();
CRecorderView* view1 = new( ELeave )CRecorderView;
CleanupStack::PushL( view1 );
view1->ConstructL();
CleanupStack::Pop();
AddViewL( view1 );
ActivateLocalViewL( view1->Id() );
}
// ----------------------------------------------------
// CRecorderAppUi::~CRecorderAppUi()
// Destructor
// ----------------------------------------------------
CRecorderAppUi::~CRecorderAppUi()
{
}
// ----------------------------------------------------
// CRecorderAppUi::HandleCommandL( TInt aCommand )
// Handle command list
// ----------------------------------------------------
void CRecorderAppUi::HandleCommandL( TInt aCommand )
{
switch ( aCommand )
{
case EAknCmdExit:
case EEikCmdExit:
Exit();
break;
default:
break;
} // End switch ( aCommand )
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -