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 LocaleHelper
- type MockInterfaceLocaleHelper
- func (v *MockInterfaceLocaleHelper) ConnectSuccess(cb func(ok bool, reason string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceLocaleHelper) GenerateLocale(flags dbus.Flags, locale string) error
- func (v *MockInterfaceLocaleHelper) GoGenerateLocale(flags dbus.Flags, ch chan *dbus.Call, locale string) *dbus.Call
- func (v *MockInterfaceLocaleHelper) GoSetLocale(flags dbus.Flags, ch chan *dbus.Call, locale string) *dbus.Call
- func (v *MockInterfaceLocaleHelper) SetLocale(flags dbus.Flags, locale string) error
- type MockLocaleHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocaleHelper ¶
func NewLocaleHelper ¶
func NewLocaleHelper(conn *dbus.Conn) LocaleHelper
type MockInterfaceLocaleHelper ¶
func (*MockInterfaceLocaleHelper) ConnectSuccess ¶
func (v *MockInterfaceLocaleHelper) ConnectSuccess(cb func(ok bool, reason string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceLocaleHelper) GenerateLocale ¶
func (v *MockInterfaceLocaleHelper) GenerateLocale(flags dbus.Flags, locale string) error
func (*MockInterfaceLocaleHelper) GoGenerateLocale ¶
func (v *MockInterfaceLocaleHelper) GoGenerateLocale(flags dbus.Flags, ch chan *dbus.Call, locale string) *dbus.Call
func (*MockInterfaceLocaleHelper) GoSetLocale ¶
func (v *MockInterfaceLocaleHelper) GoSetLocale(flags dbus.Flags, ch chan *dbus.Call, locale string) *dbus.Call
func (*MockInterfaceLocaleHelper) SetLocale ¶
func (v *MockInterfaceLocaleHelper) SetLocale(flags dbus.Flags, locale string) error
type MockLocaleHelper ¶
type MockLocaleHelper struct { MockInterfaceLocaleHelper // interface com.deepin.api.LocaleHelper proxy.MockObject }
Click to show internal directories.
Click to hide internal directories.