📄 mclassexampleappui.cpp
字号:
/* Copyright (c) 2008, Nokia. All rights reserved */
#include <avkon.hrh>
#include <aknnotewrappers.h>
#include "MClassExample.pan"
#include "MClassExampleAppUi.h"
#include "MClassExample.hrh"
#include "SendDataview.h"
#include "GetDataview.h"
void CMClassExampleAppUi::ConstructL()
{
BaseConstructL(EAknEnableSkin);
m_GetDataView = CGetDataView::NewL();
m_SendDataView = CSendDataView::NewL(m_GetDataView);
AddViewL(m_SendDataView);
AddViewL(m_GetDataView);
}
CMClassExampleAppUi::CMClassExampleAppUi()
{
// add any construction that cannot leave here
}
CMClassExampleAppUi::~CMClassExampleAppUi()
{
}
void CMClassExampleAppUi::HandleCommandL(TInt aCommand)
{
switch(aCommand)
{
case EEikCmdExit:
case EAknSoftkeyExit:
Exit();
break;
// case EMClassExampleCommand1:
// {
// _LIT(message,"Command 1");
// CAknInformationNote* informationNote = new (ELeave) CAknInformationNote;
// informationNote->ExecuteLD(message);
// }
// break;
default:
Panic(EMClassExampleBasicUi);
break;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -