/*=========================================================================
* 
* SECdEnvs.hpp :  class SECT_DialogEnvs
* 
*
* Version			1.0
* Creation date		
* Revision date
*
* Shaitan
*=======================================================================*/
/*
#ifndef __SECT_D_ENVS_HPP__
#define __SECT_D_ENVS_HPP__

#include "SECTres.h"

#include "SECTenv.hpp"
#include "SECdRep.hpp"

class Sector_Interface;
*/

//#################################################################################
// Environments 
//#################################################################################
/*===========================================================================
*		Description:	Class for the Environment List Box
*		Creation date:	
*		Author:			Shaitan
*---------------------------------------------------------------------------
*		Revision date:                                                                                          Author:         
*=========================================================================*/
/*
class SECT_EnvElemListBox : public SECT_EnvListBox
{
public:
	SECT_EnvElemListBox  (void);
	~SECT_EnvElemListBox (void);
	
	BOOL fn_bIsCurrentElement	(CPA_BaseObject *pElem);
	BOOL fn_bIsSelectedElement	(CPA_BaseObject *pElem);
	BOOL fn_bIsAlreadyUsed		(CPA_BaseObject *pElem);
};
*/


/*===========================================================================
*		Description:	Class for the Environment List
*		Creation date:	
*		Author:			Shaitan
*---------------------------------------------------------------------------
*		Revision date:                                                                                          Author:         
*=========================================================================*/
/*
class SECT_DialogEnvs : public CFormView
{
protected:
// dialog parameters
	Sector_Interface	*m_pSectorInterface;
	SECT_EnvElem		*m_pEnvElem;
	SECT_Environment	*m_pEnvironment;
	BOOL				m_bInitialised;
	long				m_lEnvElem;

	SECT_DialogReplace	m_oDialogReplace;

public:
// standard constructor
	SECT_DialogEnvs (CWnd* pParent = NULL);   

// Dialog
	void fn_vInitDialog			(Sector_Interface *pDLL, CWnd *pParent);
	void fn_vReinitDialog		(void);
	void fn_vInitEnvListBox		(void);
	void fn_vInitEnvElem		(long lEnvElem);
	void fn_vSelectEnv			(SECT_Environment *pEnvironment, BOOL bUpdateEnvElem = TRUE);

	void fn_vInitControls	(BOOL bEnable);

// Get Functions
	SECT_EnvElem	 * GetCurrentEnvElem		(void) { return m_pEnvElem; }
	SECT_Environment * GetSelectedEnvironment	(void) { return m_pEnvironment; }

protected:
	
// Dialog Data
	//{{AFX_DATA(SECT_DialogEnvs)
	enum { IDD = SEC_IDD_DIALOGENVS };
	// env elem
	SECT_EnvElemListBox	m_cEnvListBox;
	CButton				m_cNewEnv;
	CButton				m_cReplace;
	//}}AFX_DATA

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(SECT_DialogEnvElem)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL


// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(SECT_DialogEnvElem)
	afx_msg void OnSize(UINT, int, int);
	afx_msg void OnDestroy();	
	// env elem
	afx_msg void OnSelChangeEnvListBox(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDblClkEnvListBox(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnNewEnv();
	afx_msg void OnReplace();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


#endif //__SECT_D_ENVS_HPP__

*/