X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fardour.h;h=c86c59eb0305fc0186594de4fba8bc419a26d83d;hb=b45a3c816484346f44cd65341fade0850670c2bb;hp=9b1351a3fce114bf5d0a7f0209ac5b7fe31869c1;hpb=7000afdc66c9e0ae8dcf9ec080517dabba1e7f34;p=ardour.git diff --git a/libs/ardour/ardour/ardour.h b/libs/ardour/ardour/ardour.h index 9b1351a3fc..c86c59eb03 100644 --- a/libs/ardour/ardour/ardour.h +++ b/libs/ardour/ardour/ardour.h @@ -38,8 +38,6 @@ #include "ardour/types.h" #include "ardour/libardour_visibility.h" -#include - namespace MIDI { class MachineControl; class Port; @@ -50,7 +48,11 @@ namespace ARDOUR { class AudioEngine; extern LIBARDOUR_API PBD::Signal1 BootMessage; + 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::map 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__ */