File indexing completed on 2024-06-23 05:14:14

0001 /* -*- mode: c++; c-basic-offset:4 -*-
0002     uiserver/verifycommand.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 class VerifyCommand : public AssuanCommandMixin<VerifyCommand, DecryptVerifyCommandEMailBase>
0019 {
0020 public:
0021     // VerifyCommand();
0022     //~VerifyCommand();
0023 
0024 private:
0025     DecryptVerifyOperation operation() const override
0026     {
0027         return Verify;
0028     }
0029     Mode mode() const override
0030     {
0031         return EMail;
0032     }
0033 
0034 public:
0035     static const char *staticName()
0036     {
0037         return "VERIFY";
0038     }
0039 };
0040 
0041 }