mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
b96b2fb9be
The old methods are already can be considered deprecated, and now after we removed framebuffer devices entirely, we can safely remove these methods too, which simplfies the GenericGraphicsAdapter class a lot.
28 lines
590 B
C++
28 lines
590 B
C++
/*
|
|
* Copyright (c) 2021, Liav A. <liavalb@hotmail.co.il>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
#include <AK/Weakable.h>
|
|
#include <Kernel/Bus/PCI/Definitions.h>
|
|
#include <Kernel/Devices/BlockDevice.h>
|
|
#include <Kernel/PhysicalAddress.h>
|
|
|
|
namespace Kernel {
|
|
class GenericGraphicsAdapter
|
|
: public RefCounted<GenericGraphicsAdapter>
|
|
, public Weakable<GenericGraphicsAdapter> {
|
|
public:
|
|
virtual ~GenericGraphicsAdapter() = default;
|
|
|
|
virtual bool vga_compatible() const = 0;
|
|
|
|
protected:
|
|
GenericGraphicsAdapter() = default;
|
|
};
|
|
|
|
}
|