///
/// Copyright © 2003-2008 JetBrains s.r.o.
/// You may distribute under the terms of the GNU General Public License, as published by the Free Software Foundation, version 2 (see License.txt in the repository root folder).
///
using JetBrains.Omea.OpenApiEx;
namespace JetBrains.Omea.CoreServicesEx.ProgressManager
{
internal class ProgressManager : IProgressManager
{
///
/// Non-public singleton ctor.
///
protected ProgressManager()
{
}
///
/// A lazy-init singleton instance.
///
private static IProgressManager _instance = null;
///
/// Gets the container for various ProgressManager-related data and information, such as resource types and so on.
///
public IProgressManagerData Data
{
get
{
return ProgressManagerData.Instance;
}
}
///
/// Gets the single instance of the manager.
///
public static IProgressManager Instance
{
get
{
return _instance ?? (_instance = new ProgressManager());
}
}
}
}