X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fardour.h;h=79b69124ac2a39a127359808e25cf5dcd5c58c4f;hb=7c2302651559eda71833c291ddc17f4d590ad95a;hp=5e747f5665db322e7f7dc8a0ec6f3e3c63b1e99b;hpb=10a4b2d3eda15101d527249ad799c93bb1097d52;p=ardour.git diff --git a/libs/ardour/ardour/ardour.h b/libs/ardour/ardour/ardour.h index 5e747f5665..79b69124ac 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::vector reserved_io_names; /** * @param with_vst true to enable VST Support @@ -68,9 +70,7 @@ namespace ARDOUR { 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__ */