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

📄 alarmmodel.h

📁 Symbian s60 闹钟程序
💻 H
字号:
/*
* ============================================================================
*  Name     : CAlarmModel from AlarmModel.h
*  Part of  : Alarm
*  Created  : 05.02.2006 by ToBeReplacedByAuthor
*  Description:
*     Declares the timer engine class.
*  Version  :
*  Copyright: ToBeReplacedByCopyright
* ============================================================================
*/

#ifndef __ALARM_MODEL_H__
#define __ALARM_MODEL_H__

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

// FORWARD DECLARATIONS

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

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

    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 // __ALARM_MODEL_H__

// End Of File

⌨️ 快捷键说明

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