summaryrefslogtreecommitdiff
path: root/kms++/inc
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2017-10-20 11:32:18 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-10-20 11:32:18 +0300
commit34a3e4916fc076d4a687d96ac4ad4484ad046d6d (patch)
tree38a7ae95e8bc23ea1f973fd9ba085dccaa354a18 /kms++/inc
parentf32b82c17cd357ae1c8ed2636266113955293feb (diff)
Videomode: add to_string()
Diffstat (limited to 'kms++/inc')
-rw-r--r--kms++/inc/kms++/videomode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kms++/inc/kms++/videomode.h b/kms++/inc/kms++/videomode.h
index 39e5639..d7f5258 100644
--- a/kms++/inc/kms++/videomode.h
+++ b/kms++/inc/kms++/videomode.h
@@ -48,6 +48,8 @@ struct Videomode
void set_interlace(bool ilace);
void set_hsync(SyncPolarity pol);
void set_vsync(SyncPolarity pol);
+
+ std::string to_string() const;
};
struct Videomode videomode_from_timings(uint32_t clock_khz,