Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linux_backlight), | intent(inout) | :: | this | |||
integer, | intent(out), | optional | :: | max_brightness |
elemental impure subroutine get_backlight_max_brightness(this, max_brightness)
class(linux_backlight), intent(inout) :: this
integer, intent(out), optional :: max_brightness
if (present(max_brightness)) max_brightness = this%max_brightness
if (this%debug=='on') print'(a,i0)', 'max brightness: ', this%max_brightness
end subroutine get_backlight_max_brightness