Logo Search packages:      
Sourcecode: hipo version File versions

AppleAdditionalInfoBox.cs

namespace TagLib.Mpeg4
{
   public class AppleAdditionalInfoBox : FullBox
   {
      #region Private Properties
      private string text;
      private ByteVector data;
      #endregion
      
      #region Constructors
      /*public AppleAdditionalInfoBox (BoxHeader header, ByteVector data, int data_offset, Box handler) : base (header, data, data_offset, handler)
      {
         Data = LoadData (data);
         text = Data.ToString (StringType.Latin1);
      }*/
      public AppleAdditionalInfoBox (BoxHeader header, File file, Box handler) : base (header, file, handler)
      {
         Data = LoadData (file);
         text = Data.ToString (StringType.Latin1);
      }
      #endregion
      
      #region Public Properties
      public string Text
      {
         // When we set the value, store it as a the data too.
         get {return text;}
         set {text = value; Data = ByteVector.FromString (text, StringType.Latin1);}
      }
      
      public override ByteVector Data
      {
         get {return data;} set {data = value;}
      }
      #endregion
   }
}

Generated by  Doxygen 1.6.0   Back to index