mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Removed the MainWindowHandle constant as it was causing issues in combination with the tray icon
50 lines
1.5 KiB
C#
50 lines
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Artemis.Core.Events;
|
|
|
|
namespace Artemis.Core.Services.Interfaces
|
|
{
|
|
public interface ICoreService : IArtemisService, IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Gets whether the or not the core has been initialized
|
|
/// </summary>
|
|
bool IsInitialized { get; }
|
|
|
|
/// <summary>
|
|
/// The time the last frame took to render
|
|
/// </summary>
|
|
TimeSpan FrameTime { get; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets whether modules are rendered each frame by calling their Render method
|
|
/// </summary>
|
|
bool ModuleRenderingDisabled { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a list of startup arguments
|
|
/// </summary>
|
|
List<string> StartupArguments { get; set; }
|
|
|
|
/// <summary>
|
|
/// Initializes the core, only call once
|
|
/// </summary>
|
|
void Initialize();
|
|
|
|
/// <summary>
|
|
/// Occurs the core has finished initializing
|
|
/// </summary>
|
|
event EventHandler Initialized;
|
|
|
|
/// <summary>
|
|
/// Occurs whenever a frame is rendering, after modules have rendered
|
|
/// </summary>
|
|
event EventHandler<FrameRenderingEventArgs> FrameRendering;
|
|
|
|
/// <summary>
|
|
/// Occurs whenever a frame is finished rendering and processed by RGB.NET
|
|
/// </summary>
|
|
event EventHandler<FrameRenderedEventArgs> FrameRendered;
|
|
}
|
|
} |