Music Hub  ..
A session-wide music playback service
lomiri::MediaHubService::power Namespace Reference

Classes

class  BatteryObserver
 
class  BatteryObserverPrivate
 
struct  CreatableStateController
 
class  DisplayInterface
 
class  StateController
 
class  StateControllerPrivate
 
class  SystemStateInterface
 

Enumerations

enum  Level {
  Level::unknown,
  Level::ok,
  Level::low,
  Level::very_low,
  Level::critical
}
 
enum  SystemState {
  SystemState::suspend = 0,
  SystemState::active = 1,
  SystemState::blank_on_proximity = 2
}
 

Functions

uint qHash (SystemState state, uint seed)
 

Enumeration Type Documentation

◆ Level

Enumerator
unknown 
ok 
low 
very_low 
critical 

Definition at line 34 of file battery_observer.h.

◆ SystemState

Enumerator
suspend 
active 
blank_on_proximity 

Definition at line 37 of file state_controller.h.

Function Documentation

◆ qHash()

uint lomiri::MediaHubService::power::qHash ( SystemState  state,
uint  seed 
)

Definition at line 48 of file state_controller.cpp.