libthinkpad  2.6
https://github.com/libthinkpad
Public Member Functions | List of all members
ThinkPad::Hardware::ThinkLight Class Reference

The ThinkLight class is ued to probe for the ThinkLight state and validity. More...

#include <libthinkpad.h>

Public Member Functions

bool isOn ()
 check if the ThinkLight is currently on More...
 
bool probe ()
 probe the ThinkLight driver for validity More...
 

Detailed Description

The ThinkLight class is ued to probe for the ThinkLight state and validity.

Member Function Documentation

bool ThinkPad::Hardware::ThinkLight::isOn ( )

check if the ThinkLight is currently on

Returns
true if the ThinkLight is on
bool ThinkPad::Hardware::ThinkLight::probe ( )

probe the ThinkLight driver for validity

Returns
true if the thinklight driver is sane and ready

The documentation for this class was generated from the following files: