mysticbbs/mdl/m_protocol_xmodem.pas

57 lines
1.5 KiB
ObjectPascal
Raw Permalink Normal View History

// ====================================================================
// Mystic BBS Software Copyright 1997-2013 By James Coyle
// ====================================================================
//
// This file is part of Mystic BBS.
//
// Mystic BBS is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Mystic BBS is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Mystic BBS. If not, see <http://www.gnu.org/licenses/>.
//
// ====================================================================
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.