1#ifndef DESKTOPDIRENTINFOSETTINGS_H
2#define DESKTOPDIRENTINFOSETTINGS_H
4enum class DesktopDirentType :
short {
20static constexpr const char* DesktopDirentTypeMETAS[] = {
21 "Documentations",
"Downloads",
"Music",
"Pictures",
22 "Videos",
"Binaries",
"Config",
"Cache",
"Runtime",
"Trash"
25static constexpr unsigned short
27 =
static_cast<unsigned short>(DesktopDirentType::Trash) + 1;
30 sizeof(DesktopDirentTypeMETAS) /
sizeof(DesktopDirentTypeMETAS[0])
31 == DesktopDirentTypeMAX,
32 "DesktopServerDirentMetas and Enums are count mismatched!");
34enum class DesktopServerType {
38static constexpr const char* DesktopServerTypeMETAS[] = {
42static constexpr unsigned short
44 =
static_cast<unsigned short>(DesktopServerType::TOAST_SUMMON) + 1;
47 sizeof(DesktopServerTypeMETAS) /
sizeof(DesktopServerTypeMETAS[0])
48 == DesktopServerTypeMAX,
49 "DesktopServerTypeMETAS and Enums are count mismatched!");
51static constexpr const char* TOAST_SUMMON_DIRENT =
".__toast_summon_dirent";