Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
mir::test::doubles::StubShell Struct Reference

#include <stub_shell.h>

Inheritance diagram for mir::test::doubles::StubShell:
Inheritance graph
[legend]

Public Member Functions

 StubShell ()
 
std::shared_ptr
< frontend::Session
open_session (std::string const &, std::shared_ptr< frontend::EventSink > const &) override
 
void close_session (std::shared_ptr< frontend::Session > const &) override
 
frontend::SurfaceId create_surface_for (std::shared_ptr< frontend::Session > const &, shell::SurfaceCreationParameters const &) override
 
void handle_surface_created (std::shared_ptr< frontend::Session > const &) override
 
- Public Member Functions inherited from mir::frontend::Shell
virtual ~Shell ()
 
virtual std::shared_ptr< Sessionopen_session (std::string const &name, std::shared_ptr< EventSink > const &sink)=0
 
virtual void close_session (std::shared_ptr< Session > const &session)=0
 
virtual SurfaceId create_surface_for (std::shared_ptr< Session > const &session, shell::SurfaceCreationParameters const &params)=0
 
virtual void handle_surface_created (std::shared_ptr< Session > const &session)=0
 

Public Attributes

std::shared_ptr< StubSession >
const 
stub_session
 

Additional Inherited Members

- Protected Member Functions inherited from mir::frontend::Shell
 Shell ()=default
 
 Shell (const Shell &)=delete
 
Shelloperator= (const Shell &)=delete
 

Constructor & Destructor Documentation

mir::test::doubles::StubShell::StubShell ( )
inline

Member Function Documentation

void mir::test::doubles::StubShell::close_session ( std::shared_ptr< frontend::Session > const &  )
inlineoverride
frontend::SurfaceId mir::test::doubles::StubShell::create_surface_for ( std::shared_ptr< frontend::Session > const &  ,
shell::SurfaceCreationParameters const &   
)
inlineoverride
void mir::test::doubles::StubShell::handle_surface_created ( std::shared_ptr< frontend::Session > const &  )
inlineoverride
std::shared_ptr<frontend::Session> mir::test::doubles::StubShell::open_session ( std::string const &  ,
std::shared_ptr< frontend::EventSink > const &   
)
inlineoverride

Member Data Documentation

std::shared_ptr<StubSession> const mir::test::doubles::StubShell::stub_session

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

Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013