Changeset View
Changeset View
Standalone View
Standalone View
plugins/messageviewer/bodypartformatter/gnupgwks/plugin.h
- This file was added.
1 | /* | ||||
---|---|---|---|---|---|
2 | Copyright (c) 2016 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.net> | ||||
3 | | ||||
4 | This library is free software; you can redistribute it and/or modify it | ||||
5 | under the terms of the GNU Library General Public License as published by | ||||
6 | the Free Software Foundation; either version 2 of the License, or (at your | ||||
7 | option) any later version. | ||||
8 | | ||||
9 | This library is distributed in the hope that it will be useful, but WITHOUT | ||||
10 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||||
11 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public | ||||
12 | License for more details. | ||||
13 | | ||||
14 | You should have received a copy of the GNU Library General Public License | ||||
15 | along with this library; see the file COPYING.LIB. If not, write to the | ||||
16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||||
17 | 02110-1301, USA. | ||||
18 | */ | ||||
19 | | ||||
20 | #ifndef GNUPGWKSPLUGIN_H | ||||
21 | #define GNUPGWKSPLUGIN_H | ||||
22 | | ||||
23 | #include <MimeTreeParser/BodyPartFormatter> | ||||
24 | | ||||
25 | class ApplicationGnuPGWKSPlugin : public MimeTreeParser::Interface::BodyPartFormatterPlugin | ||||
26 | { | ||||
27 | public: | ||||
28 | ApplicationGnuPGWKSPlugin() = default; | ||||
29 | | ||||
30 | const MimeTreeParser::Interface::BodyPartFormatter *bodyPartFormatter(int idx) const Q_DECL_OVERRIDE; | ||||
31 | const char *subtype(int idx) const Q_DECL_OVERRIDE; | ||||
32 | const char *type(int idx) const Q_DECL_OVERRIDE; | ||||
33 | const MimeTreeParser::Interface::BodyPartURLHandler *urlHandler(int idx) const Q_DECL_OVERRIDE; | ||||
34 | }; | ||||
35 | | ||||
36 | | ||||
37 | #endif |