| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- { $HDR$}
- {**********************************************************************}
- { Unit archived using Team Coherence }
- { Team Coherence is Copyright 2002 by Quality Software Components }
- { }
- { For further information / comments, visit our WEB site at }
- { http://www.TeamCoherence.com }
- {**********************************************************************}
- {}
- { $Log: 10101: IdCoderXXE.pas
- {
- { Rev 1.0 2002.11.12 10:33:20 PM czhower
- }
- unit IdCoderXXE;
- interface
- uses
- Classes,
- IdCoder3to4, IdCoderUUE;
-
- type
- TIdDecoderXXE = class(TIdDecoderUUEBase)
- public
- constructor Create(AOwner: TComponent); override;
- end;
- TIdEncoderXXE = class(TIdEncoderUUEBase)
- public
- constructor Create(AOwner: TComponent); override;
- end;
- const
- GXXECodeTable: string = '+-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; {Do not Localize}
- var
- GXXEDecodeTable: TIdDecodeTable;
- implementation
- uses
- IdGlobal,
- SysUtils;
- { TIdEncoderXXE }
- constructor TIdEncoderXXE.Create(AOwner: TComponent);
- begin
- inherited;
- FCodingTable := GXXECodeTable;
- FFillChar := FCodingTable[1];
- end;
- { TIdDecoderXXE }
- constructor TIdDecoderXXE.Create(AOwner: TComponent);
- begin
- inherited;
- FDecodeTable := GXXEDecodeTable;
- FFillChar := '~'; {Do not Localize}
- end;
- initialization
- TIdDecoder4to3.ConstructDecodeTable(GXXECodeTable, GXXEDecodeTable);
- end.
|