From 2edd0e40cd1afa9a422733b0a3b4babc064041b6 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 17 Feb 2015 00:52:25 +0100 Subject: Improved behaviour of FileLocator: * really complete path, do not return completely new path * return file directly if it already exists * only complete the extension, nothing else * also ignore .backup files created by KDE programs --- src/plugins/filesystem/FileLocator.hpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/plugins/filesystem/FileLocator.hpp') diff --git a/src/plugins/filesystem/FileLocator.hpp b/src/plugins/filesystem/FileLocator.hpp index 14988a8..ad64db8 100644 --- a/src/plugins/filesystem/FileLocator.hpp +++ b/src/plugins/filesystem/FileLocator.hpp @@ -38,11 +38,8 @@ namespace ousia { /** - * @file FileLocator.hpp - * - * This is a FileLocator employing the boost path class for file finding. - * - * @author Benjamin Paassen - bpaassen@techfak.uni-bielefeld.de + * The FileLocator class is an implementation of the abstract ResourceLocator + * interface used to locate resources in the filesystem. */ class FileLocator : public ResourceLocator { public: -- cgit v1.2.3