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 Apps
- type MockApps
- type MockInterfaceDesktopFileWatcher
- type MockInterfaceLaunchedRecorder
- func (v *MockInterfaceLaunchedRecorder) ConnectLaunched(cb func(file string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceLaunchedRecorder) ConnectServiceRestarted(cb func()) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceLaunchedRecorder) ConnectStatusSaved(cb func(root string, file string, ok bool)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceLaunchedRecorder) GetNew(flags dbus.Flags) (map[string][]string, error)
- func (v *MockInterfaceLaunchedRecorder) GoGetNew(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceLaunchedRecorder) GoMarkLaunched(flags dbus.Flags, ch chan *dbus.Call, desktopFile string) *dbus.Call
- func (v *MockInterfaceLaunchedRecorder) GoUninstallHints(flags dbus.Flags, ch chan *dbus.Call, desktopFiles []string) *dbus.Call
- func (v *MockInterfaceLaunchedRecorder) GoWatchDirs(flags dbus.Flags, ch chan *dbus.Call, dirs []string) *dbus.Call
- func (v *MockInterfaceLaunchedRecorder) MarkLaunched(flags dbus.Flags, desktopFile string) error
- func (v *MockInterfaceLaunchedRecorder) UninstallHints(flags dbus.Flags, desktopFiles []string) error
- func (v *MockInterfaceLaunchedRecorder) WatchDirs(flags dbus.Flags, dirs []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apps ¶
type MockApps ¶
type MockApps struct { MockInterfaceDesktopFileWatcher // interface com.deepin.daemon.Apps.DesktopFileWatcher MockInterfaceLaunchedRecorder // interface com.deepin.daemon.Apps.LaunchedRecorder proxy.MockObject }
type MockInterfaceDesktopFileWatcher ¶
func (*MockInterfaceDesktopFileWatcher) ConnectEvent ¶
func (v *MockInterfaceDesktopFileWatcher) ConnectEvent(cb func(name string, op uint32)) (dbusutil.SignalHandlerId, error)
type MockInterfaceLaunchedRecorder ¶
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
Click to show internal directories.
Click to hide internal directories.