From 765d7f1ad031276dfba42fd8cc53dbcd2a0aa928 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Mon, 16 May 2016 12:11:06 +0300 Subject: kmsxx: add modedb --- libkms++/videomode.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libkms++/videomode.h') diff --git a/libkms++/videomode.h b/libkms++/videomode.h index 28a5b00..8bcdc8a 100644 --- a/libkms++/videomode.h +++ b/libkms++/videomode.h @@ -1,10 +1,15 @@ #pragma once +#include +#include + namespace kms { struct Videomode { + std::string name; + uint32_t clock; uint16_t hdisplay, hsync_start, hsync_end, htotal, hskew; uint16_t vdisplay, vsync_start, vsync_end, vtotal, vscan; @@ -13,8 +18,6 @@ struct Videomode uint32_t flags; // DRM_MODE_FLAG_* uint32_t type; // DRM_MODE_TYPE_* - - std::string name; }; } -- cgit v1.2.3