mysticbbs/mdl/m_protocol_xmodem.pas

37 lines
591 B
ObjectPascal
Raw Normal View History

2012-08-08 21:40:10 -07:00
Unit m_Protocol_XModem;
{$I M_OPS.PAS}
Interface
Uses
2012-08-11 11:58:12 -07:00
m_io_Base,
2012-08-11 09:50:14 -07:00
m_Protocol_Base,
m_Protocol_Queue;
2012-08-08 21:40:10 -07:00
Type
TProtocolXmodem = Class(TProtocolBase)
2012-08-11 09:50:14 -07:00
DoCRC : Boolean;
Do1K : Boolean;
2012-08-11 11:58:12 -07:00
Constructor Create (Var C: TIOBase; Var Q: TProtocolQueue); Override;
2012-08-11 09:50:14 -07:00
Destructor Destroy; Override;
2012-08-08 21:40:10 -07:00
End;
Implementation
2012-08-11 11:58:12 -07:00
Constructor TProtocolXmodem.Create (Var C: TIOBase; Var Q: TProtocolQueue);
2012-08-11 09:50:14 -07:00
Begin
Inherited Create(C, Q);
DoCRC := True;
Do1K := True;
End;
Destructor TProtocolXmodem.Destroy;
Begin
Inherited Destroy;
End;
End.