// =====================================================================
//  $Id: TExecuteCommand.hh,v 1.1.1.1 2003/06/27 02:56:41 goiwai Exp $
//  $Name: CLDAQ-1-06-02 $
// =====================================================================
#ifndef __TEXECUTECOMMAND_HH
#define __TEXECUTECOMMAND_HH

#include "Tglobals.h"
#include "TCommand.hh"
#include "TMacroFileParser.hh"

class TMacroFileParser;
class TUserInterface;
class TRunManager;

class TExecuteCommand
  : public TCommand
{

  protected:
    TMacroFileParser theMacroFileParser;

  public:
    TExecuteCommand( TRunManager* manager );
    virtual ~TExecuteCommand();

  public:
    virtual Tvoid Execute( const TstringList& arguments );

  protected:
    virtual Tvoid doExecute( TUserInterface* ui, const Tstring& filename, Tint nloop = 1 );

};

#endif
