// SetupStruct.h: interface for the CSetupStruct class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SETUPSTRUCT_H__4662601E_234F_407D_BC04_A92952F08BD8__INCLUDED_)
#define AFX_SETUPSTRUCT_H__4662601E_234F_407D_BC04_A92952F08BD8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <apl_gui.h>

class CSetupStruct  
{
public:
	class ColumnsToShow
	{
	public:
		ColumnsToShow() 
		{
			id=_T("");name=_T("");width=10;value=0;
		}
		CString id;
		CString name;
		int width;
		int value;

	};
	CSetupStruct();
	virtual ~CSetupStruct();
	int AddColumn(LPCTSTR id,LPCTSTR name,int width,int def_value);

/*	int m_bShowId;
	int m_bShowName;
	int m_bShowDescr;
	int m_bShowType;
	int m_bShowCustomer;
	int m_bShowState;
	int m_bShowPlDateBegin;
	int m_bShowActDateBegin;
	int m_bShowPlDateEnd;
	int m_bShowActDateEnd;
	int m_bShowWorkgroup;
	int m_bShowKurator;
	int m_bShowExecutors;
	int m_bShowLabor;
	int m_bShowPercentage;*/

	int m_bSelectProjects;
	int m_bSelectOutOfBoundsProjects;
	int m_colDays;
	
/*	CArray<int*,int*> m_bCheckValues; //отображать или нет столбцы
	CStringArray m_col_names;//наименования столбцов
	CArray<int,int> m_col_widths;*/

	CArray<ColumnsToShow,ColumnsToShow> m_cols;
};

#endif // !defined(AFX_SETUPSTRUCT_H__4662601E_234F_407D_BC04_A92952F08BD8__INCLUDED_)
