![]() |
VLC-Qt 0.8.0- (Different version)
|
00001 /**************************************************************************** 00002 * VLC-Qt - Qt and libvlc connector library 00003 * Copyright (C) 2012 Tadej Novak <tadej@tano.si> 00004 * 00005 * This library is free software: you can redistribute it and/or modify 00006 * it under the terms of the GNU Lesser General Public License as published 00007 * by the Free Software Foundation, either version 3 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public License 00016 * along with this library. If not, see <http://www.gnu.org/licenses/>. 00017 *****************************************************************************/ 00018 00019 #ifndef VLCQT_METAMANAGER_H_ 00020 #define VLCQT_METAMANAGER_H_ 00021 00022 #include <QtCore/QDate> 00023 #include <QtCore/QString> 00024 00025 #include "SharedExportCore.h" 00026 00027 class VlcMedia; 00028 00035 class VLCQT_CORE_EXPORT VlcMetaManager 00036 { 00037 public: 00045 explicit VlcMetaManager(VlcMedia *media); 00046 00050 ~VlcMetaManager(); 00051 00052 00057 QString title() const; 00058 00063 void setTitle(const QString &title); 00064 00069 QString artist() const; 00070 00075 void setArtist(const QString &artist); 00076 00081 QString genre() const; 00082 00087 void setGenre(const QString &genre); 00088 00093 QString copyright() const; 00094 00099 void setCopyright(const QString ©right); 00100 00105 QString album() const; 00106 00111 void setAlbum(const QString &album); 00112 00117 int number() const; 00118 00123 void setNumber(const int &number); 00124 00129 QString description() const; 00130 00135 void setDescription(const QString &description); 00136 00141 QString rating() const; 00142 00147 int year() const; 00148 00153 void setYear(const int &year); 00154 00159 QString setting() const; 00160 00165 QString url() const; 00166 00171 QString language() const; 00172 00177 void setLanguage(const QString &language); 00178 00183 QString publisher() const; 00184 00189 void setPublisher(const QString &publisher); 00190 00195 QString encoder() const; 00196 00201 void setEncoder(const QString &encoder); 00202 00207 QString artwork() const; 00208 00213 QString id() const; 00214 00219 bool saveMeta() const; 00220 00221 private: 00222 VlcMedia *_media; 00223 }; 00224 00225 #endif // VLCQT_METAMANAGER_H_