X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Futils_videotl.h;h=7315a7254056787c496fc9e980555148f7239323;hb=26decc032c1415fcf631dd7662f22024b4c9a8cf;hp=d4633be91a112ed3b935d3fd0efa4e76d1351c68;hpb=0c3e840700a915fc1476cef73c591048f688f81e;p=ardour.git diff --git a/gtk2_ardour/utils_videotl.h b/gtk2_ardour/utils_videotl.h index d4633be91a..7315a72540 100644 --- a/gtk2_ardour/utils_videotl.h +++ b/gtk2_ardour/utils_videotl.h @@ -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 */ @@ -28,11 +27,16 @@ #include #include +#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 { + +extern unsigned int harvid_version; + +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 +45,8 @@ std::string get_file_extension (const std::string infile); void ParseCSV(const std::string &csv, std::vector > &lines); std::string video_map_path (std::string server_docroot, std::string filepath); void video_draw_cross (Glib::RefPtr 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 +56,6 @@ bool video_query_info ( double &video_start_offset, double &video_aspect_ratio ); +}; #endif /* __gtk_ardour_video_utils_h__ */ - -#endif /* WITH_VIDEOTIMELINE */