예제 #1
0
 /// <summary>
 /// Constructor for the OggPlaylistFile object (cached)
 /// </summary>
 /// <param name="f">
 /// An <see cref="OggFile"/> containing the file associated with this OggPlaylistFile
 /// </param>
 /// <param name="Order">
 /// A <see cref="System.Int32"/> containing a value indicating it's order
 /// </param>
 OggPlaylistFile(OggFile f, int Order)
 {
     m_File       = f;
     m_OrderNum   = Order;
     m_Played     = false;
     m_Cached     = true;
     m_FileString = m_File.GetQuickTag(OggTags.Filename);
 }
예제 #2
0
        private bool m_Played; // Whether the file has been played

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Constructor for the OggPlaylistFile object (cached)
        /// </summary>
        /// <param name="f">
        /// An <see cref="OggFile"/> containing the file associated with this OggPlaylistFile
        /// </param>
        /// <param name="Order">
        /// A <see cref="System.Int32"/> containing a value indicating it's order
        /// </param>
        OggPlaylistFile(OggFile f, int Order)
        {
            m_File = f;
            m_OrderNum = Order;
            m_Played = false;
            m_Cached = true;
            m_FileString = m_File.GetQuickTag(OggTags.Filename);
        }