//
// Copyright (c) PlaceholderCompany. All rights reserved.
//
namespace SystemTrayMenu.DataClasses
{
using System.Collections.Generic;
internal enum MenuDataDirectoryState
{
///
/// State not defined or data still loading
///
Undefined,
///
/// Data is available
///
Valid,
///
/// Loading finished but no data available
///
Empty,
///
/// Loading failed, so no data available
///
NoAccess,
}
internal struct MenuData
{
public MenuData(int level, RowData? rowDataParent)
{
Level = level;
RowDataParent = rowDataParent;
}
internal int Level { get; }
internal RowData? RowDataParent { get; set; }
internal List RowDatas { get; set; } = new ();
internal MenuDataDirectoryState DirectoryState { get; set; } = MenuDataDirectoryState.Undefined;
}
}