1 /* Copyright (C) 2014 Boren Zhang <bobo1993324@gmail.com>
2    Copyright (C) 2006 - 2014 Jan Kundrát <jkt@flaska.net>
3 
4    This file is part of the Trojita Qt IMAP e-mail client,
5    http://trojita.flaska.net/
6 
7    This program is free software; you can redistribute it and/or
8    modify it under the terms of the GNU General Public License as
9    published by the Free Software Foundation; either version 2 of
10    the License or (at your option) version 3 or any later version
11    accepted by the membership of KDE e.V. (or its successor approved
12    by the membership of KDE e.V.), which shall act as a proxy
13    defined in Section 14 of version 3 of the license.
14 
15    This program is distributed in the hope that it will be useful,
16    but WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18    GNU General Public License for more details.
19 
20    You should have received a copy of the GNU General Public License
21    along with this program.  If not, see <http://www.gnu.org/licenses/>.
22 */
23 
24 #include "Gui/PartWalker.h"
25 #include "UiUtils/PartWalker_impl.h"
26 
27 namespace UiUtils {
28 
29 template Gui::PartWidgetFactory::PartWalker(Imap::Network::MsgPartNetAccessManager *manager, Gui::MessageView *context,
30 std::unique_ptr<UiUtils::PartVisitor<QWidget *, Gui::MessageView *>> visitor);
31 template QWidget *Gui::PartWidgetFactory::walk(const QModelIndex &partIndex, int recursionDepth, const PartLoadingOptions loadingMode);
32 template Gui::MessageView *Gui::PartWidgetFactory::context() const;
33 template void Gui::PartWidgetFactory::setNetworkWatcher(Imap::Mailbox::NetworkWatcher *netWatcher);
34 
35 }
36