1 // 2 // Copyright (c) 2010-2023 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 10 namespace Antmicro.Renode.Core 11 { 12 public interface IGPIOWithHooks : IGPIO 13 { AddStateChangedHook(Action<bool> hook)14 void AddStateChangedHook(Action<bool> hook); RemoveStateChangedHook(Action<bool> hook)15 void RemoveStateChangedHook(Action<bool> hook); 16 } 17 } 18 19