diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-31 03:47:34 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-31 03:47:34 -0400 |
| commit | 8b7a8ab3963b1a55bc194767cc834c8cf43836a7 (patch) | |
| tree | a4b27490f4d177090a79404ed89fd63b7fc77a76 /Emby.Photos/StreamFileAbstraction.cs | |
| parent | 9c813f9aedb3d4f20ff495fc23693591e7dda914 (diff) | |
make photos project portable
Diffstat (limited to 'Emby.Photos/StreamFileAbstraction.cs')
| -rw-r--r-- | Emby.Photos/StreamFileAbstraction.cs | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/Emby.Photos/StreamFileAbstraction.cs b/Emby.Photos/StreamFileAbstraction.cs deleted file mode 100644 index e1ea19bbe..000000000 --- a/Emby.Photos/StreamFileAbstraction.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using MediaBrowser.Model.IO; -using File = TagLib.File; - -namespace Emby.Photos -{ - public class StreamFileAbstraction : File.IFileAbstraction - { - public StreamFileAbstraction(string name, Stream readStream) - { - // TODO: Fix deadlock when setting an actual writable Stream - WriteStream = readStream; - ReadStream = readStream; - Name = name; - } - - public string Name { get; private set; } - - public Stream ReadStream { get; private set; } - - public Stream WriteStream { get; private set; } - - public void CloseStream(Stream stream) - { - stream.Dispose(); - } - } -} |
