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 using System; 9 10 namespace Antmicro.Renode.UserInterface 11 { 12 [AttributeUsage(AttributeTargets.Interface | AttributeTargets.Class)] 13 public class IconAttribute : Attribute 14 { IconAttribute(string resource)15 public IconAttribute(string resource) 16 { 17 ResourceName = resource; 18 } 19 20 public string ResourceName { get; private set; } 21 } 22 } 23 24