Initial commit — M3U playlist tool with MP3/AAC encoding
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace m3uTool
|
||||
{
|
||||
public class DoNothingProgressCallback : IProgressCallback
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user