Minor changes here and there.
[aesalon.git] / include / util / PathSanitizer.h
blob2075b8ef4a9304f5d634a2690c021c82c29311fe
1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file include/util/PathSanitizer.h
8 */
10 #ifndef AesalonUtil_PathSanitizer_H
11 #define AesalonUtil_PathSanitizer_H
13 #include <string>
14 #include <vector>
16 namespace Util {
18 class PathSanitizer {
19 public:
20 static std::string sanitize(const std::string &filename);
21 static std::string sanitize(const std::string &filename, const std::vector<std::string> &pathList);
22 private:
23 static std::string makeReal(const std::string &path);
26 } // namespace Util
28 #endif