X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fardour.h;h=79b69124ac2a39a127359808e25cf5dcd5c58c4f;hb=7c2302651559eda71833c291ddc17f4d590ad95a;hp=29cfa4b354665cf46f923f90291df11d0f223926;hpb=8c9749e42faf7808034ed8b7afce4a2fe6dc6f33;p=ardour.git diff --git a/libs/ardour/ardour/ardour.h b/libs/ardour/ardour/ardour.h index 29cfa4b354..79b69124ac 100644 --- a/libs/ardour/ardour/ardour.h +++ b/libs/ardour/ardour/ardour.h @@ -51,6 +51,8 @@ namespace ARDOUR { extern LIBARDOUR_API PBD::Signal3 PluginScanMessage; extern LIBARDOUR_API PBD::Signal1 PluginScanTimeout; extern LIBARDOUR_API PBD::Signal0 GUIIdle; + extern LIBARDOUR_API PBD::Signal3 CopyConfigurationFiles; + extern LIBARDOUR_API std::vector reserved_io_names; /** * @param with_vst true to enable VST Support @@ -67,10 +69,8 @@ namespace ARDOUR { LIBARDOUR_API void make_property_quarks (); extern LIBARDOUR_API PBD::PropertyChange bounds_change; - - extern LIBARDOUR_API const char* const ardour_config_info; - LIBARDOUR_API void find_bindings_files (std::map&); + extern LIBARDOUR_API const char* const ardour_config_info; /* these only impact bundled installations */ LIBARDOUR_API std::string translation_enable_path (); @@ -81,6 +81,14 @@ namespace ARDOUR { LIBARDOUR_API void setup_fpu (); LIBARDOUR_API std::vector get_available_sync_options(); + + /* 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 void check_for_old_configuration_files (); + LIBARDOUR_API int handle_old_configuration_files (boost::function ui_handler); } #endif /* __ardour_ardour_h__ */