diff options
Diffstat (limited to 'lang/cpp/src/gpgsignkeyeditinteractor.h')
-rw-r--r-- | lang/cpp/src/gpgsignkeyeditinteractor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/cpp/src/gpgsignkeyeditinteractor.h b/lang/cpp/src/gpgsignkeyeditinteractor.h index 34b1f064..bb5320a2 100644 --- a/lang/cpp/src/gpgsignkeyeditinteractor.h +++ b/lang/cpp/src/gpgsignkeyeditinteractor.h @@ -52,6 +52,11 @@ public: void setUserIDsToSign(const std::vector<unsigned int> &userIDsToSign); void setSigningOptions(int options); + /* Set this if it is ok to overwrite an existing signature. In that + * case the context has to have the flag "extended-edit" set to 1 through + * Context::setFlag before calling edit.*/ + void setDupeOk(bool value); + private: const char *action(Error &err) const override; unsigned int nextState(unsigned int statusCode, const char *args, Error &err) const override; |