airplane_mode

package
v0.0.0-...-520a03a Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AirplaneModeState

type AirplaneModeState struct {
	Enabled bool

	WifiEnabled    bool
	WifiWillChange bool

	BtEnabled    bool
	BtWillChange bool

	Saved *savedEnabled
	// contains filtered or unexported fields
}

type Manager

type Manager struct {
	PropsMu          sync.RWMutex
	Enabled          bool
	WifiEnabled      bool
	BluetoothEnabled bool
	// contains filtered or unexported fields
}

func (*Manager) DumpState

func (m *Manager) DumpState() *dbus.Error

func (*Manager) Enable

func (m *Manager) Enable(sender dbus.Sender, enabled bool) *dbus.Error

func (*Manager) EnableBluetooth

func (m *Manager) EnableBluetooth(sender dbus.Sender, enabled bool) *dbus.Error

func (*Manager) EnableWifi

func (m *Manager) EnableWifi(sender dbus.Sender, enabled bool) *dbus.Error

func (*Manager) GetExportedMethods

func (v *Manager) GetExportedMethods() dbusutil.ExportedMethods

func (*Manager) GetInterfaceName

func (m *Manager) GetInterfaceName() string

type Module

type Module struct {
	*loader.ModuleBase
	// contains filtered or unexported fields
}

func NewModule

func NewModule() *Module

func (*Module) GetDependencies

func (m *Module) GetDependencies() []string

func (*Module) Start

func (m *Module) Start() error

func (*Module) Stop

func (m *Module) Stop() error

func (*Module) WaitEnable

func (m *Module) WaitEnable()

type RfkillDev

type RfkillDev struct {
	Type string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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