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

« back to all changes in this revision

Viewing changes to src/server/frontend/session_mediator.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-10-10 14:01:26 UTC
  • mto: This revision was merged to the branch mainline in revision 84.
  • Revision ID: package-import@ubuntu.com-20141010140126-n1czko8na1kuz4ll
Tags: upstream-0.8.0+14.10.20141010
ImportĀ upstreamĀ versionĀ 0.8.0+14.10.20141010

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include "mir/frontend/connection_context.h"
24
24
#include "mir/frontend/surface_id.h"
25
25
#include "mir/graphics/platform.h"
 
26
#include "mir/graphics/platform_ipc_operations.h"
26
27
#include "mir_toolkit/common.h"
27
28
#include "surface_tracker.h"
28
29
 
53
54
class Shell;
54
55
class Session;
55
56
class Surface;
56
 
class ResourceCache;
 
57
class MessageResourceCache;
57
58
class SessionMediatorReport;
58
59
class EventSink;
59
60
class DisplayChanger;
72
73
        std::vector<MirPixelFormat> const& surface_pixel_formats,
73
74
        std::shared_ptr<SessionMediatorReport> const& report,
74
75
        std::shared_ptr<EventSink> const& event_sink,
75
 
        std::shared_ptr<ResourceCache> const& resource_cache,
 
76
        std::shared_ptr<MessageResourceCache> const& resource_cache,
76
77
        std::shared_ptr<Screencast> const& screencast,
77
78
        ConnectionContext const& connection_context,
78
79
        std::shared_ptr<input::CursorImages> const& cursor_images);
98
99
        mir::protobuf::Buffer* response,
99
100
        google::protobuf::Closure* done) override;
100
101
 
 
102
    void exchange_buffer(
 
103
        google::protobuf::RpcController* controller,
 
104
        mir::protobuf::BufferRequest const* request,
 
105
        mir::protobuf::Buffer* response,
 
106
        google::protobuf::Closure* done) override;
 
107
 
101
108
    void release_surface(google::protobuf::RpcController* controller,
102
109
                         const mir::protobuf::SurfaceId*,
103
110
                         mir::protobuf::Void*,
175
182
    pid_t client_pid_;
176
183
    std::shared_ptr<Shell> const shell;
177
184
    std::shared_ptr<graphics::Platform> const graphics_platform;
 
185
    std::shared_ptr<graphics::PlatformIpcOperations> const ipc_operations;
178
186
 
179
187
    std::vector<MirPixelFormat> const surface_pixel_formats;
180
188
 
181
189
    std::shared_ptr<frontend::DisplayChanger> const display_changer;
182
190
    std::shared_ptr<SessionMediatorReport> const report;
183
191
    std::shared_ptr<EventSink> const event_sink;
184
 
    std::shared_ptr<ResourceCache> const resource_cache;
 
192
    std::shared_ptr<MessageResourceCache> const resource_cache;
185
193
    std::shared_ptr<Screencast> const screencast;
186
194
    ConnectionContext const connection_context;
187
195
    std::shared_ptr<input::CursorImages> const cursor_images;