blob: a8c2ef401d2f4af199ebe8c8697cc49b6d3431d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.FSE.Common;
namespace Tango.FSE.Common.Modules
{
/// <summary>
/// Represents a PPC <see cref="IPPCModule"/> modules loading engine.
/// </summary>
public interface IFSEModuleLoader
{
/// <summary>
/// Occurs when the user has logged in and user modules are loaded.
/// </summary>
event EventHandler ModulesLoaded;
/// <summary>
/// Gets all loaded modules.
/// </summary>
ObservableCollection<IFSEModule> AllModules { get; }
/// <summary>
/// Gets all the user permitted modules.
/// </summary>
ObservableCollection<IFSEModule> UserModules { get; }
/// <summary>
/// Gets the PPC module of type T if loaded.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <returns></returns>
T GetFSEModule<T>() where T : IFSEModule;
/// <summary>
/// Loads all available PPC modules.
/// </summary>
void LoadModules();
}
}
|