From 49540f6b6f5ab4553f52cae7bb998ebc167baecc Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Thu, 19 Oct 2017 16:59:20 +0200 Subject: [PATCH] add paths getter for linux --- src/core/paths/paths-linux.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/core/paths/paths-linux.cpp b/src/core/paths/paths-linux.cpp index 7dd122b18..06cdab9fb 100644 --- a/src/core/paths/paths-linux.cpp +++ b/src/core/paths/paths-linux.cpp @@ -26,14 +26,15 @@ LINPHONE_BEGIN_NAMESPACE +static std::string dataPath = "~/.local/share/linphone"; +static std::string configPath = "~/.config/linphone"; + std::string SysPaths::getDataPath (PlatformHelpers *platformHelper) { - //TODO. - return Utils::getEmptyConstRefObject(); + return dataPath; } std::string SysPaths::getConfigPath (PlatformHelpers *platformHelper) { - //TODO. - return Utils::getEmptyConstRefObject(); + return configPath; } LINPHONE_END_NAMESPACE