audioplayerappui.h

来自「symbian开发例子程序,来自书籍 symbian os c++手机应用程序开」· C头文件 代码 · 共 69 行

H
69
字号
/*
* ============================================================================
*  Name     : CAudioPlayerAppUi from AudioPlayerAppui.h
*  Part of  : AudioPlayer
*  Created  : 31.01.2006 by ToBeReplacedByAuthor
*  Description:
*     Declares UI class for application.
*  Version  :
*  Copyright: ToBeReplacedByCopyright
* ============================================================================
*/

#ifndef AUDIOPLAYERAPPUI_H
#define AUDIOPLAYERAPPUI_H

// INCLUDES
#include <aknappui.h>

#include "AudioPlayerEngine.h"

// FORWARD DECLARATIONS
class CAudioPlayerContainer;


// CLASS DECLARATION

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

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

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

    public: // Functions from base classes

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

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

    private: //Data
        CAudioPlayerContainer* iAppContainer; 
        CAudioPlayerEngine* iAudioPlayerEngine;
    };

#endif

// End of File

⌨️ 快捷键说明

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