using System;

namespace Toolbox.Docking.Api.Objects
{
    /// <summary>
    /// Base class for object information
    /// </summary>
    /// 
    [Serializable]
    public abstract class TbObjectInfo
    {
        /// <summary>
        /// Construct a new object info object
        /// </summary>
        /// <param name="flags">Object information flags</param>
        protected TbObjectInfo(TbObjectInfoFlags flags)
        {
            ObjectFlags = flags;
        }

        /// <summary>
        /// Access to object's flags
        /// </summary>
        public TbObjectInfoFlags ObjectFlags { get; }
    }
}