diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-11-25 08:51:14 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-11-25 08:51:14 +1100 |
| commit | e6844a68b61477d1c0a1d225d75c04c7e6678495 (patch) | |
| tree | c3b81ab0f5d540edddf39ea62d8786942bc799b2 /src/lua/include/property.hpp | |
| parent | f3e4210f24fe27701d29f0ab0735333202622a89 (diff) | |
| download | tangara-fw-e6844a68b61477d1c0a1d225d75c04c7e6678495.tar.gz | |
implement play/pause
Diffstat (limited to 'src/lua/include/property.hpp')
| -rw-r--r-- | src/lua/include/property.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<bool(const LuaValue&)>); + auto Get() -> const LuaValue& { return value_; } + auto IsTwoWay() -> bool { return cb_.has_value(); } auto PushValue(lua_State& s) -> int; |
