Old fashion design for PC-104
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

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: HiddenZone.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of HiddenZone.h
//----------------------------------------------------------------------------
#ifndef __HIDDEN__ZONE__H__INCLUDED__
#define __HIDDEN__ZONE__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
struct CLgDPoint;
class CHiddenZone
{
public:
CHiddenZone();
virtual ~CHiddenZone();
public:
int GetType() { return m_nType; }
void SetType( INT nType ) { m_nType = nType; }
public:
bool Add( CLgDPoint dPoint, int nIndex = INT_MAX );
bool Remove( int nIndex );
void RemoveAll();
BOOL Copy( CHiddenZone *pHiddenZone );
public:
int GetCount() { return m_nPoint; }
CLgDPoint *GetAt( int nIndex );
CLgDPoint *operator[] ( int nIndex );
protected:
CLgDPoint *m_pPoint;
int m_nPoint;
int m_nType;
};
#endif