TagLib  1.13.1
modfile.h
Go to the documentation of this file.
1/***************************************************************************
2 copyright : (C) 2011 by Mathias Panzenböck
3 email : grosser.meister.morti@gmx.net
4 ***************************************************************************/
5
6/***************************************************************************
7 * This library is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU Lesser General Public License version *
9 * 2.1 as published by the Free Software Foundation. *
10 * *
11 * This library is distributed in the hope that it will be useful, but *
12 * WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
14 * Lesser General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU Lesser General Public *
17 * License along with this library; if not, write to the Free Software *
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA *
19 * 02110-1301 USA *
20 * *
21 * Alternatively, this file is available under the Mozilla Public *
22 * License Version 1.1. You may obtain a copy of the License at *
23 * http://www.mozilla.org/MPL/ *
24 ***************************************************************************/
25
26#ifndef TAGLIB_MODFILE_H
27#define TAGLIB_MODFILE_H
28
29#include "tfile.h"
30#include "audioproperties.h"
31#include "taglib_export.h"
32#include "modfilebase.h"
33#include "modtag.h"
34#include "modproperties.h"
35
36namespace TagLib {
37 namespace Mod {
39 {
40 public:
48 File(FileName file, bool readProperties = true,
49 AudioProperties::ReadStyle propertiesStyle =
51
62 File(IOStream *stream, bool readProperties = true,
63 AudioProperties::ReadStyle propertiesStyle =
65
69 virtual ~File();
70
71 Mod::Tag *tag() const;
72
78
89
96 bool save();
97
98 private:
99 File(const File &);
100 File &operator=(const File &);
101
102 void read(bool readProperties);
103
104 class FilePrivate;
105 FilePrivate *d;
106 };
107 } // namespace Mod
108} // namespace TagLib
109#endif
ReadStyle
Definition: audioproperties.h:53
@ Average
Read more of the file and make better values guesses.
Definition: audioproperties.h:57
An abstract class that provides operations on a sequence of bytes.
Definition: tiostream.h:63
Definition: modfilebase.h:40
Definition: modfile.h:39
PropertyMap properties() const
File(IOStream *stream, bool readProperties=true, AudioProperties::ReadStyle propertiesStyle=AudioProperties::Average)
Mod::Properties * audioProperties() const
File(FileName file, bool readProperties=true, AudioProperties::ReadStyle propertiesStyle=AudioProperties::Average)
PropertyMap setProperties(const PropertyMap &)
Mod::Tag * tag() const
Definition: modproperties.h:35
Definition: modtag.h:46
A map for format-independent <key,valuelist> tag representations.
Definition: tpropertymap.h:119
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41
const char * FileName
Definition: tiostream.h:57
#define TAGLIB_EXPORT
Definition: taglib_export.h:40