?? multiviewsappui.cpp
字號:
/* Copyright (c) 2004, Nokia. All rights reserved */
// INCLUDE FILES
#include <e32std.h>
#include "MultiViews.pan"
#include "MultiViewsAppUi.h"
#include "MultiViewsView1.h"
#include "MultiViewsView2.h"
// ========================= MEMBER FUNCTIONS ==================================
// -----------------------------------------------------------------------------
// CMultiViewsAppUi::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CMultiViewsAppUi::ConstructL()
{
// Initialise app UI
BaseConstructL();
iAppView1 = CMultiViewsView1::NewL();
iAppView2 = CMultiViewsView2::NewL();
// Transfer ownership to base class
AddViewL( iAppView1 );
AddViewL( iAppView2 );
SetDefaultViewL( *iAppView1 );
}
// -----------------------------------------------------------------------------
// CMultiViewsAppUi::HandleCommandL()
// Takes care of command handling.
// -----------------------------------------------------------------------------
//
void CMultiViewsAppUi::HandleCommandL( TInt aCommand )
{
switch ( aCommand )
{
case EEikCmdExit:
case EAknSoftkeyExit:
Exit();
break;
default:
Panic( EMultiViewsBasicUi );
break;
}
}
// End of File
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -