// ZipEntrySource.cs
// ------------------------------------------------------------------
//
// Copyright (c) 2009 Dino Chiesa
// All rights reserved.
//
// This code module is part of DotNetZip, a zipfile class library.
//
// ------------------------------------------------------------------
//
// This code is licensed under the Microsoft Public License.
// See the file License.txt for the license details.
// More info on: http://dotnetzip.codeplex.com
//
// ------------------------------------------------------------------
//
// last saved (in emacs):
// Time-stamp: <2009-November-19 11:18:42>
//
// ------------------------------------------------------------------
//
namespace OfficeOpenXml.Packaging.Ionic.Zip
{
///
/// An enum that specifies the source of the ZipEntry.
///
internal enum ZipEntrySource
{
///
/// Default value. Invalid on a bonafide ZipEntry.
///
None = 0,
///
/// The entry was instantiated by calling AddFile() or another method that
/// added an entry from the filesystem.
///
FileSystem,
///
/// The entry was instantiated via or
/// .
///
Stream,
///
/// The ZipEntry was instantiated by reading a zipfile.
///
ZipFile,
///
/// The content for the ZipEntry will be or was provided by the WriteDelegate.
///
WriteDelegate,
///
/// The content for the ZipEntry will be obtained from the stream dispensed by the OpenDelegate.
/// The entry was instantiated via .
///
JitStream,
///
/// The content for the ZipEntry will be or was obtained from a ZipOutputStream.
///
ZipOutputStream,
}
}