File indexing completed on 2024-06-23 05:14:13
0001 /* -*- mode: c++; c-basic-offset:4 -*- 0002 uiserver/encryptcommand.h 0003 0004 This file is part of Kleopatra, the KDE keymanager 0005 SPDX-FileCopyrightText: 2007 Klarälvdalens Datakonsult AB 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #pragma once 0011 0012 #include "assuancommand.h" 0013 0014 #include <utils/pimpl_ptr.h> 0015 0016 namespace Kleo 0017 { 0018 0019 class EncryptCommand : public Kleo::AssuanCommandMixin<EncryptCommand> 0020 { 0021 public: 0022 EncryptCommand(); 0023 ~EncryptCommand() override; 0024 0025 private: 0026 int doStart() override; 0027 void doCanceled() override; 0028 0029 public: 0030 static const char *staticName() 0031 { 0032 return "ENCRYPT"; 0033 } 0034 0035 class Private; 0036 0037 private: 0038 kdtools::pimpl_ptr<Private> d; 0039 }; 0040 0041 }