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

📄 mp3playerappui.cpp

📁 一个mp3播放器的小例子
💻 CPP
字号:
/* Copyright (c) 2005, Nokia. All rights reserved */

#include <e32std.h>

#include "MP3Player.pan"
#include "MP3PlayerAppUi.h"
#include "MP3Player.hrh"
#include "MP3View1.h"
#include "MP3View2.h"


void CMP3PlayerAppUi::ConstructL()
    {
    BaseConstructL(EAknEnableSkin);

    iAppView1 = CMP3View1::NewL();
    iAppView2 = CMP3View2::NewL();
	AddViewL(iAppView1);
	AddViewL(iAppView2);
	SetDefaultViewL(*iAppView1);
    }

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

CMP3PlayerAppUi::~CMP3PlayerAppUi()
    {
	}

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



⌨️ 快捷键说明

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