fix incorrect restoration of pane positions on Apple.
[ardour.git] / gtk2_ardour / luainstance.cc
index eb755c2087014f9886b9b26bddf560094f580d2b..fe91bb95620e2ab8ff99722396c8106f5447cccd 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "LuaBridge/LuaBridge.h"
 
+#include "ardour_http.h"
 #include "ardour_ui.h"
 #include "public_editor.h"
 #include "region_selection.h"
@@ -39,8 +40,9 @@
 #include "time_axis_view.h"
 #include "selection.h"
 #include "script_selector.h"
+#include "utils_videotl.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 namespace LuaCairo {
 /** wrap RefPtr< Cairo::ImageSurface >
@@ -345,6 +347,7 @@ const char *luasignalstr[] = {
 #undef ENGINE
 }; // namespace
 
+
 ////////////////////////////////////////////////////////////////////////////////
 
 #define xstr(s) stringify(s)
@@ -537,6 +540,8 @@ LuaInstance::register_classes (lua_State* L)
        luabridge::getGlobalNamespace (L)
                .beginNamespace ("ArdourUI")
 
+               .addFunction ("http_get", (std::string (*)(const std::string&))&ArdourCurl::http_get)
+
                .beginStdList <ArdourMarker*> ("ArdourMarkerList")
                .endClass ()