mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Added some module architecture
This commit is contained in:
1 parent
ab3f2b1fd8
commit
f093520ce8
25 files changed
+1732
-59
No files matched your search
@@ -1,6 +1,9 @@
|
||||
namespace Artemis.Core.Services.Interfaces
|
||||
using System;
|
||||
|
||||
namespace Artemis.Core.Services.Interfaces
|
||||
{
|
||||
public interface ICoreService
|
||||
public interface ICoreService: IArtemisService, IDisposable
|
||||
{
|
||||
bool IsInitialized { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,16 @@
|
||||
namespace Artemis.Core.Services.Interfaces
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Artemis.Core.Events;
|
||||
using Artemis.Core.Modules.Interfaces;
|
||||
|
||||
namespace Artemis.Core.Services.Interfaces
|
||||
{
|
||||
public interface IModuleService
|
||||
public interface IModuleService : IArtemisService, IDisposable
|
||||
{
|
||||
Task LoadModules();
|
||||
Task ReloadModule(IModule module);
|
||||
|
||||
event EventHandler<ModuleEventArgs> ModuleLoaded;
|
||||
event EventHandler<ModuleEventArgs> ModuleReloaded;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user