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
00027
00028
00029
00030 #ifndef TAGLIB_OPUSFILE_H
00031 #define TAGLIB_OPUSFILE_H
00032
00033 #include "oggfile.h"
00034 #include "xiphcomment.h"
00035
00036 #include "opusproperties.h"
00037
00038 namespace TagLib {
00039
00040 namespace Ogg {
00041
00043
00044 namespace Opus {
00045
00047
00055 class TAGLIB_EXPORT File : public Ogg::File
00056 {
00057 public:
00064 File(FileName file, bool readProperties = true,
00065 Properties::ReadStyle propertiesStyle = Properties::Average);
00066
00076 File(IOStream *stream, bool readProperties = true,
00077 Properties::ReadStyle propertiesStyle = Properties::Average);
00078
00082 virtual ~File();
00083
00089 virtual Ogg::XiphComment *tag() const;
00090
00095 PropertyMap properties() const;
00096
00101 PropertyMap setProperties(const PropertyMap &);
00102
00107 virtual Properties *audioProperties() const;
00108
00117 virtual bool save();
00118
00119 private:
00120 File(const File &);
00121 File &operator=(const File &);
00122
00123 void read(bool readProperties);
00124
00125 class FilePrivate;
00126 FilePrivate *d;
00127 };
00128 }
00129 }
00130 }
00131
00132 #endif