apps

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: 0

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 Apps

type Apps interface {
	DesktopFileWatcher() desktopFileWatcher // interface com.deepin.daemon.Apps.DesktopFileWatcher
	LaunchedRecorder() launchedRecorder     // interface com.deepin.daemon.Apps.LaunchedRecorder
	proxy.Object
}

func NewApps

func NewApps(conn *dbus.Conn) Apps

type MockApps

type MockApps struct {
	MockInterfaceDesktopFileWatcher // interface com.deepin.daemon.Apps.DesktopFileWatcher
	MockInterfaceLaunchedRecorder   // interface com.deepin.daemon.Apps.LaunchedRecorder
	proxy.MockObject
}

type MockInterfaceDesktopFileWatcher

type MockInterfaceDesktopFileWatcher struct {
	mock.Mock
}

func (*MockInterfaceDesktopFileWatcher) ConnectEvent

func (v *MockInterfaceDesktopFileWatcher) ConnectEvent(cb func(name string, op uint32)) (dbusutil.SignalHandlerId, error)

type MockInterfaceLaunchedRecorder

type MockInterfaceLaunchedRecorder struct {
	mock.Mock
}

func (*MockInterfaceLaunchedRecorder) ConnectLaunched

func (v *MockInterfaceLaunchedRecorder) ConnectLaunched(cb func(file string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceLaunchedRecorder) ConnectServiceRestarted

func (v *MockInterfaceLaunchedRecorder) ConnectServiceRestarted(cb func()) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceLaunchedRecorder) ConnectStatusSaved

func (v *MockInterfaceLaunchedRecorder) ConnectStatusSaved(cb func(root string, file string, ok bool)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceLaunchedRecorder) GetNew

func (v *MockInterfaceLaunchedRecorder) GetNew(flags dbus.Flags) (map[string][]string, error)

func (*MockInterfaceLaunchedRecorder) GoGetNew

func (v *MockInterfaceLaunchedRecorder) GoGetNew(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceLaunchedRecorder) GoMarkLaunched

func (v *MockInterfaceLaunchedRecorder) GoMarkLaunched(flags dbus.Flags, ch chan *dbus.Call, desktopFile string) *dbus.Call

func (*MockInterfaceLaunchedRecorder) GoUninstallHints

func (v *MockInterfaceLaunchedRecorder) GoUninstallHints(flags dbus.Flags, ch chan *dbus.Call, desktopFiles []string) *dbus.Call

func (*MockInterfaceLaunchedRecorder) GoWatchDirs

func (v *MockInterfaceLaunchedRecorder) GoWatchDirs(flags dbus.Flags, ch chan *dbus.Call, dirs []string) *dbus.Call

func (*MockInterfaceLaunchedRecorder) MarkLaunched

func (v *MockInterfaceLaunchedRecorder) MarkLaunched(flags dbus.Flags, desktopFile string) error

func (*MockInterfaceLaunchedRecorder) UninstallHints

func (v *MockInterfaceLaunchedRecorder) UninstallHints(flags dbus.Flags, desktopFiles []string) error

func (*MockInterfaceLaunchedRecorder) WatchDirs

func (v *MockInterfaceLaunchedRecorder) WatchDirs(flags dbus.Flags, dirs []string) error

Jump to

Keyboard shortcuts

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