mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 19:14:20 +01:00
Removed unused component
This commit is contained in:
parent
add73e0b49
commit
f641b7f11c
36
DS4Windows/DS4Control/ScpHub.Designer.cs
generated
36
DS4Windows/DS4Control/ScpHub.Designer.cs
generated
@ -1,36 +0,0 @@
|
||||
namespace DS4Windows
|
||||
{
|
||||
partial class ScpHub
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
@ -1,87 +0,0 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DS4Windows
|
||||
{
|
||||
public partial class ScpHub : Component
|
||||
{
|
||||
protected IntPtr m_Reference = IntPtr.Zero;
|
||||
protected volatile Boolean m_Started = false;
|
||||
|
||||
public event EventHandler<DebugEventArgs> Debug = null;
|
||||
|
||||
public event EventHandler<ReportEventArgs> Report = null;
|
||||
|
||||
protected virtual Boolean LogDebug(String Data, bool warning)
|
||||
{
|
||||
DebugEventArgs args = new DebugEventArgs(Data, warning);
|
||||
|
||||
On_Debug(this, args);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public Boolean Active
|
||||
{
|
||||
get { return m_Started; }
|
||||
}
|
||||
|
||||
|
||||
public ScpHub()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public ScpHub(IContainer container)
|
||||
{
|
||||
container.Add(this);
|
||||
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
|
||||
public virtual Boolean Open()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public virtual Boolean Start()
|
||||
{
|
||||
return m_Started;
|
||||
}
|
||||
|
||||
public virtual Boolean Stop()
|
||||
{
|
||||
return !m_Started;
|
||||
}
|
||||
|
||||
public virtual Boolean Close()
|
||||
{
|
||||
if (m_Reference != IntPtr.Zero) ScpDevice.UnregisterNotify(m_Reference);
|
||||
|
||||
return !m_Started;
|
||||
}
|
||||
|
||||
|
||||
public virtual Boolean Suspend()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public virtual Boolean Resume()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected virtual void On_Debug(object sender, DebugEventArgs e)
|
||||
{
|
||||
if (Debug != null) Debug(sender, e);
|
||||
}
|
||||
|
||||
|
||||
protected virtual void On_Report(object sender, ReportEventArgs e)
|
||||
{
|
||||
if (Report != null) Report(sender, e);
|
||||
}
|
||||
}
|
||||
}
|
@ -151,12 +151,6 @@
|
||||
<Compile Include="DS4Control\ScpDevice.Designer.cs">
|
||||
<DependentUpon>ScpDevice.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DS4Control\ScpHub.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="DS4Control\ScpHub.Designer.cs">
|
||||
<DependentUpon>ScpHub.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DS4Control\ScpUtil.cs" />
|
||||
<Compile Include="DS4Control\X360Device.cs">
|
||||
<SubType>Component</SubType>
|
||||
|
Loading…
Reference in New Issue
Block a user