Mir
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 
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 
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_ */
All things Mir.
Definition: buffer_stream.h:37
void received_event(MirEvent const &event) override
Definition: input_receiver_report.cpp:121
Definition: input_receiver_report.h:31
Definition: event_deprecated.h:237
Definition: input_receiver_report.h:39

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015