Mir
shell_report.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2015 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  */
18 
19 #ifndef MIR_REPORT_NULL_SHELL_REPORT_H
20 #define MIR_REPORT_NULL_SHELL_REPORT_H
21 
22 #include "mir/shell/shell_report.h"
23 
24 namespace mir
25 {
26 namespace report
27 {
28 namespace null
29 {
31 {
32  void opened_session(scene::Session const& /*session*/) override;
33 
34  void closing_session(scene::Session const& /*session*/) override;
35 
36  void created_surface(
37  scene::Session const& /*session*/,
38  frontend::SurfaceId /*surface_id*/) override;
39 
40  void update_surface(
41  scene::Session const& /*session*/,
42  scene::Surface const& /*surface*/,
43  shell::SurfaceSpecification const& /*modifications*/) override;
44 
45  void update_surface(
46  scene::Session const& /*session*/,
47  scene::Surface const& /*surface*/,
48  MirSurfaceAttrib /*attrib*/, int /*value*/) override;
49 
50  void destroying_surface(
51  scene::Session const& /*session*/,
52  frontend::SurfaceId /*surface*/) override;
53 
54  void started_prompt_session(
55  scene::PromptSession const& /*prompt_session*/,
56  scene::Session const& /*session*/) override;
57 
58  void added_prompt_provider(
59  scene::PromptSession const& /*prompt_session*/,
60  scene::Session const& /*session*/) override;
61 
62  void stopping_prompt_session(
63  scene::PromptSession const& /*prompt_session*/) override;
64 
65  void adding_display(geometry::Rectangle const& /*area*/) override;
66 
67  void removing_display(geometry::Rectangle const& /*area*/) override;
68 
69  void input_focus_set_to(
70  scene::Session const* /*focus_session*/,
71  scene::Surface const* /*focus_surface*/) override;
72 
73  void surfaces_raised(shell::SurfaceSet const& /*surfaces*/) override;
74 };
75 }
76 }
77 }
78 
79 #endif //MIR_REPORT_NULL_SHELL_REPORT_H
All things Mir.
Definition: atomic_callback.h:25
Definition: prompt_session.h:30
Definition: shell_report.h:30
Definition: session.h:38
std::set< std::weak_ptr< scene::Surface >, std::owner_less< std::weak_ptr< scene::Surface >>> SurfaceSet
Definition: focus_controller.h:32
MirSurfaceAttrib
Attributes of a surface that the client and server/shell may wish to get or set over the wire...
Definition: common.h:34
Definition: shell_report.h:38
Definition: rectangle.h:33
Specification of surface properties requested by client.
Definition: surface_specification.h:50
Definition: surface.h:49

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