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 Application
- type Instance
- type Manager
- type MockApplication
- type MockInstance
- type MockInterfaceApplication
- func (v *MockInterfaceApplication) Categories() proxy.PropStringArray
- func (v *MockInterfaceApplication) Comment(flags dbus.Flags, comment string) (string, error)
- func (v *MockInterfaceApplication) GoComment(flags dbus.Flags, ch chan *dbus.Call, comment string) *dbus.Call
- func (v *MockInterfaceApplication) GoName(flags dbus.Flags, ch chan *dbus.Call, locale string) *dbus.Call
- func (v *MockInterfaceApplication) Icon() proxy.PropString
- func (v *MockInterfaceApplication) Id() proxy.PropString
- func (v *MockInterfaceApplication) Instances() proxy.PropObjectPathArray
- func (v *MockInterfaceApplication) Mimetypes() proxy.PropStringArray
- func (v *MockInterfaceApplication) Name(flags dbus.Flags, locale string) (string, error)
- type MockInterfaceInstance
- func (v *MockInterfaceInstance) Exit(flags dbus.Flags) error
- func (v *MockInterfaceInstance) GoExit(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceInstance) GoKill(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceInstance) Id() proxy.PropObjectPath
- func (v *MockInterfaceInstance) Kill(flags dbus.Flags) error
- type MockInterfaceManager
- func (v *MockInterfaceManager) AddAutostart(flags dbus.Flags, fileNamae string) (bool, error)
- func (v *MockInterfaceManager) AutostartList(flags dbus.Flags) ([]string, error)
- func (v *MockInterfaceManager) ConnectAutostartChanged(cb func(status string, filePath string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceManager) GoAddAutostart(flags dbus.Flags, ch chan *dbus.Call, fileNamae string) *dbus.Call
- func (v *MockInterfaceManager) GoAutostartList(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceManager) GoIsAutostart(flags dbus.Flags, ch chan *dbus.Call, fileName string) *dbus.Call
- func (v *MockInterfaceManager) GoLaunch(flags dbus.Flags, ch chan *dbus.Call, desktopFile string) *dbus.Call
- func (v *MockInterfaceManager) GoLaunchApp(flags dbus.Flags, ch chan *dbus.Call, desktopFile string, timestamp uint32, ...) *dbus.Call
- func (v *MockInterfaceManager) GoLaunchAppAction(flags dbus.Flags, ch chan *dbus.Call, desktopFile string, action string, ...) *dbus.Call
- func (v *MockInterfaceManager) GoLaunchAppWithOptions(flags dbus.Flags, ch chan *dbus.Call, desktopFile string, timestamp uint32, ...) *dbus.Call
- func (v *MockInterfaceManager) GoRemoveAutostart(flags dbus.Flags, ch chan *dbus.Call, fileNamae string) *dbus.Call
- func (v *MockInterfaceManager) GoRunCommand(flags dbus.Flags, ch chan *dbus.Call, exe string, args []string) *dbus.Call
- func (v *MockInterfaceManager) GoRunCommandWithOptions(flags dbus.Flags, ch chan *dbus.Call, exe string, args []string, ...) *dbus.Call
- func (v *MockInterfaceManager) IsAutostart(flags dbus.Flags, fileName string) (bool, error)
- func (v *MockInterfaceManager) Launch(flags dbus.Flags, desktopFile string) error
- func (v *MockInterfaceManager) LaunchApp(flags dbus.Flags, desktopFile string, timestamp uint32, files []string) error
- func (v *MockInterfaceManager) LaunchAppAction(flags dbus.Flags, desktopFile string, action string, timestamp uint32) error
- func (v *MockInterfaceManager) LaunchAppWithOptions(flags dbus.Flags, desktopFile string, timestamp uint32, files []string, ...) error
- func (v *MockInterfaceManager) RemoveAutostart(flags dbus.Flags, fileNamae string) (bool, error)
- func (v *MockInterfaceManager) RunCommand(flags dbus.Flags, exe string, args []string) error
- func (v *MockInterfaceManager) RunCommandWithOptions(flags dbus.Flags, exe string, args []string, options map[string]dbus.Variant) error
- type MockManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
func NewApplication ¶
func NewApplication(conn *dbus.Conn) Application
type Instance ¶
func NewInstance ¶
func NewInstance(conn *dbus.Conn) Instance
type Manager ¶
func NewManager ¶
func NewManager(conn *dbus.Conn) Manager
type MockApplication ¶
type MockApplication struct { MockInterfaceApplication // interface org.deepin.dde.Application1 proxy.MockObject }
type MockInstance ¶
type MockInstance struct { MockInterfaceInstance // interface org.deepin.dde.Application1.Instance proxy.MockObject }
type MockInterfaceApplication ¶
func (*MockInterfaceApplication) Categories ¶
func (v *MockInterfaceApplication) Categories() proxy.PropStringArray
func (*MockInterfaceApplication) Comment ¶
func (v *MockInterfaceApplication) Comment(flags dbus.Flags, comment string) (string, error)
func (*MockInterfaceApplication) GoComment ¶
func (v *MockInterfaceApplication) GoComment(flags dbus.Flags, ch chan *dbus.Call, comment string) *dbus.Call
func (*MockInterfaceApplication) GoName ¶
func (v *MockInterfaceApplication) GoName(flags dbus.Flags, ch chan *dbus.Call, locale string) *dbus.Call
func (*MockInterfaceApplication) Icon ¶
func (v *MockInterfaceApplication) Icon() proxy.PropString
func (*MockInterfaceApplication) Id ¶
func (v *MockInterfaceApplication) Id() proxy.PropString
func (*MockInterfaceApplication) Instances ¶
func (v *MockInterfaceApplication) Instances() proxy.PropObjectPathArray
func (*MockInterfaceApplication) Mimetypes ¶
func (v *MockInterfaceApplication) Mimetypes() proxy.PropStringArray
type MockInterfaceInstance ¶
func (*MockInterfaceInstance) Exit ¶
func (v *MockInterfaceInstance) Exit(flags dbus.Flags) error
func (*MockInterfaceInstance) GoExit ¶
func (v *MockInterfaceInstance) GoExit(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceInstance) GoKill ¶
func (v *MockInterfaceInstance) GoKill(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceInstance) Id ¶
func (v *MockInterfaceInstance) Id() proxy.PropObjectPath
func (*MockInterfaceInstance) Kill ¶
func (v *MockInterfaceInstance) Kill(flags dbus.Flags) error
type MockInterfaceManager ¶
func (*MockInterfaceManager) AddAutostart ¶
func (v *MockInterfaceManager) AddAutostart(flags dbus.Flags, fileNamae string) (bool, error)
func (*MockInterfaceManager) AutostartList ¶
func (v *MockInterfaceManager) AutostartList(flags dbus.Flags) ([]string, error)
func (*MockInterfaceManager) ConnectAutostartChanged ¶
func (v *MockInterfaceManager) ConnectAutostartChanged(cb func(status string, filePath string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceManager) GoAddAutostart ¶
func (v *MockInterfaceManager) GoAddAutostart(flags dbus.Flags, ch chan *dbus.Call, fileNamae string) *dbus.Call
func (*MockInterfaceManager) GoAutostartList ¶
func (v *MockInterfaceManager) GoAutostartList(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceManager) GoIsAutostart ¶
func (v *MockInterfaceManager) GoIsAutostart(flags dbus.Flags, ch chan *dbus.Call, fileName string) *dbus.Call
func (*MockInterfaceManager) GoLaunch ¶
func (v *MockInterfaceManager) GoLaunch(flags dbus.Flags, ch chan *dbus.Call, desktopFile string) *dbus.Call
func (*MockInterfaceManager) GoLaunchApp ¶
func (v *MockInterfaceManager) GoLaunchApp(flags dbus.Flags, ch chan *dbus.Call, desktopFile string, timestamp uint32, files []string) *dbus.Call
func (*MockInterfaceManager) GoLaunchAppAction ¶
func (v *MockInterfaceManager) GoLaunchAppAction(flags dbus.Flags, ch chan *dbus.Call, desktopFile string, action string, timestamp uint32) *dbus.Call
func (*MockInterfaceManager) GoLaunchAppWithOptions ¶
func (v *MockInterfaceManager) GoLaunchAppWithOptions(flags dbus.Flags, ch chan *dbus.Call, desktopFile string, timestamp uint32, files []string, options map[string]dbus.Variant) *dbus.Call
func (*MockInterfaceManager) GoRemoveAutostart ¶
func (v *MockInterfaceManager) GoRemoveAutostart(flags dbus.Flags, ch chan *dbus.Call, fileNamae string) *dbus.Call
func (*MockInterfaceManager) GoRunCommand ¶
func (v *MockInterfaceManager) GoRunCommand(flags dbus.Flags, ch chan *dbus.Call, exe string, args []string) *dbus.Call
func (*MockInterfaceManager) GoRunCommandWithOptions ¶
func (v *MockInterfaceManager) GoRunCommandWithOptions(flags dbus.Flags, ch chan *dbus.Call, exe string, args []string, options map[string]dbus.Variant) *dbus.Call
func (*MockInterfaceManager) IsAutostart ¶
func (v *MockInterfaceManager) IsAutostart(flags dbus.Flags, fileName string) (bool, error)
func (*MockInterfaceManager) Launch ¶
func (v *MockInterfaceManager) Launch(flags dbus.Flags, desktopFile string) error
func (*MockInterfaceManager) LaunchApp ¶
func (v *MockInterfaceManager) LaunchApp(flags dbus.Flags, desktopFile string, timestamp uint32, files []string) error
func (*MockInterfaceManager) LaunchAppAction ¶
func (v *MockInterfaceManager) LaunchAppAction(flags dbus.Flags, desktopFile string, action string, timestamp uint32) error
func (*MockInterfaceManager) LaunchAppWithOptions ¶
func (*MockInterfaceManager) RemoveAutostart ¶
func (v *MockInterfaceManager) RemoveAutostart(flags dbus.Flags, fileNamae string) (bool, error)
func (*MockInterfaceManager) RunCommand ¶
func (v *MockInterfaceManager) RunCommand(flags dbus.Flags, exe string, args []string) error
func (*MockInterfaceManager) RunCommandWithOptions ¶
func (v *MockInterfaceManager) RunCommandWithOptions(flags dbus.Flags, exe string, args []string, options map[string]dbus.Variant) error
type MockManager ¶
type MockManager struct { MockInterfaceManager // interface org.deepin.dde.Application1.Manager proxy.MockObject }
Click to show internal directories.
Click to hide internal directories.