more infrastructure for copying old configuration files
[ardour.git] / libs / ardour / ardour / ardour.h
index 90a6272fac8e28855b982350b338f5e9a0ace8ad..05f3ca5168f6706fe2737d4aec4d1b2cbf544c05 100644 (file)
@@ -38,8 +38,6 @@
 #include "ardour/types.h"
 #include "ardour/libardour_visibility.h"
 
-#include <jack/jack.h>
-
 namespace MIDI {
        class MachineControl;
        class Port;
@@ -49,8 +47,11 @@ namespace ARDOUR {
 
        class AudioEngine;
 
-       LIBARDOUR_API extern PBD::Signal1<void,std::string> BootMessage;
-       LIBARDOUR_API extern PBD::Signal0<void> GUIIdle;
+       extern LIBARDOUR_API PBD::Signal1<void,std::string> BootMessage;
+       extern LIBARDOUR_API PBD::Signal3<void,std::string,std::string,bool> PluginScanMessage;
+       extern LIBARDOUR_API PBD::Signal1<void,int> PluginScanTimeout;
+       extern LIBARDOUR_API PBD::Signal0<void> GUIIdle;
+       extern LIBARDOUR_API PBD::Signal3<void,std::string,std::string,int> CopyConfigurationFiles;
 
        /**
         * @param with_vst true to enable VST Support
@@ -66,9 +67,9 @@ namespace ARDOUR {
        LIBARDOUR_API bool no_auto_connect ();
        LIBARDOUR_API void make_property_quarks ();
 
-       LIBARDOUR_API extern PBD::PropertyChange bounds_change;
-
-       LIBARDOUR_API extern const char* const ardour_config_info;
+       extern LIBARDOUR_API PBD::PropertyChange bounds_change;
+       
+       extern LIBARDOUR_API const char* const ardour_config_info;
 
        LIBARDOUR_API void find_bindings_files (std::map<std::string,std::string>&);
 
@@ -81,6 +82,8 @@ 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);
 }
 
 #endif /* __ardour_ardour_h__ */