Documentation ¶
Overview ¶
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
Index ¶
- type DisplayManager
- type MockDisplayManager
- type MockInterfaceDisplayManager
- func (v *MockInterfaceDisplayManager) ConnectSeatAdded(cb func(seat dbus.ObjectPath)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDisplayManager) ConnectSeatRemoved(cb func(seat dbus.ObjectPath)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDisplayManager) ConnectSessionAdded(cb func(session dbus.ObjectPath)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDisplayManager) ConnectSessionRemoved(cb func(session dbus.ObjectPath)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceDisplayManager) Seats() proxy.PropObjectPathArray
- func (v *MockInterfaceDisplayManager) Sessions() proxy.PropObjectPathArray
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisplayManager ¶
func NewDisplayManager ¶
func NewDisplayManager(conn *dbus.Conn) DisplayManager
type MockDisplayManager ¶
type MockDisplayManager struct { MockInterfaceDisplayManager // interface org.freedesktop.DisplayManager proxy.MockObject }
type MockInterfaceDisplayManager ¶
func (*MockInterfaceDisplayManager) ConnectSeatAdded ¶
func (v *MockInterfaceDisplayManager) ConnectSeatAdded(cb func(seat dbus.ObjectPath)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDisplayManager) ConnectSeatRemoved ¶
func (v *MockInterfaceDisplayManager) ConnectSeatRemoved(cb func(seat dbus.ObjectPath)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDisplayManager) ConnectSessionAdded ¶
func (v *MockInterfaceDisplayManager) ConnectSessionAdded(cb func(session dbus.ObjectPath)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDisplayManager) ConnectSessionRemoved ¶
func (v *MockInterfaceDisplayManager) ConnectSessionRemoved(cb func(session dbus.ObjectPath)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceDisplayManager) Seats ¶
func (v *MockInterfaceDisplayManager) Seats() proxy.PropObjectPathArray
func (*MockInterfaceDisplayManager) Sessions ¶
func (v *MockInterfaceDisplayManager) Sessions() proxy.PropObjectPathArray
Click to show internal directories.
Click to hide internal directories.