| 1 |
program LZMAAlone; |
| 2 |
|
| 3 |
{$MODE Delphi} |
| 4 |
|
| 5 |
uses |
| 6 |
UCRC in 'UCRC.pas', |
| 7 |
ULZBinTree in 'compression\LZ\ULZBinTree.pas', |
| 8 |
ULZInWindow in 'compression\LZ\ULZInWindow.pas', |
| 9 |
ULZOutWindow in 'compression\LZ\ULZOutWindow.pas', |
| 10 |
ULZMABase in 'compression\LZMA\ULZMABase.pas', |
| 11 |
ULZMACommon in 'compression\LZMA\ULZMACommon.pas', |
| 12 |
ULZMADecoder in 'compression\LZMA\ULZMADecoder.pas', |
| 13 |
ULZMAEncoder in 'compression\LZMA\ULZMAEncoder.pas', |
| 14 |
UBitTreeDecoder in 'compression\RangeCoder\UBitTreeDecoder.pas', |
| 15 |
UBitTreeEncoder in 'compression\RangeCoder\UBitTreeEncoder.pas', |
| 16 |
URangeDecoder in 'compression\RangeCoder\URangeDecoder.pas', |
| 17 |
URangeEncoder in 'compression\RangeCoder\URangeEncoder.pas', |
| 18 |
UBufferedFS in 'UBufferedFS.pas', |
| 19 |
ULZMAAlone in 'ULZMAAlone.pas', |
| 20 |
ULZMABench in 'ULZMABench.pas',SysUtils; |
| 21 |
|
| 22 |
var lz:TLZMAAlone; |
| 23 |
|
| 24 |
{$IFDEF MSWINDOWS} |
| 25 |
{$APPTYPE CONSOLE} |
| 26 |
{$ENDIF} |
| 27 |
|
| 28 |
begin |
| 29 |
try |
| 30 |
lz:=TLZMAAlone.Create; |
| 31 |
lz.Main; |
| 32 |
lz.Free; |
| 33 |
except on e:exception do |
| 34 |
writeln(e.message); |
| 35 |
end; |
| 36 |
end. |