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:
parent
03c45b1865
commit
49c902d581
2 changed files with 59 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue