flacfile.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef TAGLIB_FLACFILE_H
00023 #define TAGLIB_FLACFILE_H
00024
00025 #include <tfile.h>
00026
00027 #include "flacproperties.h"
00028
00029 namespace TagLib {
00030
00031 class Tag;
00032 namespace ID3v2 { class FrameFactory; };
00033
00034 namespace FLAC {
00035
00036 class File : public TagLib::File
00037 {
00038 public:
00044 File(const char* file, bool readProperties = true,
00045 Properties::ReadStyle propertiesStyle = Properties::Average);
00046
00050 virtual ~File();
00051
00056 virtual TagLib::Tag *tag() const;
00057
00062 virtual Properties *audioProperties() const;
00063
00069 virtual void save();
00070
00076 void setID3v2FrameFactory(const ID3v2::FrameFactory *factory);
00077
00078 ByteVector streamInfoData();
00079 ByteVector xiphCommentData();
00080
00081 private:
00082 File(const File &);
00083 File &operator=(const File &);
00084
00085 void read(bool readProperties, Properties::ReadStyle propertiesStyle);
00086 void scan();
00087 long findID3v2();
00088 long findID3v1();
00089
00090 class FilePrivate;
00091 FilePrivate *d;
00092 };
00093 }
00094 }
00095
00096 #endif
This file is part of the documentation for TagLib Version 0.95.