notifications

package
v0.0.0-...-77ac5d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2023 License: GPL-3.0 Imports: 7 Imported by: 10

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterfaceNotifications

type MockInterfaceNotifications struct {
	mock.Mock
}

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 (v *MockInterfaceNotifications) GetServerInformation(flags dbus.Flags) (string, string, string, string, error)

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

func (*MockInterfaceNotifications) GoNotify

func (v *MockInterfaceNotifications) GoNotify(flags dbus.Flags, ch chan *dbus.Call, app_name string, replaces_id uint32, app_icon string, summary string, body string, actions []string, hints map[string]dbus.Variant, expire_timeout int32) *dbus.Call

func (*MockInterfaceNotifications) Notify

func (v *MockInterfaceNotifications) Notify(flags dbus.Flags, app_name string, replaces_id uint32, app_icon string, summary string, body string, actions []string, hints map[string]dbus.Variant, expire_timeout int32) (uint32, error)

type MockNotifications

type MockNotifications struct {
	MockInterfaceNotifications // interface org.freedesktop.Notifications
	proxy.MockObject
}

type Notifications

type Notifications interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewNotifications

func NewNotifications(conn *dbus.Conn) Notifications

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL