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
00023
00024
00025
00026 #ifndef TAGLIB_MP4FILE_H
00027 #define TAGLIB_MP4FILE_H
00028
00029 #include "tag.h"
00030 #include "tfile.h"
00031 #include "taglib_export.h"
00032 #include "mp4properties.h"
00033 #include "mp4tag.h"
00034
00035 namespace TagLib {
00036
00038 namespace MP4 {
00039
00040 class Atoms;
00041
00048 class TAGLIB_EXPORT File : public TagLib::File
00049 {
00050 public:
00059 File(FileName file, bool readProperties = true, Properties::ReadStyle audioPropertiesStyle = Properties::Average);
00060
00072 File(IOStream *stream, bool readProperties = true, Properties::ReadStyle audioPropertiesStyle = Properties::Average);
00073
00077 virtual ~File();
00078
00089 Tag *tag() const;
00090
00094 Properties *audioProperties() const;
00095
00101 bool save();
00102
00103 private:
00104
00105 void read(bool readProperties, Properties::ReadStyle audioPropertiesStyle);
00106 bool checkValid(const MP4::AtomList &list);
00107
00108 class FilePrivate;
00109 FilePrivate *d;
00110 };
00111
00112 }
00113
00114 }
00115
00116 #endif