⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ldleniefeilongappui.cpp

📁 symbian 视图切换源代码,很有学习价值
💻 CPP
字号:
/* Copyright (c) 2008, NieFeiLong. All rights reserved */

#include <avkon.hrh>
#include <aknnotewrappers.h> 

#include "LDLENieFeiLong.pan"
#include "LDLENieFeiLongAppUi.h"
#include "LDLENieFeiLongViewOne.h"
#include "LDLENieFeiLongViewTwo.h"
#include "LDLENieFeiLong.hrh"

void CLDLENieFeiLongAppUi::ConstructL()
    {
    BaseConstructL();

    iAppViewOne = CLDLENieFeiLongViewOne::NewL();    
    iAppViewTwo = CLDLENieFeiLongViewTwo::NewL();  
	
	AddViewL(iAppViewOne);
	AddViewL(iAppViewTwo);

	SetDefaultViewL(*iAppViewOne);
    }

CLDLENieFeiLongAppUi::CLDLENieFeiLongAppUi()                              
    {
    // add any construction that cannot leave here
    }

CLDLENieFeiLongAppUi::~CLDLENieFeiLongAppUi()
    {
//     if (iAppViewOne)
//        {
//      
//        delete iAppViewOne;
//        iAppViewOne = NULL;
//        }
//     if (iAppViewTwo)
//        {
//        delete iAppViewTwo;
//        iAppViewTwo = NULL;
//        }

    }

void CLDLENieFeiLongAppUi::HandleCommandL(TInt aCommand)
    {
    switch(aCommand)
        {
        case EEikCmdExit:
        case EAknSoftkeyExit:
            Exit();
            break;
        default:
            Panic(ELDLENieFeiLongBasicUi);
            break;
        }
    }



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -