mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-17 21:47:52 +00:00
61 lines
1.9 KiB
C#
61 lines
1.9 KiB
C#
/* libmspack -- a library for working with Microsoft compression formats.
|
|
* (C) 2003-2019 Stuart Caie <kyzer@cabextract.org.uk>
|
|
*
|
|
* libmspack is free software; you can redistribute it and/or modify it under
|
|
* the terms of the GNU Lesser General Public License (LGPL) version 2.1
|
|
*
|
|
* This program 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 this program; if not, write to the Free Software
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*/
|
|
|
|
namespace LibMSPackSharp.CAB
|
|
{
|
|
/// <summary>
|
|
/// A structure which represents a single folder in a cabinet or cabinet set.
|
|
///
|
|
/// All fields are READ ONLY.
|
|
///
|
|
/// A folder is a single compressed stream of data. When uncompressed, it
|
|
/// holds the data of one or more files. A folder may be split across more
|
|
/// than one cabinet.
|
|
/// </summary>
|
|
public class Folder
|
|
{
|
|
#region Internal
|
|
|
|
/// <summary>
|
|
/// Folder header information
|
|
/// </summary>
|
|
internal _FolderHeader Header { get; set; }
|
|
|
|
#endregion
|
|
|
|
/// <summary>
|
|
/// A pointer to the next folder in this cabinet or cabinet set, or NULL
|
|
/// if this is the final folder.
|
|
/// </summary>
|
|
public Folder Next { get; set; }
|
|
|
|
/// <summary>
|
|
/// Where are the data blocks?
|
|
/// </summary>
|
|
public FolderData Data { get; set; }
|
|
|
|
/// <summary>
|
|
/// First file needing backwards merge
|
|
/// </summary>
|
|
public InternalFile MergePrev { get; set; }
|
|
|
|
/// <summary>
|
|
/// First file needing forwards merge
|
|
/// </summary>
|
|
public InternalFile MergeNext { get; set; }
|
|
}
|
|
}
|