/***************************************************************************
**
**    $Header:   D:/ECB2S/SRC/LOG/AOPT.H__   1.2.1.5   17 Apr 1997 15:41:26   ZJRD  $
**
**    $Log:   D:/ECB2S/SRC/LOG/AOPT.H__  $
** 
**    Rev 1.2.1.5   17 Apr 1997 15:41:26   ZJRD
** No change.
** 
**    Rev 1.2.1.4   16 Apr 1997 10:15:16   ZJRD
** No change.
** 
**    Rev 1.2.1.3   10 Apr 1997 15:27:10   ZJRD
** 2.09F
** 
**    Rev 1.2.1.1   03 Apr 1997 15:09:10   ZJRD
** No change.
** 
**    Rev 1.2.1.0   28 Mar 1997 10:14:10   ZJRD
** easy pack sld 2.09d
** 
**    Rev 1.1   19 Mar 1997 11:25:28   ZJRD
** No change.
** 
**    Rev 1.0   12 Mar 1997 14:44:26   ZJRD
** Initial revision.
** 
**    Rev 1.5.1.0.1.2   09 Dec 1996 10:17:24   ZJRD
** EasyPack/SLD Version 2.0P
** 
**    Rev 1.5.1.0.1.0   11 Nov 1996 13:00:38   ZJRD
** EasyPack/SLD Version 2.01
** 
**    Rev 1.5.1.4   09 Sep 1996 13:21:34   ZJRD
** No change.
** 
**    Rev 1.5.1.3   05 Sep 1996 11:33:02   ZJRD
** No change.
** 
**    Rev 1.5.1.2   02 Sep 1996 10:00:06   ZJRD
** No change.
** 
**    Rev 1.5.1.1   28 Aug 1996 15:49:54   ZJRD
** EasyPack/SLD Version 1.9b
** 
**    Rev 1.5.1.0   12 Aug 1996 10:54:02   ZJRD
** EasyPack/SLD Version 1.98
** 
**    Rev 1.2   29 May 1996 09:37:48   ZJRD
** EasyPack/SLD Version 1.95
** 
****************************************************************************/

/////////////////////////////////////////////////////////////////////////////
// aopt.h
//
// Roger Zhang
//                                                                           
// 5/6/1996
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _AOPT_
#define _AOPT_

class AOption : public CProjectOption
{
// constructor/destructor
public:
    AOption() {;}
    virtual ~AOption() {;}
    
// attributes
public:
    ACTool m_acTool;
    AATool m_aaTool;
    ALTool m_alTool;
    ALIBTool m_alibTool;
    AETool m_aeTool;                         
    
// 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
