fix: register interfaces for provided services

This commit is contained in:
goat 2023-09-30 01:09:25 +02:00
parent 4b9de31240
commit 4a1b220d4a
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
9 changed files with 46 additions and 20 deletions

20
Dalamud.Injector/Hacks.cs Normal file
View file

@ -0,0 +1,20 @@
using System;
// ReSharper disable once CheckNamespace
namespace Dalamud;
// TODO: Get rid of this! Move StartInfo to another assembly, make this good
/// <summary>
/// Class to initialize Service&lt;T&gt;s.
/// </summary>
internal static class ServiceManager
{
/// <summary>
/// Indicates that the class is a service.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class Service : Attribute
{
}
}