Modularized backlight information retrieval
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#ifndef BRIGHTNESS_H
|
||||
#define BRIGHTNESS_H
|
||||
|
||||
class Brightness
|
||||
{
|
||||
public:
|
||||
Brightness();
|
||||
|
||||
void grabBrightness();
|
||||
void grabMaxBrightness();
|
||||
|
||||
unsigned getCurrentBrightness() const;
|
||||
unsigned getMaxBrightness() const;
|
||||
|
||||
private:
|
||||
unsigned currentBrightness;
|
||||
unsigned maxBrightness;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user