From acf5b0b6ed173a3a9540d0585bd491a119d524cf Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Thu, 21 Feb 2013 00:00:56 -0500 Subject: isolated DotNetZip dependancy --- MediaBrowser.Model/IO/IZipClient.cs | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 MediaBrowser.Model/IO/IZipClient.cs (limited to 'MediaBrowser.Model/IO') diff --git a/MediaBrowser.Model/IO/IZipClient.cs b/MediaBrowser.Model/IO/IZipClient.cs new file mode 100644 index 0000000000..c9e7e0db68 --- /dev/null +++ b/MediaBrowser.Model/IO/IZipClient.cs @@ -0,0 +1,26 @@ +using System.IO; + +namespace MediaBrowser.Model.IO +{ + /// + /// Interface IZipClient + /// + public interface IZipClient + { + /// + /// Extracts all. + /// + /// The source file. + /// The target path. + /// if set to true [overwrite existing files]. + void ExtractAll(string sourceFile, string targetPath, bool overwriteExistingFiles); + + /// + /// Extracts all. + /// + /// The source. + /// The target path. + /// if set to true [overwrite existing files]. + void ExtractAll(Stream source, string targetPath, bool overwriteExistingFiles); + } +} -- cgit v1.2.3