reactosdbg/Pipe/pipe.cs
Art Yerkes 6030ecd415 A debugging shell for use with KDBG. Not perfect yet but it can display the
locals and stack trace at the place where reactos is stopped.

svn path=/trunk/tools/reactosdbg/; revision=759
2008-07-31 07:00:10 +00:00

35 lines
900 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AbstractPipe
{
public class PipeReceiveEventArgs
{
public readonly string Received;
public PipeReceiveEventArgs(string received)
{
Received = received;
}
}
public delegate void PipeReceiveEventHandler(object sender, PipeReceiveEventArgs args);
public class PipeErrorEventArgs
{
public readonly string ErrorDesc;
public PipeErrorEventArgs(string error)
{
ErrorDesc = error;
}
}
public delegate void PipeErrorEventHandler(object sender, PipeErrorEventArgs args);
public interface Pipe
{
event PipeReceiveEventHandler PipeReceiveEvent;
event PipeErrorEventHandler PipeErrorEvent;
bool Write(string output);
}
}