videoplayerappui.h

来自「《基于Symbian OS的手机开发与应用实践》这本书的配套源码。」· C头文件 代码 · 共 70 行

H
70
字号
/*
* ============================================================================
*  Name     : CVideoPlayerAppUi from VideoPlayerAppui.h
*  Part of  : VideoPlayer
*  Created  : 31.01.2006 by ToBeReplacedByAuthor
*  Description:
*     Declares UI class for application.
*  Version  :
*  Copyright: ToBeReplacedByCopyright
* ============================================================================
*/

#ifndef VIDEOPLAYERAPPUI_H
#define VIDEOPLAYERAPPUI_H

// INCLUDES
#include <aknappui.h>

#include "VideoPlayerEngine.h"

// FORWARD DECLARATIONS
class CVideoPlayerContainer;


// CLASS DECLARATION

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

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

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

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

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

    private:
        void SetCbaL(TInt aResourceId);

    private: //Data
        CVideoPlayerContainer* iAppContainer; 
        CVideoPlayerEngine* iVideoPlayerEngine;
    };

#endif

// End of File

⌨️ 快捷键说明

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