#include <phosphor-compositor/include/PhosphorCompositor/DaemonClient.h>
|
| | DaemonClient (QObject *parent=nullptr) |
| |
| | ~DaemonClient () override |
| |
| bool | isDaemonReady () const |
| |
| void | setDragHandler (IDragHandler *handler) |
| |
| void | setGeometryHandler (IGeometryHandler *handler) |
| |
| void | setLifecycleHandler (ILifecycleHandler *handler) |
| |
| void | registerBridge (const QString &compositorId, int apiVersion, const QStringList &capabilities) |
| |
| void | notifyWindowOpened (const QString &windowId, const QString &screenId, int minWidth=0, int minHeight=0) |
| |
| void | notifyWindowOpenedBatch (const PhosphorProtocol::WindowOpenedList &windows) |
| |
| void | notifyWindowClosed (const QString &windowId) |
| |
| void | notifyWindowActivated (const QString &windowId, const QString &screenId) |
| |
| void | dragStarted (const QString &windowId, const QString &screenId, const QRect &geometry) |
| |
| void | dragMoved (const QString &windowId, int cursorX, int cursorY) |
| |
| void | dragStopped (const QString &windowId, const QString &screenId, const QString &zoneId) |
| |
| void | notifyCursorScreenChanged (const QString &screenId) |
| |
| void | notifyPrimaryScreen (const QString &screenName) |
| |
| void | queryFloatingWindows () |
| |
| void | querySnappedWindows () |
| |
| void | queryPendingRestoreGeometries () |
| |
| void | queryVirtualScreens (const QString &screenId) |
| |
| void | querySetting (const QString &key) |
| |
| void | pruneStaleWindows (const QStringList &liveWindowIds) |
| |
| void | probeDaemonAvailable (int timeoutMs=3000) |
| |
◆ DaemonClient()
| PhosphorCompositor::DaemonClient::DaemonClient |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~DaemonClient()
| PhosphorCompositor::DaemonClient::~DaemonClient |
( |
| ) |
|
|
override |
◆ bridgeRegistered
| void PhosphorCompositor::DaemonClient::bridgeRegistered |
( |
const QString & |
sessionId, |
|
|
int |
peerApiVersion |
|
) |
| |
|
signal |
◆ bridgeRejected
| void PhosphorCompositor::DaemonClient::bridgeRejected |
( |
const QString & |
reason | ) |
|
|
signal |
◆ daemonDisconnected
| void PhosphorCompositor::DaemonClient::daemonDisconnected |
( |
| ) |
|
|
signal |
◆ daemonReady
| void PhosphorCompositor::DaemonClient::daemonReady |
( |
| ) |
|
|
signal |
◆ dragMoved()
| void PhosphorCompositor::DaemonClient::dragMoved |
( |
const QString & |
windowId, |
|
|
int |
cursorX, |
|
|
int |
cursorY |
|
) |
| |
◆ dragStarted()
| void PhosphorCompositor::DaemonClient::dragStarted |
( |
const QString & |
windowId, |
|
|
const QString & |
screenId, |
|
|
const QRect & |
geometry |
|
) |
| |
◆ dragStopped()
| void PhosphorCompositor::DaemonClient::dragStopped |
( |
const QString & |
windowId, |
|
|
const QString & |
screenId, |
|
|
const QString & |
zoneId |
|
) |
| |
◆ floatingWindowsReceived
| void PhosphorCompositor::DaemonClient::floatingWindowsReceived |
( |
const QStringList & |
windowIds | ) |
|
|
signal |
◆ isDaemonReady()
| bool PhosphorCompositor::DaemonClient::isDaemonReady |
( |
| ) |
const |
|
inline |
◆ notifyCursorScreenChanged()
| void PhosphorCompositor::DaemonClient::notifyCursorScreenChanged |
( |
const QString & |
screenId | ) |
|
◆ notifyPrimaryScreen()
| void PhosphorCompositor::DaemonClient::notifyPrimaryScreen |
( |
const QString & |
screenName | ) |
|
◆ notifyWindowActivated()
| void PhosphorCompositor::DaemonClient::notifyWindowActivated |
( |
const QString & |
windowId, |
|
|
const QString & |
screenId |
|
) |
| |
◆ notifyWindowClosed()
| void PhosphorCompositor::DaemonClient::notifyWindowClosed |
( |
const QString & |
windowId | ) |
|
◆ notifyWindowOpened()
| void PhosphorCompositor::DaemonClient::notifyWindowOpened |
( |
const QString & |
windowId, |
|
|
const QString & |
screenId, |
|
|
int |
minWidth = 0, |
|
|
int |
minHeight = 0 |
|
) |
| |
◆ notifyWindowOpenedBatch()
◆ pendingRestoreGeometriesReceived
| void PhosphorCompositor::DaemonClient::pendingRestoreGeometriesReceived |
( |
const QString & |
json | ) |
|
|
signal |
◆ pendingRestoresAvailable
| void PhosphorCompositor::DaemonClient::pendingRestoresAvailable |
( |
| ) |
|
|
signal |
◆ probeDaemonAvailable()
| void PhosphorCompositor::DaemonClient::probeDaemonAvailable |
( |
int |
timeoutMs = 3000 | ) |
|
◆ pruneStaleWindows()
| void PhosphorCompositor::DaemonClient::pruneStaleWindows |
( |
const QStringList & |
liveWindowIds | ) |
|
◆ queryFloatingWindows()
| void PhosphorCompositor::DaemonClient::queryFloatingWindows |
( |
| ) |
|
◆ queryPendingRestoreGeometries()
| void PhosphorCompositor::DaemonClient::queryPendingRestoreGeometries |
( |
| ) |
|
◆ querySetting()
| void PhosphorCompositor::DaemonClient::querySetting |
( |
const QString & |
key | ) |
|
◆ querySnappedWindows()
| void PhosphorCompositor::DaemonClient::querySnappedWindows |
( |
| ) |
|
◆ queryVirtualScreens()
| void PhosphorCompositor::DaemonClient::queryVirtualScreens |
( |
const QString & |
screenId | ) |
|
◆ reapplyGeometriesRequested
| void PhosphorCompositor::DaemonClient::reapplyGeometriesRequested |
( |
| ) |
|
|
signal |
◆ registerBridge()
| void PhosphorCompositor::DaemonClient::registerBridge |
( |
const QString & |
compositorId, |
|
|
int |
apiVersion, |
|
|
const QStringList & |
capabilities |
|
) |
| |
◆ runningWindowsRequested
| void PhosphorCompositor::DaemonClient::runningWindowsRequested |
( |
| ) |
|
|
signal |
◆ setDragHandler()
| void PhosphorCompositor::DaemonClient::setDragHandler |
( |
IDragHandler * |
handler | ) |
|
|
inline |
- Parameters
-
| handler | Not owned; caller retains lifetime. Must outlive this client. |
◆ setGeometryHandler()
| void PhosphorCompositor::DaemonClient::setGeometryHandler |
( |
IGeometryHandler * |
handler | ) |
|
|
inline |
- Parameters
-
| handler | Not owned; caller retains lifetime. Must outlive this client. |
◆ setLifecycleHandler()
| void PhosphorCompositor::DaemonClient::setLifecycleHandler |
( |
ILifecycleHandler * |
handler | ) |
|
|
inline |
- Parameters
-
| handler | Not owned; caller retains lifetime. Must outlive this client. |
◆ settingReceived
| void PhosphorCompositor::DaemonClient::settingReceived |
( |
const QString & |
key, |
|
|
const QVariant & |
value |
|
) |
| |
|
signal |
◆ settingsChanged
| void PhosphorCompositor::DaemonClient::settingsChanged |
( |
| ) |
|
|
signal |
◆ snapAssistReady
| void PhosphorCompositor::DaemonClient::snapAssistReady |
( |
const QString & |
windowId, |
|
|
const QString & |
screenId, |
|
|
const PhosphorProtocol::EmptyZoneList & |
zones |
|
) |
| |
|
signal |
◆ snappedWindowsReceived
| void PhosphorCompositor::DaemonClient::snappedWindowsReceived |
( |
const QStringList & |
windowIds | ) |
|
|
signal |
◆ virtualScreensChanged
| void PhosphorCompositor::DaemonClient::virtualScreensChanged |
( |
const QString & |
screenId | ) |
|
|
signal |
◆ virtualScreensReceived
The documentation for this class was generated from the following file: