Move linter interfaces to Mods.Common.

This commit is contained in:
Paul Chote
2017-09-07 19:47:18 +00:00
committed by Oliver Brakmann
parent 0648fc9f31
commit e54cf9acc3
5 changed files with 22 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
#region Copyright & License Information
/*
* Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version. For more
* information, see COPYING.
*/
#endregion
using System;
namespace OpenRA.Mods.Common.Lint
{
public interface ILintPass { void Run(Action<string> emitError, Action<string> emitWarning, ModData modData); }
public interface ILintMapPass { void Run(Action<string> emitError, Action<string> emitWarning, Map map); }
public interface ILintRulesPass { void Run(Action<string> emitError, Action<string> emitWarning, Ruleset rules); }
}