summaryrefslogtreecommitdiff
path: root/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.cpp')
-rw-r--r--src/utils.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index 170f6b1..5ece8cb 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -47,6 +47,7 @@ struct Global {
std::string createdUID;
std::string productId;
std::string xKolabVersion;
+ std::string xCalVersion;
ErrorSeverity errorBit;
std::string errorMessage;
@@ -80,6 +81,16 @@ std::string kolabVersion()
return ThreadLocal::inst().xKolabVersion;
}
+void setXCalVersion(const std::string &s)
+{
+ ThreadLocal::inst().xCalVersion = s;
+}
+
+std::string xCalVersion()
+{
+ return ThreadLocal::inst().xCalVersion;
+}
+
void setProductId(const std::string &s)
{
ThreadLocal::inst().productId = s;