Music Hub  ..
A session-wide music playback service
lomiri::MediaHubService::power::DisplayInterface Class Reference
+ Collaboration diagram for lomiri::MediaHubService::power::DisplayInterface:

Public Types

using Callback = std::function< void(void)>
 

Public Member Functions

 DisplayInterface ()
 
void requestDisplayOn (const Callback &cb)
 
void releaseDisplayOn (const Callback &cb)
 

Detailed Description

Definition at line 52 of file state_controller.cpp.

Member Typedef Documentation

◆ Callback

Definition at line 63 of file state_controller.cpp.

Constructor & Destructor Documentation

◆ DisplayInterface()

lomiri::MediaHubService::power::DisplayInterface::DisplayInterface ( )
inline

Definition at line 54 of file state_controller.cpp.

Member Function Documentation

◆ releaseDisplayOn()

void lomiri::MediaHubService::power::DisplayInterface::releaseDisplayOn ( const Callback cb)
inline

◆ requestDisplayOn()

void lomiri::MediaHubService::power::DisplayInterface::requestDisplayOn ( const Callback cb)
inline

Definition at line 65 of file state_controller.cpp.

References MH_ERROR.


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