6#include "phosphorscreenscore_export.h"
48 return top == 0 && bottom == 0 && left == 0 && right == 0;
Pluggable producer of panel-reservation offsets per screen.
Definition IPanelSource.h:33
virtual void requestRequery(int delayMs=0)=0
Best-effort: ask the backend to re-query immediately, optionally after a short delay (e....
void requeryCompleted()
A requestRequery cycle completed.
virtual bool ready() const =0
Has any successful query landed? Drives ScreenManager's panelGeometryReady one-shot signal — consumer...
virtual void stop()=0
Stop watching.
virtual Offsets currentOffsets(QScreen *screen) const =0
Snapshot for a given screen.
virtual void start()=0
Begin watching.
IPanelSource(QObject *parent=nullptr)
Definition IPanelSource.h:53
~IPanelSource() override=default
void panelOffsetsChanged(QScreen *screen)
Offsets for screen changed.
Definition IWindowTrackingService.h:26
Per-edge reserved geometry, in physical pixels relative to the screen's top-left.
Definition IPanelSource.h:40
bool operator==(const Offsets &) const =default
bool isZero() const noexcept
Definition IPanelSource.h:46