mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 02:35:59 +01:00
backend: allow iterating impls
This commit is contained in:
parent
f6d4c5e6a3
commit
25ee42673f
2 changed files with 7 additions and 0 deletions
|
@ -103,6 +103,9 @@ namespace Aquamarine {
|
|||
/* Get the render formats the primary backend supports */
|
||||
std::vector<SDRMFormat> getPrimaryRenderFormats();
|
||||
|
||||
/* get a vector of the backend implementations available */
|
||||
const std::vector<Hyprutils::Memory::CSharedPointer<IBackendImplementation>>& getImplementations();
|
||||
|
||||
struct {
|
||||
Hyprutils::Signal::CSignal newOutput;
|
||||
Hyprutils::Signal::CSignal newPointer;
|
||||
|
|
|
@ -247,3 +247,7 @@ std::vector<SDRMFormat> Aquamarine::CBackend::getPrimaryRenderFormats() {
|
|||
|
||||
return {};
|
||||
}
|
||||
|
||||
const std::vector<Hyprutils::Memory::CSharedPointer<IBackendImplementation>>& Aquamarine::CBackend::getImplementations() {
|
||||
return implementations;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue