From 207ac16731baec44c939d85f25c8965d925d7983 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 31 Mar 2015 11:27:30 -0400 Subject: move "been here before" path concept into libardour, and use it appropriately at startup --- libs/ardour/ardour/filesystem_paths.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libs/ardour/ardour/filesystem_paths.h') diff --git a/libs/ardour/ardour/filesystem_paths.h b/libs/ardour/ardour/filesystem_paths.h index feca4ccb37..afa66453eb 100644 --- a/libs/ardour/ardour/filesystem_paths.h +++ b/libs/ardour/ardour/filesystem_paths.h @@ -45,6 +45,14 @@ namespace ARDOUR { */ LIBARDOUR_API std::string user_cache_directory (); + /** + * @return the path used to store a persistent indication + * that the given version of the program has been used before. + * + * @param version is the version to check for. If unspecified, + * it defaults to the current (build-time) version of the program. + */ + LIBARDOUR_API std::string been_here_before_path (int version = -1); /** * @return the path to the directory that contains the system wide ardour -- cgit v1.2.3