-
Notifications
You must be signed in to change notification settings - Fork 809
Expand file tree
/
Copy pathEnums.cs
More file actions
120 lines (114 loc) · 3.07 KB
/
Enums.cs
File metadata and controls
120 lines (114 loc) · 3.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
namespace UniGetUI.Interface.Enums
{
/// <summary>
/// Represents the visual status of a package on a list
/// </summary>
public enum PackageTag
{
Default,
AlreadyInstalled,
IsUpgradable,
Pinned,
OnQueue,
BeingProcessed,
Failed,
Unavailable,
}
public enum IconType
{
AddTo = '\uE900',
Android = '\uE901',
Backward = '\uE902',
Bucket = '\uE903',
Buggy = '\uE904',
Checksum = '\uE905',
Chocolatey = '\uE906',
ClipboardList = '\uE907',
Close_Round = '\uE908',
Collapse = '\uE909',
Console = '\uE90A',
Copy = '\uE90B',
Cross = '\uE90C',
Delete = '\uE90D',
Disk = '\uE90E',
DotNet = '\uE90F',
Download = '\uE910',
Empty = '\uE911',
Expand = '\uE912',
Experimental = '\uE913',
Forward = '\uE914',
GOG = '\uE915',
Help = '\uE916',
History = '\uE917',
Home = '\uE918',
Id = '\uE919',
Info_Round = '\uE91A',
Installed = '\uE91B',
Installed_Filled = '\uE91C',
Interactive = '\uE91D',
Launch = '\uE91E',
Loading = '\uE91F',
Loading_Filled = '\uE920',
LocalPc = '\uE921',
Megaphone = '\uE922',
MsStore = '\uE923',
Node = '\uE924',
OpenFolder = '\uE925',
Options = '\uE926',
Package = '\uE927',
Pin = '\uE928',
Pin_Filled = '\uE929',
PowerShell = '\uE92A',
Python = '\uE92B',
Reload = '\uE92C',
SandClock = '\uE92D',
SaveAs = '\uE92E',
Scoop = '\uE92F',
Search = '\uE930',
Settings = '\uE931',
Share = '\uE932',
Skip = '\uE933',
Steam = '\uE934',
SysTray = '\uE935',
UAC = '\uE936',
Undelete = '\uE937',
Update = '\uE938',
Upgradable = '\uE939',
Upgradable_Filled = '\uE93A',
UPlay = '\uE93B',
Version = '\uE93C',
Warning = '\uE93D',
Warning_Filled = '\uE93E',
Warning_Round = '\uE93F',
WinGet = '\uE940',
Rust = '\uE941',
Vcpkg = '\uE942',
Homebrew = '\uE943',
Apt = '\uE944',
Dnf = '\uE945',
Pacman = '\uE946',
}
public class NotificationArguments
{
public const string Show = "openUniGetUI";
public const string ShowOnUpdatesTab = "openUniGetUIOnUpdatesTab";
public const string UpdateAllPackages = "updateAll";
public const string ReleaseSelfUpdateLock = "releaseSelfUpdateLock";
}
public struct BundleReportEntry
{
public readonly string Line;
public readonly bool Allowed;
public BundleReportEntry(string line, bool allowed)
{
Line = line;
Allowed = allowed;
}
}
public struct BundleReport
{
public bool IsEmpty = false;
public Dictionary<string, List<BundleReportEntry>> Contents = new();
public BundleReport() { }
}
}