add paths getter for linux

This commit is contained in:
Benjamin Reis 2017-10-19 16:59:20 +02:00
parent 4e3c5d9548
commit 49540f6b6f

View file

@ -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<std::string>();
return dataPath;
}
std::string SysPaths::getConfigPath (PlatformHelpers *platformHelper) {
//TODO.
return Utils::getEmptyConstRefObject<std::string>();
return configPath;
}
LINPHONE_END_NAMESPACE