localehelper

package
v0.0.0-...-454a0ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: GPL-3.0 Imports: 7 Imported by: 1

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 LocaleHelper

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

func NewLocaleHelper

func NewLocaleHelper(conn *dbus.Conn) LocaleHelper

type MockInterfaceLocaleHelper

type MockInterfaceLocaleHelper struct {
	mock.Mock
}

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
}

Jump to

Keyboard shortcuts

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