Mir
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
client
logging
input_receiver_report.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2013 Canonical Ltd.
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License version 3 as
6
* published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Lesser General Public License for more details.
12
*
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* Authored by: Alexandros Frantzis <alexandros.frantzis@canonical.com>
17
*/
18
19
#ifndef MIR_CLIENT_LOGGING_INPUT_RECEIVER_REPORT_H_
20
#define MIR_CLIENT_LOGGING_INPUT_RECEIVER_REPORT_H_
21
22
#include "
mir/input/input_receiver_report.h
"
23
24
#include <memory>
25
26
namespace
mir
27
{
28
29
namespace
logging
30
{
31
class
Logger;
32
}
33
34
namespace
client
35
{
36
namespace
logging
37
{
38
39
class
InputReceiverReport
:
public
input::receiver::InputReceiverReport
40
{
41
public
:
42
InputReceiverReport
(std::shared_ptr<mir::logging::Logger>
const
& logger);
43
44
void
received_event
(
MirEvent
const
& event)
override
;
45
46
private
:
47
std::shared_ptr<mir::logging::Logger>
const
logger;
48
};
49
50
}
51
}
52
}
53
54
#endif
/* MIR_CLIENT_LOGGING_INPUT_RECEIVER_REPORT_H_ */
mir::client::logging::InputReceiverReport::received_event
void received_event(MirEvent const &event) override
Definition:
input_receiver_report.cpp:116
mir::input::receiver::InputReceiverReport
Definition:
input_receiver_report.h:31
mir::input::receiver::InputReceiverReport::InputReceiverReport
InputReceiverReport()=default
input_receiver_report.h
MirEvent
Definition:
event.h:207
mir::client::logging::InputReceiverReport
Definition:
input_receiver_report.h:39
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014