TagLib  2.0.2
dsdiffdiintag.h
Go to the documentation of this file.
1 /***************************************************************************
2  copyright : (C) 2016 by Damien Plisson, Audirvana
3  email : damien78@audirvana.com
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_DSDIFFDIINTAG_H
27 #define TAGLIB_DSDIFFDIINTAG_H
28 
29 #include "tag.h"
30 
31 namespace TagLib {
32 
33  namespace DSDIFF {
34 
35  namespace DIIN {
36 
42  class TAGLIB_EXPORT Tag : public TagLib::Tag
43  {
44  public:
45  Tag();
46  ~Tag() override;
47 
52  String title() const override;
53 
58  String artist() const override;
59 
63  String album() const override;
64 
68  String comment() const override;
69 
73  String genre() const override;
74 
78  unsigned int year() const override;
79 
83  unsigned int track() const override;
84 
89  void setTitle(const String &title) override;
90 
95  void setArtist(const String &artist) override;
96 
100  void setAlbum(const String &album) override;
101 
105  void setComment(const String &comment) override;
106 
110  void setGenre(const String &genre) override;
111 
115  void setYear(unsigned int year) override;
116 
120  void setTrack(unsigned int track) override;
121 
126  PropertyMap properties() const override;
127 
136  PropertyMap setProperties(const PropertyMap &) override;
137 
138  private:
139  class TagPrivate;
141  std::unique_ptr<TagPrivate> d;
142  };
143  } // namespace DIIN
144  } // namespace DSDIFF
145 } // namespace TagLib
146 
147 #endif
A map for format-independent <key,values> tag representations.
Definition: tpropertymap.h:122
A simple, generic interface to common audio metadata fields.
Definition: tag.h:48
A wide string class suitable for unicode.
Definition: tstring.h:82
#define TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
Definition: taglib_export.h:55
#define TAGLIB_EXPORT
Definition: taglib_export.h:40
Definition: dsdiffdiintag.h:42
String TAGLIB_EXPORT genre(int index)
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41