summaryrefslogtreecommitdiff
path: root/src/ui/include/screen_lua.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/include/screen_lua.hpp')
-rw-r--r--src/ui/include/screen_lua.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ui/include/screen_lua.hpp b/src/ui/include/screen_lua.hpp
index df83ea8b..ee9f6813 100644
--- a/src/ui/include/screen_lua.hpp
+++ b/src/ui/include/screen_lua.hpp
@@ -15,7 +15,14 @@ namespace screens {
class Lua : public Screen {
public:
- explicit Lua(lua_State* l);
+ Lua();
+ ~Lua();
+
+ auto SetObjRef(lua_State*) -> void;
+
+ private:
+ lua_State* s_;
+ std::optional<int> obj_ref_;
};
} // namespace screens