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_S3MFILE_H
00023 #define TAGLIB_S3MFILE_H
00024
00025 #include "tfile.h"
00026 #include "audioproperties.h"
00027 #include "taglib_export.h"
00028 #include "modfilebase.h"
00029 #include "modtag.h"
00030 #include "s3mproperties.h"
00031
00032 namespace TagLib {
00033
00034 namespace S3M {
00035
00036 class TAGLIB_EXPORT File : public Mod::FileBase {
00037 public:
00045 File(FileName file, bool readProperties = true,
00046 AudioProperties::ReadStyle propertiesStyle =
00047 AudioProperties::Average);
00048
00059 File(IOStream *stream, bool readProperties = true,
00060 AudioProperties::ReadStyle propertiesStyle =
00061 AudioProperties::Average);
00062
00066 virtual ~File();
00067
00068 Mod::Tag *tag() const;
00069
00074 PropertyMap properties() const;
00075
00080 PropertyMap setProperties(const PropertyMap &);
00081
00086 S3M::Properties *audioProperties() const;
00087
00094 bool save();
00095
00096 private:
00097 File(const File &);
00098 File &operator=(const File &);
00099
00100 void read(bool readProperties);
00101
00102 class FilePrivate;
00103 FilePrivate *d;
00104 };
00105 }
00106 }
00107
00108 #endif