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

📄 toneplayerappui.h

📁 《基于Symbian OS的手机开发与应用实践》这本书的配套源码。
💻 H
字号:
/*
* ============================================================================
*  Name     : CTonePlayerAppUi from TonePlayerAppui.h
*  Part of  : TonePlayer
*  Created  : 31.01.2006 by ToBeReplacedByAuthor
*  Description:
*     Declares UI class for application.
*  Version  :
*  Copyright: ToBeReplacedByCopyright
* ============================================================================
*/

#ifndef TONEPLAYERAPPUI_H
#define TONEPLAYERAPPUI_H

// INCLUDES
#include <aknappui.h>

#include "TonePlayerEngine.h"

// FORWARD DECLARATIONS
class CTonePlayerContainer;


// CLASS DECLARATION

/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
* 
*/
class CTonePlayerAppUi : public CAknAppUi, public CTonePlayerEngine::MObserver
    {
    public: // // Constructors and destructor

        /**
        * EPOC default constructor.
        */      
        void ConstructL();

        /**
        * Destructor.
        */      
        ~CTonePlayerAppUi();
        
    public: // New functions

    public: // Functions from CTonePlayerEngine::MObserver
        void OnComplete(TInt aError);

    private:
        /**
        * From CEikAppUi, takes care of command handling.
        * @param aCommand command to be handled
        */
        void HandleCommandL(TInt aCommand);

        /**
        * From CEikAppUi, takes care of key handling.
        */
        TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);

    private: //Data
        CTonePlayerContainer* iAppContainer; 
        CTonePlayerEngine* iTonePlayerEngine;
    };

#endif

// End of File

⌨️ 快捷键说明

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