recorderappui.cpp
来自「play stream media file. OS: symbian s60」· C++ 代码 · 共 79 行
CPP
79 行
/*
* ============================================================================
* 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 + =
减小字号Ctrl + -
显示快捷键?