Mir
|
#include <application_session.h>
Public Member Functions | |
ApplicationSession (std::shared_ptr< SurfaceFactory > const &surface_factory, std::string const &session_name, std::shared_ptr< SnapshotStrategy > const &snapshot_strategy, std::shared_ptr< SessionListener > const &session_listener, std::shared_ptr< frontend::EventSink > const &sink) | |
~ApplicationSession () | |
frontend::SurfaceId | create_surface (shell::SurfaceCreationParameters const ¶ms) |
void | destroy_surface (frontend::SurfaceId surface) |
std::shared_ptr < frontend::Surface > | get_surface (frontend::SurfaceId surface) const |
void | take_snapshot (SnapshotCallback const &snapshot_taken) |
std::shared_ptr< Surface > | default_surface () const |
std::string | name () const |
void | force_requests_to_complete () |
void | hide () |
void | show () |
void | send_display_config (graphics::DisplayConfiguration const &info) |
int | configure_surface (frontend::SurfaceId id, MirSurfaceAttrib attrib, int value) |
void | set_lifecycle_state (MirLifecycleState state) |
Protected Member Functions | |
ApplicationSession (ApplicationSession const &)=delete | |
ApplicationSession & | operator= (ApplicationSession const &)=delete |
mir::shell::ApplicationSession::ApplicationSession | ( | std::shared_ptr< SurfaceFactory > const & | surface_factory, |
std::string const & | session_name, | ||
std::shared_ptr< SnapshotStrategy > const & | snapshot_strategy, | ||
std::shared_ptr< SessionListener > const & | session_listener, | ||
std::shared_ptr< frontend::EventSink > const & | sink | ||
) |
mir::shell::ApplicationSession::~ApplicationSession | ( | ) |
|
protecteddelete |
|
virtual |
Implements mir::frontend::Session.
|
virtual |
Implements mir::frontend::Session.
|
virtual |
Implements mir::shell::Session.
|
virtual |
Implements mir::frontend::Session.
|
virtual |
Implements mir::shell::Session.
|
virtual |
Implements mir::frontend::Session.
|
virtual |
Implements mir::frontend::Session.
|
virtual |
Implements mir::shell::Session.
|
protecteddelete |
|
virtual |
Implements mir::frontend::Session.
void mir::shell::ApplicationSession::set_lifecycle_state | ( | MirLifecycleState | state) |
|
virtual |
Implements mir::frontend::Session.
|
virtual |
Implements mir::shell::Session.
Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013