]> git.tdb.fi Git - libs/core.git/blobdiff - source/dir.h
Make Path behave more consistently by always starting relative paths with a dot
[libs/core.git] / source / dir.h
index 30ef33dbeed4120747759f23cc71882e47bf5459..ebbe56c553a5e8cd207f18240e3a0bf474e4e684 100644 (file)
@@ -43,10 +43,10 @@ Path get_home_dir();
 Path get_user_data_dir(const std::string &appname);
 
 /// Returns a directory containing system-wide configuration
-Path get_sys_conf_dir(const Path &argv0);
+Path get_sys_conf_dir(const std::string &argv0);
 
 /// Returns a directory containing immutable system-wide data
-Path get_sys_data_dir(const Path &argv0, const std::string &appname);
+Path get_sys_data_dir(const std::string &argv0, const std::string &appname);
 
 /// Changes the current working directory
 void chdir(const Path &);