30 #ifndef __TERRALIB_CORE_UTILS_PLATFORM_H__
31 #define __TERRALIB_CORE_UTILS_PLATFORM_H__
34 #include "../Config.h"
TECOREEXPORT std::string GetAppDataLocation()
It returns the writable folder location to store application data applied to all users.
TECOREEXPORT std::string GetAppLocalDataLocation()
It returns the writable folder location to store per user data.
TECOREEXPORT bool SetEnv(const std::string &key, const std::string &value)
Sets the given key/value to the session environment variables.
TECOREEXPORT std::string FindInTerraLibPath(const std::string &path)
Returns the path relative to a directory or file in the context of TerraLib.
TECOREEXPORT std::string GetEnv(const std::string &key)
Gets the value of the given key in the session environment variables.
TECOREEXPORT std::string GetUserDirectory()
Returns the system user home dir path.