Recovered from cvs revision 2007-07-16 11:12:00

This commit is contained in:
2007-07-16 20:16:00 +00:00
parent 4373003780
commit 0f87fb5842
23 changed files with 818 additions and 84 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id: Awk.hpp,v 1.1 2007/05/15 08:29:30 bacon Exp $
* $Id: Awk.hpp,v 1.2 2007/07/15 16:31:59 bacon Exp $
*/
#pragma once
@@ -10,13 +10,12 @@ using namespace System;
namespace ASE
{
namespace NET
namespace Net
{
public ref class Awk abstract
{
public:
ref class Source
{
public:
@@ -115,8 +114,39 @@ namespace ASE
virtual int ReadSource (Source^ io, ASE::Awk::char_t* buf, ASE::Awk::size_t len) = 0;
virtual int WriteSource (Source^ io, ASE::Awk::char_t* buf, ASE::Awk::size_t len) = 0;
private:
property System::IO::Stream^ SourceInputStream
{
System::IO::Stream^ get ()
{
return this->sourceInputStream;
}
void set (System::IO::Stream^ stream)
{
this->sourceInputStream = stream;
}
}
property System::IO::Stream^ SourceOutputStream
{
System::IO::Stream^ get ()
{
return this->sourceOutputStream;
}
void set (System::IO::Stream^ stream)
{
this->sourceOutputStream = stream;
}
}
protected:
ASE::Awk* awk;
System::IO::Stream^ sourceInputStream;
System::IO::Stream^ sourceOutputStream;
public protected:
int Awk::DispatchFunction (System::String^ name);
};
}