Add a ToolAttributes.cs class, right now it just has a released flag, mark a few tools as unreleased, eventually there's code that will take advantage of this flag
This commit is contained in:
parent
b3923283d2
commit
03e92ce883
|
@ -614,6 +614,7 @@
|
|||
<DependentUpon>RomStatusPicker.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Throttle.cs" />
|
||||
<Compile Include="ToolAttributes.cs" />
|
||||
<Compile Include="tools\Atari2600\Atari2600Debugger.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class ToolAttributes : Attribute
|
||||
{
|
||||
public ToolAttributes(bool released)
|
||||
{
|
||||
Released = released;
|
||||
}
|
||||
|
||||
public bool Released { get; private set; }
|
||||
}
|
||||
}
|
|
@ -13,6 +13,7 @@ using BizHawk.Emulation.Common;
|
|||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
[ToolAttributes(released: false)]
|
||||
public partial class Atari2600Debugger : Form, IToolForm
|
||||
{
|
||||
// TODO:
|
||||
|
|
|
@ -13,6 +13,7 @@ using BizHawk.Client.Common;
|
|||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
[ToolAttributes(released: false)]
|
||||
public partial class GenericDebugger : Form, IToolForm, IControlMainform
|
||||
{
|
||||
private int _defaultWidth;
|
||||
|
|
Loading…
Reference in New Issue