1 // 2 // Copyright (c) 2010-2018 Antmicro 3 // Copyright (c) 2011-2015 Realtime Embedded 4 // 5 // This file is licensed under the MIT License. 6 // Full license text is available in 'licenses/MIT.txt'. 7 // 8 namespace Antmicro.Renode.Core 9 { 10 public class MachineStateChangedEventArgs 11 { MachineStateChangedEventArgs(State state)12 public MachineStateChangedEventArgs(State state) 13 { 14 CurrentState = state; 15 } 16 17 public State CurrentState { get; private set; } 18 19 public enum State 20 { 21 Started, 22 Paused, 23 Disposed 24 } 25 } 26 } 27 28