From 21c70a626cef72804f0ea270ffbae803e76e5b71 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 10 Jan 2019 09:43:30 +0200 Subject: Card: add support to get the driver name Add support to get the driver name. Signed-off-by: Tomi Valkeinen --- py/pykms/pykmsbase.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'py/pykms') diff --git a/py/pykms/pykmsbase.cpp b/py/pykms/pykmsbase.cpp index c86e76c..7a2ce75 100644 --- a/py/pykms/pykmsbase.cpp +++ b/py/pykms/pykmsbase.cpp @@ -46,6 +46,8 @@ void init_pykmsbase(py::module &m) .def_property_readonly("has_atomic", &Card::has_atomic) .def("get_prop", (Property* (Card::*)(uint32_t) const)&Card::get_prop) + + .def_property_readonly("version_name", &Card::version_name); ; py::class_>(m, "DrmObject") -- cgit v1.2.3