Run callback in IDropAction, refactor function arguments
[oweals/minetest.git] / src / script / scripting_mainmenu.h
index 7b3a6eba87d45192966c65cff1912923b45afc46..9e23bdc1b39ceb2652264819bf46e51f8e6b4131 100644 (file)
@@ -17,13 +17,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef SCRIPTING_MAINMENU_H_
-#define SCRIPTING_MAINMENU_H_
+#pragma once
 
 #include "cpp_api/s_base.h"
 #include "cpp_api/s_mainmenu.h"
 #include "cpp_api/s_async.h"
-#include "util/basic_macros.h"
 
 /*****************************************************************************/
 /* Scripting <-> Main Menu Interface                                         */
@@ -47,8 +45,4 @@ private:
        static void registerLuaClasses(lua_State *L, int top);
 
        AsyncEngine asyncEngine;
-       DISABLE_CLASS_COPY(MainMenuScripting);
 };
-
-
-#endif /* SCRIPTING_MAINMENU_H_ */