summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2021-09-14 00:54:50 +0530
committerTor Lillqvist <tml@iki.fi>2021-10-21 12:28:13 +0300
commitf02a0a1447cacc9214f91d2b8341796b44ed2733 (patch)
tree23c5b28880ae1e7f097645385c313561e8ae204a /common
parentDon't show 'reconnecting' on idle (diff)
downloadonline-f02a0a1447cacc9214f91d2b8341796b44ed2733.tar.gz
online-f02a0a1447cacc9214f91d2b8341796b44ed2733.zip
freemium: renamed Freemium namespace to CommandControl
also renamed freemium files accordingly Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: Id33b8a1d1a2a8725bfa6e7b7c562430ea126993c
Diffstat (limited to 'common')
-rw-r--r--common/CommandControl.cpp (renamed from common/Freemium.cpp)6
-rw-r--r--common/CommandControl.hpp (renamed from common/Freemium.hpp)4
2 files changed, 5 insertions, 5 deletions
diff --git a/common/Freemium.cpp b/common/CommandControl.cpp
index c49e933020..01ac72fef9 100644
--- a/common/Freemium.cpp
+++ b/common/CommandControl.cpp
@@ -10,9 +10,9 @@
#include <vector>
#include "ConfigUtil.hpp"
#include "Util.hpp"
-#include "Freemium.hpp"
+#include "CommandControl.hpp"
-namespace Freemium
+namespace CommandControl
{
bool FreemiumManager::_isFreemiumUser = false;
@@ -58,6 +58,6 @@ const std::string FreemiumManager::getFreemiumDenyListString()
return FreemiumDenyListString;
}
-} // namespace Freemium
+} // namespace CommandControl
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/common/Freemium.hpp b/common/CommandControl.hpp
index 606bd5e7b9..47945ee7b2 100644
--- a/common/Freemium.hpp
+++ b/common/CommandControl.hpp
@@ -11,7 +11,7 @@
#include <vector>
#include "ConfigUtil.hpp"
-namespace Freemium
+namespace CommandControl
{
class FreemiumManager
{
@@ -38,6 +38,6 @@ public:
static std::string getImpressHighlights() { return config::getString("freemium.impress_subscription_highlights", ""); }
static std::string getDrawHighlights() { return config::getString("freemium.draw_subscription_highlights", ""); }
};
-} // namespace Freemium
+} // namespace CommandControl
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */