1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 05:37:44 +00:00

LibEDID: Add API for conveniently querying EDID from framebuffer device

This commit is contained in:
Tom 2022-01-17 09:57:08 -07:00 committed by Linus Groh
parent 03c45b1865
commit 49c902d581
2 changed files with 59 additions and 0 deletions

View file

@ -77,6 +77,11 @@ public:
static ErrorOr<Parser> from_bytes(ReadonlyBytes);
static ErrorOr<Parser> from_bytes(ByteBuffer&&);
#ifndef KERNEL
static ErrorOr<Parser> from_framebuffer_device(int, size_t);
static ErrorOr<Parser> from_framebuffer_device(String const&, size_t);
#endif
String legacy_manufacturer_id() const;
u16 product_code() const;
u32 serial_number() const;