modtag.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     copyright           : (C) 2011 by Mathias Panzenböck
00003     email               : grosser.meister.morti@gmx.net
00004  ***************************************************************************/
00005 
00006 /***************************************************************************
00007  *   This library is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU Lesser General Public License version   *
00009  *   2.1 as published by the Free Software Foundation.                     *
00010  *                                                                         *
00011  *   This library is distributed in the hope that it will be useful, but   *
00012  *   WITHOUT ANY WARRANTY; without even the implied warranty of            *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00014  *   Lesser General Public License for more details.                       *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU Lesser General Public      *
00017  *   License along with this library; if not, write to the Free Software   *
00018  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA         *
00019  *   02110-1301  USA                                                       *
00020  *                                                                         *
00021  *   Alternatively, this file is available under the Mozilla Public        *
00022  *   License Version 1.1.  You may obtain a copy of the License at         *
00023  *   http://www.mozilla.org/MPL/                                           *
00024  ***************************************************************************/
00025 
00026 #ifndef TAGLIB_MODTAG_H
00027 #define TAGLIB_MODTAG_H
00028 
00029 #include "tag.h"
00030 
00031 namespace TagLib {
00032 
00033   namespace Mod {
00034 
00047     class TAGLIB_EXPORT Tag : public TagLib::Tag
00048     {
00049     public:
00050       Tag();
00051       virtual ~Tag();
00052 
00057       virtual String title() const;
00058 
00062       virtual String artist() const;
00063 
00067       virtual String album() const;
00068 
00074       virtual String comment() const;
00075 
00079       virtual String genre() const;
00080 
00084       virtual unsigned int year() const;
00085 
00089       virtual unsigned int track() const;
00090 
00098       String trackerName() const;
00099 
00108       virtual void setTitle(const String &title);
00109 
00113       virtual void setArtist(const String &artist);
00114 
00118       virtual void setAlbum(const String &album);
00119 
00137       virtual void setComment(const String &comment);
00138 
00142       virtual void setGenre(const String &genre);
00143 
00147       virtual void setYear(unsigned int year);
00148 
00152       virtual void setTrack(unsigned int track);
00153 
00164       void setTrackerName(const String &trackerName);
00165 
00170       PropertyMap properties() const;
00171 
00180       PropertyMap setProperties(const PropertyMap &);
00181 
00182     private:
00183       Tag(const Tag &);
00184       Tag &operator=(const Tag &);
00185 
00186       class TagPrivate;
00187       TagPrivate *d;
00188     };
00189 
00190   }
00191 
00192 }
00193 
00194 #endif