aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/utils/CommonUtils.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-02-28 16:32:43 +0000
committersaturneric <[email protected]>2024-02-28 16:32:43 +0000
commit12d70e1792a5b1ff08d4b58fb49fb9e58d6551a8 (patch)
tree1b747d6a3a034814104df6f531077de9c03ecd53 /src/core/utils/CommonUtils.h
parentfeat: add user agent header when doing http request (diff)
downloadGpgFrontend-12d70e1792a5b1ff08d4b58fb49fb9e58d6551a8.tar.gz
GpgFrontend-12d70e1792a5b1ff08d4b58fb49fb9e58d6551a8.zip
feat: upgrade module system
1. load module and resolve symbols at runtime 2. restrict sdk functions and structures to c style 3. add some core api to support it
Diffstat (limited to 'src/core/utils/CommonUtils.h')
-rw-r--r--src/core/utils/CommonUtils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/utils/CommonUtils.h b/src/core/utils/CommonUtils.h
index a45c6056..d348cc71 100644
--- a/src/core/utils/CommonUtils.h
+++ b/src/core/utils/CommonUtils.h
@@ -51,4 +51,11 @@ auto GPGFRONTEND_CORE_EXPORT BeautifyFingerprint(QString fingerprint)
auto GPGFRONTEND_CORE_EXPORT CompareSoftwareVersion(const QString& a,
const QString& b) -> int;
+/**
+ * @brief
+ *
+ * @return char*
+ */
+auto GPGFRONTEND_CORE_EXPORT GFStrDup(const QString&) -> char*;
+
} // namespace GpgFrontend \ No newline at end of file