- 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);