mirror of
https://github.com/reactos/reactosdbg.git
synced 2024-11-27 05:30:23 +00:00
6030ecd415
locals and stack trace at the place where reactos is stopped. svn path=/trunk/tools/reactosdbg/; revision=759
35 lines
900 B
C#
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);
|
|
}
|
|
}
|