// Code generated by "dbusutil-gen -type Manager manager.go"; DO NOT EDIT.

package airplane_mode

func (v *Manager) setPropEnabled(value bool) (changed bool) {
	if v.Enabled != value {
		v.Enabled = value
		v.emitPropChangedEnabled(value)
		return true
	}
	return false
}

func (v *Manager) emitPropChangedEnabled(value bool) error {
	return v.service.EmitPropertyChanged(v, "Enabled", value)
}

func (v *Manager) setPropHasAirplaneMode(value bool) (changed bool) {
	if v.HasAirplaneMode != value {
		v.HasAirplaneMode = value
		v.emitPropChangedHasAirplaneMode(value)
		return true
	}
	return false
}

func (v *Manager) emitPropChangedHasAirplaneMode(value bool) error {
	return v.service.EmitPropertyChanged(v, "HasAirplaneMode", value)
}

func (v *Manager) setPropWifiEnabled(value bool) (changed bool) {
	if v.WifiEnabled != value {
		v.WifiEnabled = value
		v.emitPropChangedWifiEnabled(value)
		return true
	}
	return false
}

func (v *Manager) emitPropChangedWifiEnabled(value bool) error {
	return v.service.EmitPropertyChanged(v, "WifiEnabled", value)
}

func (v *Manager) setPropBluetoothEnabled(value bool) (changed bool) {
	if v.BluetoothEnabled != value {
		v.BluetoothEnabled = value
		v.emitPropChangedBluetoothEnabled(value)
		return true
	}
	return false
}

func (v *Manager) emitPropChangedBluetoothEnabled(value bool) error {
	return v.service.EmitPropertyChanged(v, "BluetoothEnabled", value)
}
