Run callback in IDropAction, refactor function arguments
[oweals/minetest.git] / src / script / scripting_mainmenu.h
index 8e251af03b9bace5603882a1536a3c497f3f841d..9e23bdc1b39ceb2652264819bf46e51f8e6b4131 100644 (file)
@@ -17,8 +17,7 @@ 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"
@@ -47,6 +46,3 @@ private:
 
        AsyncEngine asyncEngine;
 };
-
-
-#endif /* SCRIPTING_MAINMENU_H_ */