aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgContext.h
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2022-05-08 13:14:24 +0000
committerGitHub <[email protected]>2022-05-08 13:14:24 +0000
commitf722eec9a898c97e233619a50f6f1a94fef6f94c (patch)
tree26757206ff3e139a10968bd8ae6147ca1a1182a7 /src/core/GpgContext.h
parentMerge pull request #50 from saturneric/develop-2.0.5 (diff)
parentdoc: update translate document. (diff)
downloadGpgFrontend-f722eec9a898c97e233619a50f6f1a94fef6f94c.tar.gz
GpgFrontend-f722eec9a898c97e233619a50f6f1a94fef6f94c.zip
Merge pull request #54 from saturneric/develop-2.0.6v2.0.6
Develop 2.0.6
Diffstat (limited to 'src/core/GpgContext.h')
-rw-r--r--src/core/GpgContext.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/GpgContext.h b/src/core/GpgContext.h
index 7de6bcad..b148fcb5 100644
--- a/src/core/GpgContext.h
+++ b/src/core/GpgContext.h
@@ -56,7 +56,8 @@ struct GpgContextInitArgs {
* @brief
*
*/
-class GpgContext : public SingletonFunctionObject<GpgContext> {
+class GPGFRONTEND_CORE_EXPORT GpgContext
+ : public SingletonFunctionObject<GpgContext> {
public:
/**
* @brief Construct a new Gpg Context object
@@ -70,8 +71,7 @@ class GpgContext : public SingletonFunctionObject<GpgContext> {
*
* @param channel
*/
- explicit GpgContext(int channel)
- : SingletonFunctionObject<GpgContext>(channel) {}
+ explicit GpgContext(int channel);
/**
* @brief Destroy the Gpg Context object
@@ -161,4 +161,4 @@ class GpgContext : public SingletonFunctionObject<GpgContext> {
};
} // namespace GpgFrontend
-#endif // __SGPGMEPP_CONTEXT_H__
+#endif // __SGPGMEPP_CONTEXT_H__ \ No newline at end of file