]> git.tdb.fi Git - libs/core.git/blobdiff - source/dir.h
Style update: spaces around assignments
[libs/core.git] / source / dir.h
index 3b68463ec36f37f5944ff63a65d54191b18d915f..53228ccd760ce233d235fbef7b13b4b965c5c28b 100644 (file)
@@ -10,12 +10,11 @@ Distributed under the LGPL
 
 #include <list>
 #include <string>
+#include "path.h"
 
 namespace Msp {
 namespace FS {
 
-class Path;
-
 /// Creates a directory
 void mkdir(const Path &path, int mode);
 
@@ -43,6 +42,15 @@ Path get_home_dir();
 /// Returns a directory suitable for storing user-specific data
 Path get_user_data_dir(const std::string &appname);
 
+/// Returns a directory containing system-wide configuration
+Path get_sys_conf_dir(const std::string &argv0);
+
+/// Returns a directory containing immutable system-wide data
+Path get_sys_data_dir(const std::string &argv0, const std::string &appname);
+
+/// Returns a directory containing system-wide architecture-specific files
+Path get_sys_lib_dir(const std::string &argv0, const std::string &appname);
+
 /// Changes the current working directory
 void chdir(const Path &);