You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
987 B
51 lines
987 B
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: watchdog.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of watchdog.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __WATCH__DOG_TIMER__INCLUDED__
|
|
#define __WATCH__DOG_TIMER__INCLUDED__
|
|
|
|
#ifdef WATCHDOG_ENABLED
|
|
|
|
class CWatchDog
|
|
{
|
|
public:
|
|
CWatchDog();
|
|
~CWatchDog();
|
|
|
|
public:
|
|
BOOL Create();
|
|
void Destroy();
|
|
|
|
public:
|
|
void Update( DWORD dwTime );
|
|
|
|
private:
|
|
BOOL m_bInitiated;
|
|
DWORD m_dwTime;
|
|
|
|
private:
|
|
enum
|
|
{
|
|
WT_UNKNOWN,
|
|
WT_COREMODULE_4DXE,
|
|
WT_TRI_M,
|
|
}m_eType;
|
|
};
|
|
|
|
#define ZFLINDEX 0x0218
|
|
#define ZFLDATA8 0x0219
|
|
#define ZFLDATA16 0x021A
|
|
|
|
#endif // WATCHDOG_ENABLED
|
|
|
|
#endif
|