Debian Codegraph @

src/core/capabilities/WriteLabelCapability.h

raw
1 /****************************************************************************************
2 * Copyright (C) 2009 Dan Meltzer <[email protected]> *
3 * *
4 * This program is free software; you can redistribute it and/or modify it under *
5 * the terms of the GNU General Public License as published by the Free Software *
6 * Foundation; either version 2 of the License, or (at your option) any later *
7 * version. *
8 * *
9 * This program is distributed in the hope that it will be useful, but WITHOUT ANY *
10 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A *
11 * PARTICULAR PURPOSE. See the GNU General Public License for more details. *
12 * *
13 * You should have received a copy of the GNU General Public License along with *
14 * this program. If not, see <http://www.gnu.org/licenses/>. *
15 ****************************************************************************************/
16
17 #ifndef WRITELABELCAPABILITY_H
18 #define WRITELABELCAPABILITY_H
19
20 #include "core/amarokcore_export.h"
21 #include "core/capabilities/Capability.h"
22 #include "core/meta/forward_declarations.h"
23
24 namespace Capabilities
25 {
26
27 class AMAROKCORE_EXPORT WriteLabelCapability : public Capabilities::Capability
28 {
29 Q_OBJECT
30 public:
31 static Type capabilityInterfaceType() { return Capabilities::Capability::WriteLabel; }
32
33 //Implementors
34 virtual void setLabels( const QStringList &removedLabels, const QStringList &labels ) = 0;
35
36 };
37
38 }
39 #endif // READLABELCAPABILITY_H