Mir
session_mediator_report.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2012,2014 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License version 3,
6  * as 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 General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored by: Alan Griffiths <alan@octopull.co.uk>
17  * Andreas Pokorny <andreas.pokorny@canonical.com>
18  */
19 
20 
21 #ifndef MIR_REPORT_NULL_SESSION_MEDIATOR_REPORT_H_
22 #define MIR_REPORT_NULL_SESSION_MEDIATOR_REPORT_H_
23 
25 
26 #include <string>
27 
28 namespace mir
29 {
30 namespace report
31 {
32 namespace null
33 {
34 
35 // Do-nothing implementation to satisfy dependencies
37 {
38  void session_connect_called(std::string const& app_name) override;
39 
40  void session_create_surface_called(std::string const& app_name) override;
41 
42  void session_exchange_buffer_called(std::string const& app_name) override;
43 
44  void session_submit_buffer_called(std::string const& app_name) override;
45 
46  void session_allocate_buffers_called(std::string const& app_name) override;
47 
48  void session_release_buffers_called(std::string const& app_name) override;
49 
50  void session_release_surface_called(std::string const& app_name) override;
51 
52  void session_disconnect_called(std::string const& app_name) override;
53 
54  void session_configure_surface_called(std::string const& app_name) override;
55 
56  void session_configure_surface_cursor_called(std::string const& app_name) override;
57 
58  void session_configure_display_called(std::string const& app_name) override;
59 
60  void session_set_base_display_configuration_called(std::string const& app_name) override;
61 
62  void session_preview_base_display_configuration_called(std::string const& app_name) override;
63 
64  void session_confirm_base_display_configuration_called(std::string const& app_name) override;
65 
66  void session_start_prompt_session_called(std::string const& app_name, pid_t application_process) override;
67 
68  void session_stop_prompt_session_called(std::string const& app_name) override;
69 
70  void session_create_buffer_stream_called(std::string const& app_name) override;
71 
72  void session_release_buffer_stream_called(std::string const& app_name) override;
73 
74  void session_error(
75  std::string const& app_name,
76  char const* method,
77  std::string const& what) override;
78 };
79 }
80 }
81 }
82 
83 
84 #endif /* MIR_FRONTEND_SESSION_MEDIATOR_REPORT_H_ */
Definition: session_mediator_report.h:36
All things Mir.
Definition: atomic_callback.h:25
Definition: session_mediator_report.h:32

Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Sep 8 14:50:19 UTC 2016