diff options
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Services/ServiceAttributes.cs')
-rw-r--r-- | src/Ryujinx.HLE/HOS/Services/ServiceAttributes.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Ryujinx.HLE/HOS/Services/ServiceAttributes.cs b/src/Ryujinx.HLE/HOS/Services/ServiceAttributes.cs new file mode 100644 index 00000000..1b896a27 --- /dev/null +++ b/src/Ryujinx.HLE/HOS/Services/ServiceAttributes.cs @@ -0,0 +1,17 @@ +using System; + +namespace Ryujinx.HLE.HOS.Services +{ + [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] + class ServiceAttribute : Attribute + { + public readonly string Name; + public readonly object Parameter; + + public ServiceAttribute(string name, object parameter = null) + { + Name = name; + Parameter = parameter; + } + } +}
\ No newline at end of file |