Added deviceprovider-loader to all projects

This commit is contained in:
DarthAffe committed 2018-01-29 12:58:36 +01:00
1 parent 573ca419f9
commit 5e347db063
20 files changed
+247

No files matched your search

@@ -0,0 +1,24 @@
using RGB.NET.Core;
namespace RGB.NET.Devices.Logitech
{
/// <summary>
/// Represents a device provider loaded used to dynamically load logitech devices into an application.
/// </summary>
public class LogitechDeviceProviderLoader : IRGBDeviceProviderLoader<LogitechDeviceProviderLoader>
{
#region Properties & Fields
/// <inheritdoc />
public bool RequiresInitialization => false;
#endregion
#region Methods
/// <inheritdoc />
public IRGBDeviceProvider GetDeviceProvider() => LogitechDeviceProvider.Instance;
#endregion
}
}
@@ -56,6 +56,7 @@
<Compile Include="Generic\ILogitechRGBDevice.cs" />
<Compile Include="Generic\LogitechRGBDevice.cs" />
<Compile Include="Generic\LogitechRGBDeviceInfo.cs" />
<Compile Include="LogitechDeviceProviderLoader.cs" />
<Compile Include="PerKey\BitmapMapping.cs" />
<Compile Include="HID\DeviceChecker.cs" />
<Compile Include="LogitechDeviceProvider.cs" />