//
// 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)
{
RowDatas = new List();
DirectoryState = MenuDataDirectoryState.Undefined;
Level = level;
RowDataParent = null;
IsNetworkRoot = false;
}
internal List RowDatas { get; set; }
internal MenuDataDirectoryState DirectoryState { get; set; }
internal int Level { get; }
internal RowData RowDataParent { get; set; }
internal bool IsNetworkRoot { get; set; }
}
}