2012-08-08 21:40:18 -07:00
|
|
|
Unit m_Protocol_YModem;
|
|
|
|
|
|
|
|
{$I M_OPS.PAS}
|
|
|
|
|
|
|
|
Interface
|
|
|
|
|
|
|
|
Uses
|
2012-08-11 09:50:14 -07:00
|
|
|
m_Socket_Class,
|
|
|
|
m_Protocol_Queue,
|
2012-08-08 21:40:18 -07:00
|
|
|
m_Protocol_Xmodem;
|
|
|
|
|
|
|
|
Type
|
|
|
|
TProtocolYmodem = Class(TProtocolXmodem)
|
2012-08-11 09:50:14 -07:00
|
|
|
UseG : Boolean;
|
|
|
|
|
|
|
|
Constructor Create (Var C: TSocketClass; Var Q: TProtocolQueue); Override;
|
|
|
|
Destructor Destroy; Override;
|
2012-08-08 21:40:18 -07:00
|
|
|
End;
|
|
|
|
|
|
|
|
Implementation
|
|
|
|
|
2012-08-11 09:50:14 -07:00
|
|
|
Constructor TProtocolYModem.Create (Var C: TSocketClass; Var Q: TProtocolQueue);
|
|
|
|
Begin
|
|
|
|
Inherited Create(C, Q);
|
|
|
|
|
|
|
|
UseG := False;
|
|
|
|
End;
|
|
|
|
|
|
|
|
Destructor TProtocolYModem.Destroy;
|
|
|
|
Begin
|
|
|
|
Inherited Destroy;
|
|
|
|
End;
|
|
|
|
|
2012-08-08 21:40:18 -07:00
|
|
|
End.
|