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

« back to all changes in this revision

Viewing changes to src/client/surface_map.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-01-08 02:04:38 UTC
  • mto: This revision was merged to the branch mainline in revision 58.
  • Revision ID: package-import@ubuntu.com-20140108020438-e1npu0pm7qdv5wc4
Tags: upstream-0.1.3+14.04.20140108
ImportĀ upstreamĀ versionĀ 0.1.3+14.04.20140108

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef MIR_CLIENT_SURFACE_MAP_H_
20
20
#define MIR_CLIENT_SURFACE_MAP_H_
21
21
 
22
 
#include "mir_toolkit/client_types.h"
23
22
#include <functional>
24
23
 
 
24
struct MirSurface;
 
25
 
25
26
namespace mir
26
27
{
27
28
namespace client
31
32
{
32
33
public:
33
34
    virtual void with_surface_do(
34
 
        int const& surface_id, std::function<void(MirSurface*)> exec) = 0;
35
 
    virtual void insert(int const& surface_id, MirSurface* surface) = 0;
36
 
    virtual void erase(int surface_id) = 0;
 
35
        int surface_id, std::function<void(MirSurface*)> exec) const = 0;
37
36
 
38
37
protected:
39
38
    virtual ~SurfaceMap() = default;