Libsaki
Core library of Pancake Mahjong
lua_user_error_handler.h
1 #ifndef SAKI_APP_LUA_USER_ERROR_HANDLER_H
2 #define SAKI_APP_LUA_USER_ERROR_HANDLER_H
3 
4 
5 
6 namespace saki
7 {
8 
9 
10 
12 {
13 public:
14  LuaUserErrorHandler() = default;
15  LuaUserErrorHandler(const LuaUserErrorHandler &copy) = default;
16  LuaUserErrorHandler(LuaUserErrorHandler &&move) = default;
17  LuaUserErrorHandler &operator=(const LuaUserErrorHandler &copy) = default;
18  LuaUserErrorHandler &operator=(LuaUserErrorHandler &&move) = default;
19  virtual ~LuaUserErrorHandler() = default;
20 
21  virtual void handleUserError(const char *msg) = 0;
22 };
23 
24 
25 
26 } // namespace saki
27 
28 
29 
30 #endif // SAKI_APP_LUA_USER_ERROR_HANDLER_H
Definition: lua_user_error_handler.h:11
Definition: ai.cpp:18