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

📄 timermodel.h

📁 Symbian 平台上活动对象的一个实例。
💻 H
字号:
/*
* ============================================================================
*  Name     : CTimerModel from TimerModel.h
*  Part of  : Timer
*  Created  : 05.02.2006 by ToBeReplacedByAuthor
*  Description:
*     Declares the timer engine class.
*  Version  :
*  Copyright: ToBeReplacedByCopyright 
* ============================================================================
*/

#ifndef __TIMER_MODEL_H__
#define __TIMER_MODEL_H__

// INCLUDES
#include <e32base.h> // for CBase

// FORWARD DECLARATIONS

// CLASS DECLARATIONS
/**
 *  A simple timer with observer.
 */
class CTimerModel : public CBase
    {
    public: // standard construction sequence
        /**
         *  Perform the first phase of two phase construction
         *  @param aObserver The timer event observer
         */
        CTimerModel();

        /**
         *  Destroy the object and release all memory objects
         */
        ~CTimerModel();

    public: // new functions
        /**
         *  Get the current time
         */
        const TTime& Time() const;

        /**
         *  Set the current time
         */
        void SetTime(const TTime& aTime);

    private: // member variables
        /// The current time
        TTime iTime;
    };

#endif // __TIMER_MODEL_H__

// End Of File

⌨️ 快捷键说明

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