using MediaBrowser.Common.Logging;
using MediaBrowser.Model.Logging;
using System.Security;
namespace MediaBrowser.IsoMounter
{
///
/// Class MyPfmFileMountUi
///
public class MyPfmFileMountUi : PfmFileMountUi
{
///
/// The logger
///
private static readonly ILogger Logger = LogManager.GetLogger("MyPfmFileMountUi");
///
/// Clears the password.
///
public void ClearPassword()
{
}
///
/// Completes the specified error message.
///
/// The error message.
public void Complete(string errorMessage)
{
if (!string.IsNullOrEmpty(errorMessage))
{
Logger.Error("Complete {0}", errorMessage);
}
}
///
/// Queries the password.
///
/// The prompt.
/// The count.
/// SecureString.
public SecureString QueryPassword(string prompt, int count)
{
return new SecureString();
}
///
/// Resumes this instance.
///
public void Resume()
{
Logger.Debug("Resume");
}
///
/// Starts this instance.
///
public void Start()
{
Logger.Debug("Start");
}
///
/// Statuses the specified data.
///
/// The data.
/// if set to true [end of line].
public void Status(string data, bool endOfLine)
{
if (!string.IsNullOrEmpty(data))
{
Logger.Debug("Status {0}", data);
}
}
///
/// Suspends this instance.
///
public void Suspend()
{
Logger.Debug("Suspend");
}
}
}