X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Futils_videotl.h;h=7f6f6052af0ec9500eb89cea93c5f57bd7adba42;hb=46c158d8c6760fc127a73647bb25f9d5a16926a5;hp=d4633be91a112ed3b935d3fd0efa4e76d1351c68;hpb=0c3e840700a915fc1476cef73c591048f688f81e;p=ardour.git diff --git a/gtk2_ardour/utils_videotl.h b/gtk2_ardour/utils_videotl.h index d4633be91a..7f6f6052af 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,10 +27,13 @@ #include #include +#include "ardour/rc_configuration.h" #include "ardour/types.h" #include "ardour/template_utils.h" #include "ardour_dialog.h" +namespace VideoUtils { + bool confirm_video_outfn (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); @@ -41,6 +43,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 +54,10 @@ bool video_query_info ( double &video_start_offset, double &video_aspect_ratio ); +}; -#endif /* __gtk_ardour_video_utils_h__ */ +extern "C" { + char *a3_curl_http_get (const char *u, int *status); +} -#endif /* WITH_VIDEOTIMELINE */ +#endif /* __gtk_ardour_video_utils_h__ */