aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/struct/GpgOperaResultContext.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-01-27 22:12:00 +0000
committersaturneric <[email protected]>2025-01-27 22:12:00 +0000
commita66d868f500c0bd94fe9783172ac3d17b1dbb6f5 (patch)
tree3c2c07e0ec717fac5beec08d9678bd311a84e134 /src/ui/struct/GpgOperaResultContext.h
parentrefactor: reduce code duplication of gnupg file operations (diff)
downloadGpgFrontend-a66d868f500c0bd94fe9783172ac3d17b1dbb6f5.tar.gz
GpgFrontend-a66d868f500c0bd94fe9783172ac3d17b1dbb6f5.zip
refactor: reduce code duplication of gnupg operations
Diffstat (limited to 'src/ui/struct/GpgOperaResultContext.h')
-rw-r--r--src/ui/struct/GpgOperaResultContext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/struct/GpgOperaResultContext.h b/src/ui/struct/GpgOperaResultContext.h
index 526c1ef7..47333b73 100644
--- a/src/ui/struct/GpgOperaResultContext.h
+++ b/src/ui/struct/GpgOperaResultContext.h
@@ -36,6 +36,7 @@ namespace GpgFrontend::UI {
struct GpgOperaCategory {
QStringList paths;
QStringList o_paths;
+ QContainer<GFBuffer> buffers;
};
struct GpgOperaContext;
@@ -54,6 +55,8 @@ struct GpgOperaContextBasement {
auto GetContextOutPath(int category) -> QStringList&;
+ auto GetContextBuffer(int category) -> QContainer<GFBuffer>&;
+
auto GetAllPath() -> QStringList;
auto GetAllOutPath() -> QStringList;
@@ -64,6 +67,7 @@ struct GpgOperaContext {
QStringList paths;
QStringList o_paths;
+ QContainer<GFBuffer> buffers;
explicit GpgOperaContext(QSharedPointer<GpgOperaContextBasement> base);
};