keylistresult.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __GPGMEPP_KEYLISTRESULT_H__
00022 #define __GPGMEPP_KEYLISTRESULT_H__
00023
00024 #include <gpgmepp/gpgmefw.h>
00025 #include <gpgmepp/result.h>
00026
00027 namespace GpgME {
00028
00029 class Context;
00030 class Error;
00031
00032 class KeyListResult : public Result {
00033 public:
00034 KeyListResult( gpgme_ctx_t ctx=0, int error=0 );
00035 explicit KeyListResult( const Error & err );
00036 KeyListResult( const Error & err, const _gpgme_op_keylist_result & res );
00037 KeyListResult( const KeyListResult & other );
00038 ~KeyListResult();
00039
00040 const KeyListResult & operator=( const KeyListResult & other );
00041
00042 const KeyListResult & operator+=( const KeyListResult & other ) {
00043 mergeWith( other );
00044 return *this;
00045 }
00046
00047 void mergeWith( const KeyListResult & other );
00048
00049 bool isNull() const;
00050
00051 bool isTruncated() const;
00052
00053 private:
00054 void detach();
00055 class Private;
00056 Private * d;
00057 };
00058
00059 }
00060
00061 #endif
This file is part of the documentation for libkdenetwork Library Version 3.3.0.