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 MockInterfaceNotifications
- func (v *MockInterfaceNotifications) CloseNotification(flags dbus.Flags, id uint32) error
- func (v *MockInterfaceNotifications) ConnectActionInvoked(cb func(id uint32, action_key string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceNotifications) ConnectNotificationClosed(cb func(id uint32, reason uint32)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceNotifications) GetCapabilities(flags dbus.Flags) ([]string, error)
- func (v *MockInterfaceNotifications) GetServerInformation(flags dbus.Flags) (string, string, string, string, error)
- func (v *MockInterfaceNotifications) GoCloseNotification(flags dbus.Flags, ch chan *dbus.Call, id uint32) *dbus.Call
- func (v *MockInterfaceNotifications) GoGetCapabilities(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceNotifications) GoGetServerInformation(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceNotifications) GoNotify(flags dbus.Flags, ch chan *dbus.Call, app_name string, replaces_id uint32, ...) *dbus.Call
- func (v *MockInterfaceNotifications) Notify(flags dbus.Flags, app_name string, replaces_id uint32, app_icon string, ...) (uint32, error)
- type MockNotifications
- type Notifications
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterfaceNotifications ¶
func (*MockInterfaceNotifications) CloseNotification ¶
func (v *MockInterfaceNotifications) CloseNotification(flags dbus.Flags, id uint32) error
func (*MockInterfaceNotifications) ConnectActionInvoked ¶
func (v *MockInterfaceNotifications) ConnectActionInvoked(cb func(id uint32, action_key string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceNotifications) ConnectNotificationClosed ¶
func (v *MockInterfaceNotifications) ConnectNotificationClosed(cb func(id uint32, reason uint32)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceNotifications) GetCapabilities ¶
func (v *MockInterfaceNotifications) GetCapabilities(flags dbus.Flags) ([]string, error)
func (*MockInterfaceNotifications) GetServerInformation ¶
func (*MockInterfaceNotifications) GoCloseNotification ¶
func (v *MockInterfaceNotifications) GoCloseNotification(flags dbus.Flags, ch chan *dbus.Call, id uint32) *dbus.Call
func (*MockInterfaceNotifications) GoGetCapabilities ¶
func (v *MockInterfaceNotifications) GoGetCapabilities(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceNotifications) GoGetServerInformation ¶
func (v *MockInterfaceNotifications) GoGetServerInformation(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
type MockNotifications ¶
type MockNotifications struct { MockInterfaceNotifications // interface org.freedesktop.Notifications proxy.MockObject }
type Notifications ¶
func NewNotifications ¶
func NewNotifications(conn *dbus.Conn) Notifications
Click to show internal directories.
Click to hide internal directories.