mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-20 04:10:04 +01:00
30 lines
658 B
C++
30 lines
658 B
C++
#pragma once
|
|
|
|
#include "../defines.hpp"
|
|
#include "../desktop/view/Subsurface.hpp"
|
|
#include "../desktop/view/Popup.hpp"
|
|
#include "../desktop/view/WLSurface.hpp"
|
|
#include "../macros.hpp"
|
|
#include "../desktop/DesktopTypes.hpp"
|
|
#include "memory/Memory.hpp"
|
|
#include "signal/Signal.hpp"
|
|
|
|
class CMonitor;
|
|
class IPointer;
|
|
class IKeyboard;
|
|
class CWLSurfaceResource;
|
|
|
|
AQUAMARINE_FORWARD(ISwitch);
|
|
|
|
struct SSwitchDevice {
|
|
WP<Aquamarine::ISwitch> pDevice;
|
|
|
|
struct {
|
|
CHyprSignalListener destroy;
|
|
CHyprSignalListener fire;
|
|
} listeners;
|
|
|
|
bool operator==(const SSwitchDevice& other) const {
|
|
return pDevice == other.pDevice;
|
|
}
|
|
};
|