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

📄 screenupdatetimer.h

📁 play stream media file. OS: symbian s60
💻 H
字号:
/*
* ============================================================================
*  Name     : CScreenUpdateTimer from Screenupdatetimer.h
*  Part of  : RecorderExample
*  Created  : 20.03.2005 by Forum Nokia
*  Description:
*     Timer class is activated while recording or playing and every shift 
*     proressbar is updated via RecorderContainer
*  Version  : 1.0.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

#ifndef SCREENUPDATETIMER_H
#define SCREENUPDATETIMER_H

// INCLUDES

//this is included for CTimer
#include <aknappui.h>


// FORWARD DECLARATIONS
class CRecorderContainer;
class CRecorderAdapter;

struct TTimerModel;


// CLASS DECLARATION

/**
* Timer class.
*/
class CScreenUpdateTimer : public CTimer
    {

    public:  // Constructors and destructor
        
        /**
        * CScreenUpdateTimer()
      	*
        * @discussion C++ default constructor.
        */
        CScreenUpdateTimer();

        /**
        * ConstructL()
        *
        * discussion Default EPOC constructor.
        */
        void ConstructL( TTimerModel* aModel, 
                        CRecorderContainer*  aContainer,
                        CRecorderAdapter* aRecorder );

        /**
        * ~CScreenUpdateTimer()
        *
        * @discussion Destructor.
        */
        virtual ~CScreenUpdateTimer();


    private: // from CActive
        
        /**
        * RunL()
        *
        * @discussion Definition of what to do, when timer event occurs.
        */
        void RunL();


    private: // New function
        
        /**
        * Queue()
        *
        * @discussion Set timer event interval.
        */
        void Queue();


    private:  // Data
        TTimerModel* iModel;      // Ptr to Timer model
        CRecorderContainer*  iContainer;  // Ptr to Container class
        CRecorderAdapter* iRecorder; //Ptr to RecorderAdapter
        
    };

#endif // SCREENUPDATETIMER_H

// End of File

⌨️ 快捷键说明

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