diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-27 16:31:09 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-27 17:24:14 +0300 |
commit | a5db43b30b0e2a58b13548ef27a9b754d04ba492 (patch) | |
tree | 1d366489d4e2dd09b163662792d6529c0a93f7c1 /libkms++/videomode.h | |
parent | d17cb8f0e0a71f7f3b1dbd88ccc1349b3723dc1c (diff) |
Add Videomode::to_blob()
Diffstat (limited to 'libkms++/videomode.h')
-rw-r--r-- | libkms++/videomode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libkms++/videomode.h b/libkms++/videomode.h index 8bcdc8a..382c1cd 100644 --- a/libkms++/videomode.h +++ b/libkms++/videomode.h @@ -2,6 +2,9 @@ #include <string> #include <cstdint> +#include <memory> + +#include "blob.h" namespace kms { @@ -18,6 +21,8 @@ struct Videomode uint32_t flags; // DRM_MODE_FLAG_* uint32_t type; // DRM_MODE_TYPE_* + + std::unique_ptr<Blob> to_blob(Card& card) const; }; } |