1 // 2 // Copyright (c) 2010-2018 Antmicro 3 // 4 // This file is licensed under the MIT License. 5 // Full license text is available in 'licenses/MIT.txt'. 6 // 7 using System; 8 using System.Collections.Generic; 9 using Antmicro.Renode.PlatformDescription.Syntax; 10 11 namespace Antmicro.Renode.PlatformDescription 12 { 13 public interface IInitHandler 14 { Validate(IInitable initable, out string message)15 bool Validate(IInitable initable, out string message); Execute(IInitable initable, IEnumerable<string> statements, Action<string> errorHandler)16 void Execute(IInitable initable, IEnumerable<string> statements, Action<string> errorHandler); 17 } 18 } 19