~robertcarr/mir/client-focus-notifications

« back to all changes in this revision

Viewing changes to include/server/mir/surfaces/input_registrar.h

  • Committer: Robert Carr
  • Date: 2013-08-01 22:01:20 UTC
  • mfrom: (706.2.208 trunk)
  • Revision ID: robert.carr@canonical.com-20130801220120-6m230b3g6x0xflzd
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef MIR_SURFACES_INPUT_REGISTRAR_H_
20
20
#define MIR_SURFACES_INPUT_REGISTRAR_H_
21
21
 
 
22
#include "mir/input/input_reception_mode.h"
 
23
 
22
24
#include <memory>
23
25
 
24
26
namespace mir
41
43
    virtual ~InputRegistrar() = default;
42
44
    
43
45
    virtual void input_channel_opened(std::shared_ptr<input::InputChannel> const& opened_channel,
44
 
                                      std::shared_ptr<input::Surface> const& info) = 0;
 
46
                                      std::shared_ptr<input::Surface> const& info,
 
47
                                      input::InputReceptionMode input_mode) = 0;
45
48
    virtual void input_channel_closed(std::shared_ptr<input::InputChannel> const& closed_channel) = 0;
46
49
 
47
50
protected: