libtaginfo  0.2.0
taginfo_mp4tags.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2013 J.Rios <anonbeat@gmail.com>
3  * Copyright (C) 2013 Jörn Magens
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This Program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; see the file LICENSE. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth
18  * Floor, Boston, MA 02110-1301 USA
19  * https://www.gnu.org/licenses/lgpl-2.1.txt
20  *
21  * Author:
22  * Jörn Magens <shuerhaaken@googlemail.com>
23  *
24  */
25 
26 
27 #ifndef TAGINFO_MP4_H
28 #define TAGINFO_MP4_H
29 
30 #include "taginfo.h"
31 
32 
33 
34 using namespace TagLib;
35 using namespace TagInfo;
36 
40 namespace TagInfo {
41 
43 
46  class Mp4Info : public Info {
47  protected :
49  TagLib::MP4::Tag * mp4_tag;
50 
51  public :
54  Mp4Info(const String &filename = "");
55  virtual ~Mp4Info();
56 
57  virtual bool load(void);
58  virtual bool save(void);
59 
60  virtual ImageList get_images() const;
61  virtual void set_images(const ImageList images);
62 
63  virtual String get_lyrics(void) const;
64  virtual void set_lyrics(const String &lyrics);
65  };
66 }
67 
68 #endif
Info implementation for mp4 tags.
Definition: taginfo_mp4tags.h:46
TagLib::MP4::Tag * mp4_tag
Mp4 tag.
Definition: taginfo_mp4tags.h:49
TagLib::List< Image * > ImageList
Definition: taginfo.h:62
A simple, generic interface to common audio meta data fields and media properties.
Definition: taginfo.h:125