#ifndef ENVIRONMENT_TTY_H
#define ENVIRONMENT_TTY_H

#include "TTY_Parameters.h"
#include "xTTY.h"
// #include <fcntl.h>
// #include <unistd.h>
#include <signal.h>

namespace environment {
namespace tty {

  class TTY
  {
  private : std::string  name;
  private : Parameters * param;
  private : xTTY       * xtty;

  public  :  TTY (std::string  name,
		  Parameters * param);
  public  : ~TTY (void);

  public  : void reset (void);
  public  : bool write (uint32_t num_tty, char data);
  public  : friend std::ostream& operator<< (std::ostream& output, TTY & x);
  };

};
};
#endif
