summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/ardour.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-03-12 17:44:50 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2015-03-12 17:45:42 -0500
commit9a05a0fbfbc54a68f658b800c10f1a4ebc461f8f (patch)
treee1e15503d5e8184d5c907f77d0c9d7fe3f483968 /libs/ardour/ardour/ardour.h
parentb8e9e17fac0c2ef930dd80dc6e63c5213d00018c (diff)
alter config file copying infrastructure so it can be used at a suitable time in the instance's lifetime
Diffstat (limited to 'libs/ardour/ardour/ardour.h')
-rw-r--r--libs/ardour/ardour/ardour.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/ardour/ardour/ardour.h b/libs/ardour/ardour/ardour.h
index d8cbfbbcc5..3865ce6ece 100644
--- a/libs/ardour/ardour/ardour.h
+++ b/libs/ardour/ardour/ardour.h
@@ -83,7 +83,12 @@ namespace ARDOUR {
LIBARDOUR_API void setup_fpu ();
LIBARDOUR_API std::vector<SyncSource> get_available_sync_options();
- LIBARDOUR_API int copy_configuration_files (std::string const & old_dir, std::string const & new_dir, int old_version);
+ /* the @param ui_handler will be called if there are old configuration
+ * files to be copied. It should (probably) ask the user about the
+ * action, and return true or false depending on whether or not the
+ * copy should take place.
+ */
+ LIBARDOUR_API int check_for_old_configuration_files (boost::function<bool (std::string const&, std::string const&, int)> ui_handler);
}
#endif /* __ardour_ardour_h__ */