aifffile.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
00023
00024
00025
00026 #ifndef TAGLIB_AIFFFILE_H
00027 #define TAGLIB_AIFFFILE_H
00028
00029 #include "rifffile.h"
00030 #include "id3v2tag.h"
00031 #include "aiffproperties.h"
00032
00033 namespace TagLib {
00034
00035 namespace RIFF {
00036
00038
00046 namespace AIFF {
00047
00049
00057 class TAGLIB_EXPORT File : public TagLib::RIFF::File
00058 {
00059 public:
00066 File(FileName file, bool readProperties = true,
00067 Properties::ReadStyle propertiesStyle = Properties::Average);
00068
00078 File(IOStream *stream, bool readProperties = true,
00079 Properties::ReadStyle propertiesStyle = Properties::Average);
00080
00084 virtual ~File();
00085
00095 virtual ID3v2::Tag *tag() const;
00096
00101 PropertyMap properties() const;
00102
00103 void removeUnsupportedProperties(const StringList &properties);
00104
00109 PropertyMap setProperties(const PropertyMap &);
00110
00115 virtual Properties *audioProperties() const;
00116
00120 virtual bool save();
00121
00127 bool hasID3v2Tag() const;
00128
00129 private:
00130 File(const File &);
00131 File &operator=(const File &);
00132
00133 void read(bool readProperties);
00134
00135 friend class Properties;
00136
00137 class FilePrivate;
00138 FilePrivate *d;
00139 };
00140 }
00141 }
00142 }
00143
00144 #endif