From e6844a68b61477d1c0a1d225d75c04c7e6678495 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Sat, 25 Nov 2023 08:51:14 +1100 Subject: implement play/pause --- src/lua/include/property.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lua/include') diff --git a/src/lua/include/property.hpp b/src/lua/include/property.hpp index 207696bd..c1dcf44b 100644 --- a/src/lua/include/property.hpp +++ b/src/lua/include/property.hpp @@ -26,6 +26,8 @@ class Property { Property(const LuaValue&); Property(const LuaValue&, std::function); + auto Get() -> const LuaValue& { return value_; } + auto IsTwoWay() -> bool { return cb_.has_value(); } auto PushValue(lua_State& s) -> int; -- cgit v1.2.3