diff --git a/libkms++/atomicreq.cpp b/libkms++/atomicreq.cpp
index 236e5018876491a047651c393f2198be04ce510e..779491302551edfe9feeaba610b11409cd489f94 100644 (file)
--- a/libkms++/atomicreq.cpp
+++ b/libkms++/atomicreq.cpp
#endif // DRM_CLIENT_CAP_ATOMIC
+using namespace std;
+
namespace kms
{
AtomicReq::AtomicReq(Card& card)
add(ob->id(), prop->id(), value);
}
+void AtomicReq::add(DrmObject* ob, const string& prop, uint64_t value)
+{
+ add(ob, m_card.get_prop(prop), value);
+}
+
int AtomicReq::test()
{
uint32_t flags = DRM_MODE_ATOMIC_TEST_ONLY;