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.
 
 
 
 
 

71 lines
2.0 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: RelationDlg.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of RelationDlg.h
//----------------------------------------------------------------------------
#if !defined(AFX_RELATIONDLG_H__7E9D8DEF_2885_476F_A108_0A712D94666D__INCLUDED_)
#define AFX_RELATIONDLG_H__7E9D8DEF_2885_476F_A108_0A712D94666D__INCLUDED_
#include "..\DLIB\SensorArray.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RelationDlg.h : header file
//
struct RELATION
{
CSensor *pSensor;
CVideoCamera *pCamera;
};
class CRelationDlg : public CDialog
{
// Construction
public:
void CRelationDlg::SetRelation( RELATION *pRelation ) { m_Relation = *pRelation; }
void CRelationDlg::GetRelation( RELATION *pRelation ) { *pRelation = m_Relation; }
void SetSensorArray( CSensorArray *pSensorArray );
CRelationDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRelationDlg)
enum { IDD = IDD_RELATION_DLG };
CListBox m_List;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRelationDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CRelationDlg)
virtual BOOL OnInitDialog();
virtual void OnOK();
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
RELATION m_Relation;
CSensorArray *m_pSensorArray;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RELATIONDLG_H__7E9D8DEF_2885_476F_A108_0A712D94666D__INCLUDED_)