/***************************************************************************
**
**    $Header:   D:/ECB2S/SRC/LOG/DOPT.H__   1.2.1.5   17 Apr 1997 15:48:18   ZJRD  $
**
**    $Log:   D:/ECB2S/SRC/LOG/DOPT.H__  $
** 
**    Rev 1.2.1.5   17 Apr 1997 15:48:18   ZJRD
** No change.
** 
**    Rev 1.2.1.4   16 Apr 1997 10:19:32   ZJRD
** No change.
** 
**    Rev 1.2.1.3   10 Apr 1997 15:30:56   ZJRD
** 2.09F
** 
**    Rev 1.2.1.1   03 Apr 1997 15:11:52   ZJRD
** No change.
** 
**    Rev 1.2.1.0   28 Mar 1997 10:16:52   ZJRD
** easy pack sld 2.09d
** 
**    Rev 1.1   19 Mar 1997 11:28:00   ZJRD
** No change.
** 
**    Rev 1.0   12 Mar 1997 14:45:54   ZJRD
** Initial revision.
** 
**    Rev 1.4.1.0.1.2   09 Dec 1996 10:17:56   ZJRD
** EasyPack/SLD Version 2.0P
** 
**    Rev 1.4.1.0.1.0   11 Nov 1996 13:01:12   ZJRD
** EasyPack/SLD Version 2.01
** 
**    Rev 1.4.1.4   09 Sep 1996 13:22:54   ZJRD
** No change.
** 
**    Rev 1.4.1.3   05 Sep 1996 11:34:22   ZJRD
** No change.
** 
**    Rev 1.4.1.2   02 Sep 1996 10:01:24   ZJRD
** No change.
** 
**    Rev 1.4.1.1   28 Aug 1996 15:45:08   ZJRD
** EasyPack/SLD Version 1.9b
** 
**    Rev 1.4.1.0   12 Aug 1996 10:50:18   ZJRD
** EasyPack/SLD Version 1.98
** 
**    Rev 1.1   29 May 1996 09:35:44   ZJRD
** EasyPack/SLD Version 1.95
** 
****************************************************************************/

/////////////////////////////////////////////////////////////////////////////
// dopt.h
//
// Michael Long
//                                                                           
// 5/14/1996
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _DOPT_
#define _DOPT_

class DOption : public CProjectOption
{
// constructor/destructor
public:
    DOption() {;}
    virtual ~DOption() {;}
    
// attributes
public:
    DCTool m_dcTool;
    DATool m_daTool;
    DLTool m_dlTool;
    DLIBTool m_dlibTool;
    DETool m_deTool;                         
    
// implementation
public:
    virtual int GetFileType(LPCSTR lpcszFile) const;    
    BOOL CreateLinkCmdFile(const CStringList &lst, LPCSTR lpcszProj);
    BOOL WriteBatchFile(FILE * fp, LPCSTR lpcszText);
    
// operations
public:
    virtual void SetOption(CWnd *pParent);  
    virtual BOOL SaveOption(FILE * fp);
    virtual BOOL LoadOption(FILE * fp);
    
    virtual void Build(const CStringList &lst, LPCSTR lpcszProj);
    virtual void Editor(CWnd * pParent);
};

#endif
