TagLib API Documentation

flacfile.h

Go to the documentation of this file.
00001 /***************************************************************************
00002     copyright            : (C) 2003 by Allan Sandfeld Jensen
00003     email                : kde@carewolf.org
00004  ***************************************************************************/
00005 
00006 /***************************************************************************
00007  *   This library is free software; you can redistribute it and/or modify  *
00008  *   it  under the terms of the GNU Lesser General Public License version  *
00009  *   2.1 as published by the Free Software Foundation.                     *
00010  *                                                                         *
00011  *   This library is distributed in the hope that it will be useful, but   *
00012  *   WITHOUT ANY WARRANTY; without even the implied warranty of            *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00014  *   Lesser General Public License for more details.                       *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU Lesser General Public      *
00017  *   License along with this library; if not, write to the Free Software   *
00018  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  *
00019  *   USA                                                                   *
00020  ***************************************************************************/
00021 
00022 #ifndef TAGLIB_FLACFILE_H
00023 #define TAGLIB_FLACFILE_H
00024 
00025 #include <tag.h>
00026 #include <tfile.h>
00027 #include <flacproperties.h>
00028 
00029 namespace TagLib {
00030 
00031   namespace FLAC {
00032 
00033     class File : public TagLib::File
00034     {
00035     public:
00036       File(const String &file, bool readProperties = true,
00037            Properties::ReadStyle propertiesStyle = Properties::Average);
00038       virtual ~File();
00039 
00045       virtual TagLib::Tag *tag() const;
00046 
00051       virtual Properties *audioProperties() const;
00052       virtual void save();
00053 
00054       ByteVector streamInfo();
00055       ByteVector vorbisComment();
00056 
00057     private:
00058       void read(bool readProperties, Properties::ReadStyle propertiesStyle);
00059 
00060       void scan();
00061 
00062       class FilePrivate;
00063       FilePrivate *d;
00064     };
00065   }
00066 }
00067 
00068 #endif
KDE Logo
This file is part of the documentation for TagLib Version 0.95.
Documentation copyright © 1996-2003 the KDE developers.
Generated on Sat Nov 22 15:31:49 2003 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2003