Permalink
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (21 sloc) 462 Bytes
using System;
using System.Text;
namespace Mono.Debugger.Frontend
{
internal abstract class DebuggerTextWriter
{
public abstract void Write (bool is_stderr, string text);
public virtual void WriteLine (bool is_stderr, string line)
{
Write (is_stderr, line);
Write (is_stderr, "\n");
}
}
internal class ConsoleTextWriter : DebuggerTextWriter
{
public override void Write (bool is_stderr, string text)
{
Console.Write (text);
}
}
}