// Timer.h: interface for the CTimer class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TIMER_H__AD037939_2350_4B37_81ED_8802FF8C251D__INCLUDED_)
#define AFX_TIMER_H__AD037939_2350_4B37_81ED_8802FF8C251D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "TimeEquipSubState.h"

#ifdef  BUILD_MCCTRDLL
#define     MCCTRDLLCLASS   __declspec(dllexport)
#else
#define     MCCTRDLLCLASS   __declspec(dllimport)
#endif

class MCCTRDLLCLASS CTimer : public CTimeEquipSubState
{
public:
//  default constructor
    explicit CTimer(long lTimeOutInSec = 0);

//  default destructor
    virtual ~CTimer();

//  set time out in sec
    void SetTimeOutInSec(long lTimeOutInSec);

//  is time out
    bool IsTimeOut();

private:
    long m_lTimeOutInSec; // time out in sec
};

#endif  // !defined(AFX_TIMER_H__AD037939_2350_4B37_81ED_8802FF8C251D__INCLUDED_)
