/* This file is part of SevenZipSharp.
SevenZipSharp is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
SevenZipSharp 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with SevenZipSharp. If not, see .
*/
using System;
namespace SevenZip
{
///
/// The set of features supported by the library.
///
[Flags]
public enum LibraryFeature : uint
{
///
/// Default feature.
///
None = 0,
///
/// The library can extract 7zip archives compressed with LZMA method.
///
Extract7z = 0x1,
///
/// The library can extract 7zip archives compressed with LZMA2 method.
///
Extract7zLZMA2 = 0x2,
///
/// The library can extract 7z archives compressed with all known methods.
///
Extract7zAll = Extract7z|Extract7zLZMA2|0x4,
///
/// The library can extract zip archives.
///
ExtractZip = 0x8,
///
/// The library can extract rar archives.
///
ExtractRar = 0x10,
///
/// The library can extract gzip archives.
///
ExtractGzip = 0x20,
///
/// The library can extract bzip2 archives.
///
ExtractBzip2 = 0x40,
///
/// The library can extract tar archives.
///
ExtractTar = 0x80,
///
/// The library can extract xz archives.
///
ExtractXz = 0x100,
///
/// The library can extract all types of archives supported.
///
ExtractAll = Extract7zAll|ExtractZip|ExtractRar|ExtractGzip|ExtractBzip2|ExtractTar|ExtractXz,
///
/// The library can compress data to 7zip archives with LZMA method.
///
Compress7z = 0x200,
///
/// The library can compress data to 7zip archives with LZMA2 method.
///
Compress7zLZMA2 = 0x400,
///
/// The library can compress data to 7zip archives with all methods known.
///
Compress7zAll = Compress7z|Compress7zLZMA2|0x800,
///
/// The library can compress data to tar archives.
///
CompressTar = 0x1000,
///
/// The library can compress data to gzip archives.
///
CompressGzip = 0x2000,
///
/// The library can compress data to bzip2 archives.
///
CompressBzip2 = 0x4000,
///
/// The library can compress data to xz archives.
///
CompressXz = 0x8000,
///
/// The library can compress data to zip archives.
///
CompressZip = 0x10000,
///
/// The library can compress data to all types of archives supported.
///
CompressAll = Compress7zAll|CompressTar|CompressGzip|CompressBzip2|CompressXz|CompressZip,
///
/// The library can modify archives.
///
Modify = 0x20000
}
}