~ubuntu-branches/ubuntu/wily/mir/wily-proposed

« back to all changes in this revision

Viewing changes to include/server/mir/frontend/session.h

  • Committer: Package Import Robot
  • Author(s): CI Train Bot
  • Date: 2015-05-12 13:12:55 UTC
  • mto: This revision was merged to the branch mainline in revision 96.
  • Revision ID: package-import@ubuntu.com-20150512131255-y7z12i8n4pbvo70x
Tags: upstream-0.13.0+15.10.20150512
ImportĀ upstreamĀ versionĀ 0.13.0+15.10.20150512

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include "mir_toolkit/common.h"
23
23
#include "mir/frontend/surface_id.h"
 
24
#include "mir/frontend/buffer_stream_id.h"
24
25
 
25
26
#include <memory>
26
27
#include <string>
30
31
namespace graphics
31
32
{
32
33
class DisplayConfiguration;
 
34
class BufferProperties;
33
35
}
34
36
 
35
37
namespace frontend
36
38
{
37
39
class Surface;
 
40
class BufferStream;
38
41
 
39
42
class Session
40
43
{
43
46
 
44
47
    virtual std::shared_ptr<Surface> get_surface(SurfaceId surface) const = 0;
45
48
 
 
49
    virtual std::shared_ptr<BufferStream> get_buffer_stream(BufferStreamId stream) const = 0;
 
50
    virtual BufferStreamId create_buffer_stream(graphics::BufferProperties const& props) = 0;
 
51
    virtual void destroy_buffer_stream(BufferStreamId stream) = 0;
 
52
 
46
53
    virtual std::string name() const = 0;
47
54
 
48
55
protected: