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.
50 lines
1.1 KiB
50 lines
1.1 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: LgMaskSchedule.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of HZMaskSchedule.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __HZ__MASK__SCHEDULE__H__INCLUDED__
|
|
#define __HZ__MASK__SCHEDULE__H__INCLUDED__
|
|
|
|
#include "LgMaskScheduleTypes.h"
|
|
|
|
class LGMASKSCHEDULE_API CLgMaskSchedule
|
|
{
|
|
public:
|
|
CLgMaskSchedule();
|
|
virtual ~CLgMaskSchedule();
|
|
|
|
public:
|
|
BOOL Create();
|
|
void Destroy();
|
|
|
|
BOOL Load( LPCTSTR pFileName );
|
|
BOOL Save( LPCTSTR pFileName );
|
|
|
|
void OnTimer( SYSTEMTIME *pST );
|
|
|
|
public:
|
|
BOOL Add( PMASK_SCHEDULE pHzSchedule );
|
|
BOOL Delete( INT nIndex );
|
|
void DeleteAll();
|
|
CLgScheduleArray& GetScheduleArray();
|
|
|
|
public:
|
|
virtual void MaskSwitch( CLgMaskScheduleLgsSwitch &arrSwitch );
|
|
|
|
public:
|
|
void UpdateSchedule( INT nIndex );
|
|
|
|
private:
|
|
LPVOID m_pReserved;
|
|
};
|
|
|
|
#endif
|