14 #ifndef USMODULESETTINGS_H
15 #define USMODULESETTINGS_H
#define MITKCPPMICROSERVICES_EXPORT
Query and set certain properties of the CppMicroServices library.
static bool IsThreadingSupportEnabled()
static void SetStoragePath(const std::string &path)
Set a local storage path for persistend module data.
static bool IsAutoLoadingEnabled()
static void AddAutoLoadPath(const std::string &path)
Add a path in the file-system to the list of paths from which modules will be auto-loaded.
static std::string CURRENT_MODULE_PATH()
Returns a special string which can be used as an argument for a AddAutoLoadPath() call.
static PathList GetAutoLoadPaths()
static std::string GetStoragePath()
Get the absolute path for persistent data. The returned path might be empty. If the path is non-empty...
static void SetAutoLoadPaths(const PathList &paths)
Set a list of paths in the file-system from which modules should be auto-loaded.
std::vector< std::string > PathList
A list of file-system paths.
static void SetAutoLoadingEnabled(bool enable)
Enable or disable auto-loading support.