application1

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

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 Application

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

func NewApplication

func NewApplication(conn *dbus.Conn) Application

type Instance

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

func NewInstance

func NewInstance(conn *dbus.Conn) Instance

type Manager

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

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

type MockInterfaceApplication struct {
	mock.Mock
}

func (*MockInterfaceApplication) Categories

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 (*MockInterfaceApplication) Id

func (*MockInterfaceApplication) Instances

func (*MockInterfaceApplication) Mimetypes

func (*MockInterfaceApplication) Name

func (v *MockInterfaceApplication) Name(flags dbus.Flags, locale string) (string, error)

type MockInterfaceInstance

type MockInterfaceInstance struct {
	mock.Mock
}

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 (*MockInterfaceInstance) Kill

func (v *MockInterfaceInstance) Kill(flags dbus.Flags) error

type MockInterfaceManager

type MockInterfaceManager struct {
	mock.Mock
}

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 (v *MockInterfaceManager) LaunchAppWithOptions(flags dbus.Flags, desktopFile string, timestamp uint32, files []string, options map[string]dbus.Variant) error

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
}

Jump to

Keyboard shortcuts

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