Wrapping all view <-> presenter <-> manager related interactions into Mediator pattern
This commit is contained in:
20
Eve-O-Preview/Presenters/IThumbnailManager.cs
Normal file
20
Eve-O-Preview/Presenters/IThumbnailManager.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
|
||||
namespace EveOPreview.UI
|
||||
{
|
||||
public interface IThumbnailManager
|
||||
{
|
||||
void Activate();
|
||||
void Deactivate();
|
||||
|
||||
void SetThumbnailState(IntPtr thumbnailId, bool hideAlways);
|
||||
void SetThumbnailsSize(Size size);
|
||||
void SetupThumbnailFrames();
|
||||
|
||||
Action<IList<IThumbnailView>> ThumbnailsAdded { get; set; }
|
||||
Action<IList<IThumbnailView>> ThumbnailsUpdated { get; set; }
|
||||
Action<IList<IThumbnailView>> ThumbnailsRemoved { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user