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 ItemInfo
- type Launcher
- type MockInterfaceLauncher
- func (v *MockInterfaceLauncher) ConnectItemChanged(cb func(status string, itemInfo ItemInfo, categoryID int64)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceLauncher) ConnectNewAppLaunched(cb func(appID string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceLauncher) ConnectSearchDone(cb func(apps []string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceLauncher) ConnectUninstallFailed(cb func(appId string, errMsg string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceLauncher) ConnectUninstallSuccess(cb func(appID string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceLauncher) DisplayMode() proxy.PropInt32
- func (v *MockInterfaceLauncher) Fullscreen() proxy.PropBool
- func (v *MockInterfaceLauncher) GetAllItemInfos(flags dbus.Flags) ([]ItemInfo, error)
- func (v *MockInterfaceLauncher) GetAllNewInstalledApps(flags dbus.Flags) ([]string, error)
- func (v *MockInterfaceLauncher) GetDisableScaling(flags dbus.Flags, id string) (bool, error)
- func (v *MockInterfaceLauncher) GetItemInfo(flags dbus.Flags, id string) (ItemInfo, error)
- func (v *MockInterfaceLauncher) GetUseProxy(flags dbus.Flags, id string) (bool, error)
- func (v *MockInterfaceLauncher) GoGetAllItemInfos(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceLauncher) GoGetAllNewInstalledApps(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
- func (v *MockInterfaceLauncher) GoGetDisableScaling(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
- func (v *MockInterfaceLauncher) GoGetItemInfo(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
- func (v *MockInterfaceLauncher) GoGetUseProxy(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
- func (v *MockInterfaceLauncher) GoIsItemOnDesktop(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
- func (v *MockInterfaceLauncher) GoMarkLaunched(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
- func (v *MockInterfaceLauncher) GoRequestRemoveFromDesktop(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
- func (v *MockInterfaceLauncher) GoRequestSendToDesktop(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
- func (v *MockInterfaceLauncher) GoRequestUninstall(flags dbus.Flags, ch chan *dbus.Call, id string, purge bool) *dbus.Call
- func (v *MockInterfaceLauncher) GoSearch(flags dbus.Flags, ch chan *dbus.Call, key string) *dbus.Call
- func (v *MockInterfaceLauncher) GoSetDisableScaling(flags dbus.Flags, ch chan *dbus.Call, id string, value bool) *dbus.Call
- func (v *MockInterfaceLauncher) GoSetUseProxy(flags dbus.Flags, ch chan *dbus.Call, id string, value bool) *dbus.Call
- func (v *MockInterfaceLauncher) IsItemOnDesktop(flags dbus.Flags, id string) (bool, error)
- func (v *MockInterfaceLauncher) MarkLaunched(flags dbus.Flags, id string) error
- func (v *MockInterfaceLauncher) RequestRemoveFromDesktop(flags dbus.Flags, id string) (bool, error)
- func (v *MockInterfaceLauncher) RequestSendToDesktop(flags dbus.Flags, id string) (bool, error)
- func (v *MockInterfaceLauncher) RequestUninstall(flags dbus.Flags, id string, purge bool) error
- func (v *MockInterfaceLauncher) Search(flags dbus.Flags, key string) error
- func (v *MockInterfaceLauncher) SetDisableScaling(flags dbus.Flags, id string, value bool) error
- func (v *MockInterfaceLauncher) SetUseProxy(flags dbus.Flags, id string, value bool) error
- type MockLauncher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemInfo ¶
type ItemInfo struct { Path string Name string ID string Icon string CategoryID int64 TimeInstalled int64 }
ItemInfo type
type Launcher ¶
func NewLauncher ¶
func NewLauncher(conn *dbus.Conn) Launcher
type MockInterfaceLauncher ¶
func (*MockInterfaceLauncher) ConnectItemChanged ¶
func (v *MockInterfaceLauncher) ConnectItemChanged(cb func(status string, itemInfo ItemInfo, categoryID int64)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceLauncher) ConnectNewAppLaunched ¶
func (v *MockInterfaceLauncher) ConnectNewAppLaunched(cb func(appID string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceLauncher) ConnectSearchDone ¶
func (v *MockInterfaceLauncher) ConnectSearchDone(cb func(apps []string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceLauncher) ConnectUninstallFailed ¶
func (v *MockInterfaceLauncher) ConnectUninstallFailed(cb func(appId string, errMsg string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceLauncher) ConnectUninstallSuccess ¶
func (v *MockInterfaceLauncher) ConnectUninstallSuccess(cb func(appID string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceLauncher) DisplayMode ¶
func (v *MockInterfaceLauncher) DisplayMode() proxy.PropInt32
func (*MockInterfaceLauncher) Fullscreen ¶
func (v *MockInterfaceLauncher) Fullscreen() proxy.PropBool
func (*MockInterfaceLauncher) GetAllItemInfos ¶
func (v *MockInterfaceLauncher) GetAllItemInfos(flags dbus.Flags) ([]ItemInfo, error)
func (*MockInterfaceLauncher) GetAllNewInstalledApps ¶
func (v *MockInterfaceLauncher) GetAllNewInstalledApps(flags dbus.Flags) ([]string, error)
func (*MockInterfaceLauncher) GetDisableScaling ¶
func (v *MockInterfaceLauncher) GetDisableScaling(flags dbus.Flags, id string) (bool, error)
func (*MockInterfaceLauncher) GetItemInfo ¶
func (v *MockInterfaceLauncher) GetItemInfo(flags dbus.Flags, id string) (ItemInfo, error)
func (*MockInterfaceLauncher) GetUseProxy ¶
func (v *MockInterfaceLauncher) GetUseProxy(flags dbus.Flags, id string) (bool, error)
func (*MockInterfaceLauncher) GoGetAllItemInfos ¶
func (v *MockInterfaceLauncher) GoGetAllItemInfos(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceLauncher) GoGetAllNewInstalledApps ¶
func (v *MockInterfaceLauncher) GoGetAllNewInstalledApps(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call
func (*MockInterfaceLauncher) GoGetDisableScaling ¶
func (v *MockInterfaceLauncher) GoGetDisableScaling(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
func (*MockInterfaceLauncher) GoGetItemInfo ¶
func (v *MockInterfaceLauncher) GoGetItemInfo(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
func (*MockInterfaceLauncher) GoGetUseProxy ¶
func (v *MockInterfaceLauncher) GoGetUseProxy(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
func (*MockInterfaceLauncher) GoIsItemOnDesktop ¶
func (v *MockInterfaceLauncher) GoIsItemOnDesktop(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
func (*MockInterfaceLauncher) GoMarkLaunched ¶
func (v *MockInterfaceLauncher) GoMarkLaunched(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
func (*MockInterfaceLauncher) GoRequestRemoveFromDesktop ¶
func (v *MockInterfaceLauncher) GoRequestRemoveFromDesktop(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
func (*MockInterfaceLauncher) GoRequestSendToDesktop ¶
func (v *MockInterfaceLauncher) GoRequestSendToDesktop(flags dbus.Flags, ch chan *dbus.Call, id string) *dbus.Call
func (*MockInterfaceLauncher) GoRequestUninstall ¶
func (v *MockInterfaceLauncher) GoRequestUninstall(flags dbus.Flags, ch chan *dbus.Call, id string, purge bool) *dbus.Call
func (*MockInterfaceLauncher) GoSearch ¶
func (v *MockInterfaceLauncher) GoSearch(flags dbus.Flags, ch chan *dbus.Call, key string) *dbus.Call
func (*MockInterfaceLauncher) GoSetDisableScaling ¶
func (v *MockInterfaceLauncher) GoSetDisableScaling(flags dbus.Flags, ch chan *dbus.Call, id string, value bool) *dbus.Call
func (*MockInterfaceLauncher) GoSetUseProxy ¶
func (v *MockInterfaceLauncher) GoSetUseProxy(flags dbus.Flags, ch chan *dbus.Call, id string, value bool) *dbus.Call
func (*MockInterfaceLauncher) IsItemOnDesktop ¶
func (v *MockInterfaceLauncher) IsItemOnDesktop(flags dbus.Flags, id string) (bool, error)
func (*MockInterfaceLauncher) MarkLaunched ¶
func (v *MockInterfaceLauncher) MarkLaunched(flags dbus.Flags, id string) error
func (*MockInterfaceLauncher) RequestRemoveFromDesktop ¶
func (v *MockInterfaceLauncher) RequestRemoveFromDesktop(flags dbus.Flags, id string) (bool, error)
func (*MockInterfaceLauncher) RequestSendToDesktop ¶
func (v *MockInterfaceLauncher) RequestSendToDesktop(flags dbus.Flags, id string) (bool, error)
func (*MockInterfaceLauncher) RequestUninstall ¶
func (v *MockInterfaceLauncher) RequestUninstall(flags dbus.Flags, id string, purge bool) error
func (*MockInterfaceLauncher) Search ¶
func (v *MockInterfaceLauncher) Search(flags dbus.Flags, key string) error
func (*MockInterfaceLauncher) SetDisableScaling ¶
func (v *MockInterfaceLauncher) SetDisableScaling(flags dbus.Flags, id string, value bool) error
func (*MockInterfaceLauncher) SetUseProxy ¶
func (v *MockInterfaceLauncher) SetUseProxy(flags dbus.Flags, id string, value bool) error
type MockLauncher ¶
type MockLauncher struct { MockInterfaceLauncher // interface org.deepin.dde.daemon.Launcher1 proxy.MockObject }
Click to show internal directories.
Click to hide internal directories.