]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/guiEngine.h
make formspec textarea wordwrap
[dragonfireclient.git] / src / guiEngine.h
index 4844593954c98fcf679cc12ed48049eac8b83c4e..6b128154676117ba9e6eb22921436ff07f8e8424 100644 (file)
@@ -166,6 +166,9 @@ class GUIEngine {
                return m_scriptdir;
        }
 
+       /** pass async callback to scriptengine **/
+       unsigned int DoAsync(std::string serialized_fct,std::string serialized_params);
+
 private:
 
        /** find and run the main menu script */
@@ -244,7 +247,7 @@ class GUIEngine {
         * @param url url to download
         * @param target file to store to
         */
-       bool downloadFile(std::string url,std::string target);
+       static bool downloadFile(std::string url,std::string target);
 
        /** array containing pointers to current specified texture layers */
        video::ITexture*                m_textures[TEX_LAYER_MAX];