InvalidCharFlags.cs
1 using System; 2 3 namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard 4 { 5 /// <summary> 6 /// Identifies prohibited character sets. 7 /// </summary> 8 [Flags] 9 enum InvalidCharFlags : uint 10 { 11 /// <summary> 12 /// No characters are prohibited. 13 /// </summary> 14 None = 0 << 1, 15 16 /// <summary> 17 /// Prohibits spaces. 18 /// </summary> 19 Space = 1 << 1, 20 21 /// <summary> 22 /// Prohibits the at (@) symbol. 23 /// </summary> 24 AtSymbol = 1 << 2, 25 26 /// <summary> 27 /// Prohibits the percent (%) symbol. 28 /// </summary> 29 Percent = 1 << 3, 30 31 /// <summary> 32 /// Prohibits the forward slash (/) symbol. 33 /// </summary> 34 ForwardSlash = 1 << 4, 35 36 /// <summary> 37 /// Prohibits the backward slash (\) symbol. 38 /// </summary> 39 BackSlash = 1 << 5, 40 41 /// <summary> 42 /// Prohibits numbers. 43 /// </summary> 44 Numbers = 1 << 6, 45 46 /// <summary> 47 /// Prohibits characters outside of those allowed in download codes. 48 /// </summary> 49 DownloadCode = 1 << 7, 50 51 /// <summary> 52 /// Prohibits characters outside of those allowed in Mii Nicknames. 53 /// </summary> 54 Username = 1 << 8, 55 } 56 }