Blame lang/cpp/src/gpgsetownertrusteditinteractor.h

Packit Service 672cf4
/*
Packit Service 672cf4
  gpgsetownertrusteditinteractor.h - Edit Interactor to change the owner trust of an OpenPGP key
Packit Service 672cf4
  Copyright (C) 2007 Klarälvdalens Datakonsult AB
Packit Service 672cf4
  2016 Bundesamt für Sicherheit in der Informationstechnik
Packit Service 672cf4
  Software engineering by Intevation GmbH
Packit Service 672cf4
Packit Service 672cf4
  This file is part of GPGME++.
Packit Service 672cf4
Packit Service 672cf4
  GPGME++ is free software; you can redistribute it and/or
Packit Service 672cf4
  modify it under the terms of the GNU Library General Public
Packit Service 672cf4
  License as published by the Free Software Foundation; either
Packit Service 672cf4
  version 2 of the License, or (at your option) any later version.
Packit Service 672cf4
Packit Service 672cf4
  GPGME++ is distributed in the hope that it will be useful,
Packit Service 672cf4
  but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 672cf4
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 672cf4
  GNU Library General Public License for more details.
Packit Service 672cf4
Packit Service 672cf4
  You should have received a copy of the GNU Library General Public License
Packit Service 672cf4
  along with GPGME++; see the file COPYING.LIB.  If not, write to the
Packit Service 672cf4
  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Packit Service 672cf4
  Boston, MA 02110-1301, USA.
Packit Service 672cf4
*/
Packit Service 672cf4
Packit Service 672cf4
#ifndef __GPGMEPP_GPGSETOWNERTRUSTEDITINTERACTOR_H__
Packit Service 672cf4
#define __GPGMEPP_GPGSETOWNERTRUSTEDITINTERACTOR_H__
Packit Service 672cf4
Packit Service 672cf4
#include <editinteractor.h>
Packit Service 672cf4
#include <key.h>
Packit Service 672cf4
Packit Service 672cf4
#include <string>
Packit Service 672cf4
Packit Service 672cf4
namespace GpgME
Packit Service 672cf4
{
Packit Service 672cf4
Packit Service 672cf4
class GPGMEPP_EXPORT GpgSetOwnerTrustEditInteractor : public EditInteractor
Packit Service 672cf4
{
Packit Service 672cf4
public:
Packit Service 672cf4
    explicit GpgSetOwnerTrustEditInteractor(Key::OwnerTrust ownertrust);
Packit Service 672cf4
    ~GpgSetOwnerTrustEditInteractor();
Packit Service 672cf4
Packit Service 672cf4
private:
Packit Service 6c01f9
    /* reimp */ const char *action(Error &err) const;
Packit Service 6c01f9
    /* reimp */ unsigned int nextState(unsigned int statusCode, const char *args, Error &err) const;
Packit Service 672cf4
Packit Service 672cf4
private:
Packit Service 672cf4
    const Key::OwnerTrust m_ownertrust;
Packit Service 672cf4
};
Packit Service 672cf4
Packit Service 672cf4
} // namespace GpgME
Packit Service 672cf4
Packit Service 672cf4
#endif // __GPGMEPP_GPGSETOWNERTRUSTEDITINTERACTOR_H__