Music Hub  ..
A session-wide music playback service
state_controller.h File Reference
#include <core/media/external_services.h>
#include <core/property.h>
#include <iosfwd>
#include <memory>
+ Include dependency graph for state_controller.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  core::ubuntu::media::power::StateController
 
struct  core::ubuntu::media::power::StateController::Lock< State >
 

Namespaces

 core
 
 core::ubuntu
 
 core::ubuntu::media
 
 core::ubuntu::media::power
 

Enumerations

enum  core::ubuntu::media::power::DisplayState {
  core::ubuntu::media::power::DisplayState::off = 0,
  core::ubuntu::media::power::DisplayState::on = 1
}
 
enum  core::ubuntu::media::power::SystemState {
  core::ubuntu::media::power::SystemState::suspend = 0,
  core::ubuntu::media::power::SystemState::active = 1,
  core::ubuntu::media::power::SystemState::blank_on_proximity = 2
}
 

Functions

StateController::Ptr core::ubuntu::media::power::make_platform_default_state_controller (core::ubuntu::media::helper::ExternalServices &)
 
std::ostream & core::ubuntu::media::power::operator<< (std::ostream &out, DisplayState state)
 
std::ostream & core::ubuntu::media::power::operator<< (std::ostream &out, SystemState state)