KFileMetaData

taglibwriter.h
1 /*
2  * Copyright (C) 2016 Varun Joshi <[email protected]>
3  * Copyright (C) 2018 Alexander Stippich <[email protected]>
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 library 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 GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  *
19  */
20 
21 #ifndef TAGLIBWRITER_H
22 #define TAGLIBWRITER_H
23 
24 #include "writerplugin.h"
25 
26 namespace KFileMetaData
27 {
28 
29 class TagLibWriter : public WriterPlugin
30 {
31  Q_OBJECT
32  Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.WriterPlugin")
33  Q_INTERFACES(KFileMetaData::WriterPlugin)
34 
35 public:
36  explicit TagLibWriter(QObject* parent = nullptr);
37 
38  void write(const WriteData& data) override;
39  QStringList writeMimetypes() const override;
40 };
41 
42 }
43 
44 #endif // TAGLIBWRITER_H
45 
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jun 5 2020 22:55:38 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.