French translation update - fixes
[ardour.git] / gtk2_ardour / utils_videotl.h
index d4633be91a112ed3b935d3fd0efa4e76d1351c68..40425fc5e8e6c25e659a337157b7edb2cf2c09ac 100644 (file)
@@ -17,7 +17,6 @@
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 */
-#ifdef WITH_VIDEOTIMELINE
 /** @file utils_videotl.h
  *  @brief common functions used for video-file im/export
  */
 #include <string>
 #include <gtkmm.h>
 
+#include "ardour/rc_configuration.h"
 #include "ardour/types.h"
 #include "ardour/template_utils.h"
 #include "ardour_dialog.h"
 
-bool confirm_video_outfn (std::string, std::string docroot="");
+namespace VideoUtils {
+
+bool confirm_video_outfn (Gtk::Window& parent, std::string, std::string docroot="");
 std::string video_dest_dir (const std::string, const std::string);
 std::string video_dest_file (const std::string, const std::string);
 std::string strip_file_extension (const std::string infile);
@@ -41,6 +43,8 @@ std::string get_file_extension (const std::string infile);
 void ParseCSV(const std::string &csv, std::vector<std::vector<std::string> > &lines);
 std::string video_map_path (std::string server_docroot, std::string filepath);
 void video_draw_cross (Glib::RefPtr<Gdk::Pixbuf> img);
+std::string video_get_server_url (ARDOUR::RCConfiguration* config);
+std::string video_get_docroot (ARDOUR::RCConfiguration* config);
 
 bool video_query_info (
                std::string video_server_url,
@@ -50,7 +54,6 @@ bool video_query_info (
                double &video_start_offset,
                double &video_aspect_ratio
                );
+};
 
 #endif /* __gtk_ardour_video_utils_h__ */
-
-#endif /* WITH_VIDEOTIMELINE */