mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Core - Added stores for the different register-able types
Profiles - Refactored large parts of the profile structure to use these stores
This commit is contained in:
1 parent
1e52bc5b31
commit
86ff4497f3
75 files changed
+1526
-934
No files matched your search
@@ -0,0 +1,27 @@
|
||||
using System.Collections.Generic;
|
||||
using Artemis.Core.LayerBrushes;
|
||||
using Artemis.Core.LayerEffects;
|
||||
|
||||
namespace Artemis.Core.Services
|
||||
{
|
||||
/// <summary>
|
||||
/// A service that allows you to register and retrieve layer brushes
|
||||
/// </summary>
|
||||
public interface ILayerEffectService : IArtemisService
|
||||
{
|
||||
/// <summary>
|
||||
/// Add an effect descriptor so that it is available to profile elements
|
||||
/// </summary>
|
||||
LayerEffectRegistration RegisterLayerEffect(LayerEffectDescriptor descriptor);
|
||||
|
||||
/// <summary>
|
||||
/// Remove a previously added layer effect descriptor so that it is no longer available
|
||||
/// </summary>
|
||||
void RemoveLayerEffect(LayerEffectRegistration registration);
|
||||
|
||||
/// <summary>
|
||||
/// Returns a list of all registered layer effect descriptors
|
||||
/// </summary>
|
||||
List<LayerEffectDescriptor> GetLayerEffects();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user