///////////////////////////////////////////////////////////////////////////////
//                                                                           //
//  Copyright (C) 1995-1998 by the Board of Trustees of Leland Stanford      //
//  Junior University.  See LICENSE for details.                             //
//                                                                           //
///////////////////////////////////////////////////////////////////////////////

#ifndef _script_h_
#define _script_h_

#include "script_status_code.h"
#include "script_command.h"
#include <misc.h>

class Script {
protected:
  char *_name; /* the name of the Script */
  Bool _gave_back_all_commands;

public:
  Script() : _name(NULL), _gave_back_all_commands(FALSE) {}
  Script(char *name) : _name(name), _gave_back_all_commands(FALSE) {}
  char *GetName() { return _name; }
  virtual Script_Status_Code *GetNextCommand(Script_Command **c)=0;
};

#endif
