libtaginfo  0.2.1
taginfo_modtags.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 #ifndef TAGINFO_MODTAG_H
27 #define TAGINFO_MODTAG_H
28 
29 #include "taginfo.h"
30 
31 
32 using namespace TagLib;
33 using namespace TagInfo;
34 
39 namespace TagInfo {
40 
41  //Implementations for different mod tags
42 
44 
48  class ModTagInfo : public Info {
49  protected :
52  ModTagInfo(const String &filename = "");
54  Mod::Tag * taglib_tagMod;
55 
56  public :
57  virtual ~ModTagInfo();
58 
59  virtual bool load(void);
60  virtual bool save();
61  };
62 
64 
69  class ModInfo : public ModTagInfo {
70  public :
73  ModInfo(const String &filename = "");
74  virtual ~ModInfo();
75  };
76 
78 
83  class ItInfo : public ModTagInfo {
84  public :
87  ItInfo(const String &filename = "");
88  virtual ~ItInfo();
89  };
90 
92 
97  class S3mInfo : public ModTagInfo {
98  public :
101  S3mInfo(const String &filename = "");
102  virtual ~S3mInfo();
103  };
104 
106 
111  class XmInfo : public ModTagInfo {
112  public :
115  XmInfo(const String &filename = "");
116  virtual ~XmInfo();
117  };
118 
119 }
120 
121 #endif
Info implementation for it files.
Definition: taginfo_modtags.h:83
Info implementation for s3m files.
Definition: taginfo_modtags.h:97
Mod::Tag * taglib_tagMod
TagLib::Mod::Tag of the media file.
Definition: taginfo_modtags.h:54
Info implementation for xm files.
Definition: taginfo_modtags.h:111
Info implementation for mod tags..
Definition: taginfo_modtags.h:48
Info implementation for mod files.
Definition: taginfo_modtags.h:69
A simple, generic interface to common audio meta data fields and media properties.
Definition: taginfo.h:125