diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-20 20:33:05 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-20 20:33:05 -0500 |
| commit | 767cdc1f6f6a63ce997fc9476911e2c361f9d402 (patch) | |
| tree | 49add55976f895441167c66cfa95e5c7688d18ce /MediaBrowser.Common/IO/IIsoManager.cs | |
| parent | 845554722efaed872948a9e0f7202e3ef52f1b6e (diff) | |
Pushing missing changes
Diffstat (limited to 'MediaBrowser.Common/IO/IIsoManager.cs')
| -rw-r--r-- | MediaBrowser.Common/IO/IIsoManager.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/MediaBrowser.Common/IO/IIsoManager.cs b/MediaBrowser.Common/IO/IIsoManager.cs new file mode 100644 index 000000000..8e94189c4 --- /dev/null +++ b/MediaBrowser.Common/IO/IIsoManager.cs @@ -0,0 +1,27 @@ +using System; +using System.Threading; +using System.Threading.Tasks; + +namespace MediaBrowser.Common.IO +{ + public interface IIsoManager : IDisposable + { + /// <summary> + /// Mounts the specified iso path. + /// </summary> + /// <param name="isoPath">The iso path.</param> + /// <param name="cancellationToken">The cancellation token.</param> + /// <param name="visibleToAllProcesses">if set to <c>true</c> [visible to all processes].</param> + /// <returns>IsoMount.</returns> + /// <exception cref="System.ArgumentNullException">isoPath</exception> + /// <exception cref="System.IO.IOException">Unable to create mount.</exception> + Task<IIsoMount> Mount(string isoPath, CancellationToken cancellationToken, bool visibleToAllProcesses = true); + + /// <summary> + /// Determines whether this instance can mount the specified path. + /// </summary> + /// <param name="path">The path.</param> + /// <returns><c>true</c> if this instance can mount the specified path; otherwise, <c>false</c>.</returns> + bool CanMount(string path); + } +}
\ No newline at end of file |
