Files
m3uTool/DoNothingProgressCallback.cs
T

81 lines
2.3 KiB
C#

namespace m3uTool
{
public class DoNothingProgressCallback : IProgressCallback
{
#region IProgressCallback Members
/// <summary>
/// Call this method from the worker thread to initialize
/// the progress callback.
/// </summary>
/// <param name="minimum">The minimum.</param>
/// <param name="maximum">The maximum.</param>
public void Begin(int minimum, int maximum)
{
}
/// <summary>
/// Call this method from the worker thread to initialize
/// the progress callback, without setting the range
/// </summary>
public void Begin()
{
}
/// <summary>
/// Call this method from the worker thread to reset the range in the
/// progress callback
/// </summary>
/// <param name="minimum">The minimum.</param>
/// <param name="maximum">The maximum.</param>
public void SetRange(int minimum, int maximum)
{
}
/// <summary>
/// Call this method from the worker thread to update the progress text.
/// </summary>
/// <param name="text">The text.</param>
public void SetText(string text)
{
}
/// <summary>
/// Call this method from the worker thread to increase the progress
/// counter by a specified value.
/// </summary>
/// <param name="val">The val.</param>
public void StepTo(int val)
{
}
/// <summary>
/// Call this method from the worker thread to step the progress meter to a
/// particular value.
/// </summary>
/// <param name="val">The val.</param>
public void Increment(int val)
{
}
/// <summary>
/// If this property is true, then you should abort work
/// </summary>
/// <value>
/// <c>true</c> if this instance is aborting; otherwise, <c>false</c>.
/// </value>
public bool IsAborting
{
get { return false; }
}
/// <summary>
/// Call this method from the worker thread to finalize the progress meter
/// </summary>
public void End()
{
}
#endregion
}
}