diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-03-11 10:30:42 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-03-11 10:39:15 -0500 |
commit | 1644fc1068a5c28b78ba70078de3b9b5c7570f72 (patch) | |
tree | 0b1198dfe3f95a691348e7b40fcfabdde5cc4ec6 /libs/ardour/ardour/filesystem_paths.h | |
parent | 99260742d24001976a476959f725a461110a7575 (diff) |
hide user_config_dir_name; alter API for user_config_dir() to allow specification of a version number
Diffstat (limited to 'libs/ardour/ardour/filesystem_paths.h')
-rw-r--r-- | libs/ardour/ardour/filesystem_paths.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libs/ardour/ardour/filesystem_paths.h b/libs/ardour/ardour/filesystem_paths.h index a6ca2d1c77..82b84f5424 100644 --- a/libs/ardour/ardour/filesystem_paths.h +++ b/libs/ardour/ardour/filesystem_paths.h @@ -27,11 +27,16 @@ namespace ARDOUR { /** - * @return the path to the directory used to store user specific ardour - * configuration files. + * @return the path to the directory used to store user specific + * configuration files for the given @param version of the program. + * If @param version is negative, the build-time string PROGRAM_VERSION + * will be used to determine the version number. + * * @post user_config_directory() exists + * + * */ - LIBARDOUR_API std::string user_config_directory (); + LIBARDOUR_API std::string user_config_directory (int version = -1); /** * @return the path to the directory used to store user specific |