aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cpp/src/data.h')
-rw-r--r--lang/cpp/src/data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/cpp/src/data.h b/lang/cpp/src/data.h
index ea394804..178bc309 100644
--- a/lang/cpp/src/data.h
+++ b/lang/cpp/src/data.h
@@ -27,6 +27,7 @@
#include "key.h"
#include <sys/types.h> // for size_t, off_t
+#include <cstdint> // unit64_t
#include <cstdio> // FILE
#include <algorithm>
#include <memory>
@@ -125,6 +126,9 @@ public:
/** See gpgme_data_set_flag */
Error setFlag(const char *name, const char *value);
+ /** Set a size hint for this data e.g. for progress calculations. */
+ Error setSizeHint(uint64_t size);
+
class Private;
Private *impl()
{