mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Layers - Added hints UI accesible from profile tree Surface - Added device categories used by profile adaption
23 lines
784 B
C#
23 lines
784 B
C#
using System.Collections.Generic;
|
|
using Artemis.Storage.Entities.Profile.AdaptionHints;
|
|
|
|
namespace Artemis.Core
|
|
{
|
|
/// <summary>
|
|
/// Represents an adaption hint that's used to adapt a layer to a set of devices
|
|
/// </summary>
|
|
public interface IAdaptionHint
|
|
{
|
|
/// <summary>
|
|
/// Applies the adaptive action to the provided layer
|
|
/// </summary>
|
|
/// <param name="layer">The layer to adapt</param>
|
|
/// <param name="devices">The devices to adapt the layer for</param>
|
|
void Apply(Layer layer, List<ArtemisDevice> devices);
|
|
|
|
/// <summary>
|
|
/// Returns an adaption hint entry for this adaption hint used for persistent storage
|
|
/// </summary>
|
|
IAdaptionHintEntity GetEntry();
|
|
}
|
|
} |