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

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

Enumerations

enum class  core::ubuntu::media::power::DisplayState {
  core::ubuntu::media::power::off = 0 ,
  core::ubuntu::media::power::on = 1
}
 
enum class  core::ubuntu::media::power::SystemState {
  core::ubuntu::media::power::suspend = 0 ,
  core::ubuntu::media::power::active = 1 ,
  core::ubuntu::media::power::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)