diff options
author | Tom <tomut@yahoo.com> | 2022-01-17 09:57:08 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-23 22:45:21 +0000 |
commit | 49c902d581703bd6db5c7439dd7c1dc0a5b0e726 (patch) | |
tree | 65948c3a13f974213743a05f0c3fe1b17f42ace1 /Userland/Libraries/LibEDID/EDID.h | |
parent | 03c45b18653b960f1e7c1705ef0cdbb5b2d2f94d (diff) | |
download | serenity-49c902d581703bd6db5c7439dd7c1dc0a5b0e726.zip |
LibEDID: Add API for conveniently querying EDID from framebuffer device
Diffstat (limited to 'Userland/Libraries/LibEDID/EDID.h')
-rw-r--r-- | Userland/Libraries/LibEDID/EDID.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibEDID/EDID.h b/Userland/Libraries/LibEDID/EDID.h index 82aced81fe..da966708cd 100644 --- a/Userland/Libraries/LibEDID/EDID.h +++ b/Userland/Libraries/LibEDID/EDID.h @@ -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; |