libtaginfo  0.2.0
taginfo_asftags.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_ASF_H
28 #define TAGINFO_ASF_H
29 
30 #include "taginfo.h"
31 
32 #include <asffile.h>
33 
34 
35 using namespace TagLib;
36 using namespace TagInfo;
37 
41 namespace TagInfo {
42 
44 
47  class AsfInfo : public Info {
48  protected :
50  ASF::Tag * asf_tag;
51 
52  public :
55  AsfInfo(const String &filename = "");
56  virtual ~AsfInfo();
57 
58  virtual bool load(void);
59  virtual bool save(void);
60 
61  virtual ImageList get_images() const;
62  virtual void set_images(const ImageList images);
63 
64  virtual String get_lyrics(void) const;
65  virtual void set_lyrics(const String &lyrics);
66  };
67 }
68 
69 #endif
Info implementation for asf tags (wma, wmv and asf files).
Definition: taginfo_asftags.h:47
TagLib::List< Image * > ImageList
Definition: taginfo.h:62
ASF::Tag * asf_tag
Asf tag.
Definition: taginfo_asftags.h:50
A simple, generic interface to common audio meta data fields and media properties.
Definition: taginfo.h:125