File indexing completed on 2024-06-23 05:13:46

0001 // This file is part of Kleopatra, the KDE keymanager
0002 // SPDX-FileCopyrightText: 2023 g10 Code GmbH
0003 // SPDX-FileContributor: Carl Schwan <carl.schwan@gnupg.com>
0004 // SPDX-License-Identifier: GPL-2.0-or-later
0005 
0006 #pragma once
0007 
0008 #include "command.h"
0009 
0010 namespace Kleo
0011 {
0012 namespace Commands
0013 {
0014 
0015 class ViewEmailFilesCommand : public Command
0016 {
0017     Q_OBJECT
0018 public:
0019     ViewEmailFilesCommand(const QStringList &files, KeyListController *parent);
0020     ~ViewEmailFilesCommand() override;
0021 
0022 private:
0023     void doStart() override;
0024     void doCancel() override;
0025 
0026 private:
0027     class Private;
0028     inline Private *d_func();
0029     inline const Private *d_func() const;
0030 };
0031 
0032 } // end namespace Commands
0033 } // end namespace Kleo