aboutsummaryrefslogtreecommitdiff
path: root/builtin/common/serialize.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/common/serialize.lua')
0 files changed, 0 insertions, 0 deletions
ithout even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once #include "cpp_api/s_base.h" #include "cpp_api/s_mainmenu.h" #include "cpp_api/s_async.h" /*****************************************************************************/ /* Scripting <-> Main Menu Interface */ /*****************************************************************************/ class MainMenuScripting : virtual public ScriptApiBase, public ScriptApiMainMenu { public: MainMenuScripting(GUIEngine* guiengine); // Global step handler to pass back async events void step(); // Pass async events from engine to async threads unsigned int queueAsync(const std::string &serialized_func, const std::string &serialized_params); private: void initializeModApi(lua_State *L, int top); static void registerLuaClasses(lua_State *L, int top); AsyncEngine asyncEngine; };