using System;
using System.Collections.Generic;
namespace PepperDash.Essentials.Core
{
///
/// Defines a class that is capable of loading custom plugin device types
///
public interface IPluginDeviceFactory : IDeviceFactory
{
///
/// Required to define the minimum version for Essentials in the format xx.yy.zz
///
string MinimumEssentialsFrameworkVersion { get; }
}
///
/// Defines a class that is capable of loading custom plugin device types for development purposes
///
[Obsolete("This interface is obsolete and will be removed in a future version." +
" Use IPluginDeviceFactory instead and check Global.IsRunningDevelopmentVersion to determine if the Essentials framework is in development mode.")]
public interface IPluginDevelopmentDeviceFactory : IPluginDeviceFactory
{
///
/// Gets a list of all the development versions of the Essentials framework that are supported by this factory.
///
List DevelopmentEssentialsFrameworkVersions { get; }
}
}