初始化CRICS
This commit is contained in:
25
Service/Implement/MusicControlManager.cs
Normal file
25
Service/Implement/MusicControlManager.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using Domain;
|
||||
using RCUHost;
|
||||
|
||||
namespace Service.Implement
|
||||
{
|
||||
public class MusicControlManager : IMusicControlManager
|
||||
{
|
||||
public IMusicControlReceiver MusicControlReceiver { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发送音乐按键
|
||||
/// </summary>
|
||||
/// <param name="host">主机</param>
|
||||
/// <param name="key">按键</param>
|
||||
public void SendKey(Host host, MusicKey key)
|
||||
{
|
||||
MusicControlReceiver.SendKey(host, key);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user