Merge lp:~raof/mir/hide-internal-symbols into lp:mir
- hide-internal-symbols
- Merge into development-branch
Status: | Work in progress |
---|---|
Proposed branch: | lp:~raof/mir/hide-internal-symbols |
Merge into: | lp:mir |
Diff against target: |
1715 lines (+209/-92) 80 files modified
include/server/mir/frontend/protobuf_connection_creator.h (+1/-0) include/shared/mir/visibility.h (+32/-0) include/test/mir_test_doubles/stub_ipc_factory.h (+2/-1) src/server/CMakeLists.txt (+10/-1) src/server/compositor/buffer_bundle.h (+2/-1) src/server/compositor/buffer_queue.h (+2/-1) src/server/compositor/buffer_stream_factory.h (+2/-1) src/server/compositor/buffer_stream_surfaces.h (+2/-1) src/server/compositor/compositing_screencast.h (+2/-1) src/server/compositor/multi_threaded_compositor.h (+2/-1) src/server/compositor/occlusion.h (+2/-1) src/server/compositor/temporary_buffers.h (+4/-3) src/server/frontend/client_buffer_tracker.h (+2/-1) src/server/frontend/default_ipc_factory.h (+2/-1) src/server/frontend/display_server.h (+2/-1) src/server/frontend/message_receiver.h (+1/-0) src/server/frontend/no_prompt_shell.h (+2/-1) src/server/frontend/protobuf_ipc_factory.h (+1/-0) src/server/frontend/protobuf_message_processor.h (+2/-1) src/server/frontend/protobuf_responder.h (+2/-1) src/server/frontend/published_socket_connector.h (+3/-2) src/server/frontend/resource_cache.h (+2/-1) src/server/frontend/session_mediator.h (+2/-1) src/server/frontend/socket_connection.h (+1/-0) src/server/frontend/socket_messenger.h (+3/-2) src/server/graphics/default_display_configuration_policy.h (+2/-1) src/server/graphics/nested/nested_display.h (+4/-3) src/server/graphics/nested/nested_output.h (+2/-1) src/server/graphics/nested/nested_platform.h (+2/-1) src/server/graphics/offscreen/display.h (+3/-2) src/server/graphics/offscreen/display_configuration.h (+2/-1) src/server/graphics/program_factory.h (+2/-1) src/server/input/android/android_input_manager.h (+2/-1) src/server/input/android/android_input_reader_policy.h (+2/-1) src/server/input/android/android_input_registrar.h (+2/-1) src/server/input/android/android_input_target_enumerator.h (+2/-1) src/server/input/android/android_input_targeter.h (+2/-1) src/server/input/android/android_input_thread.h (+3/-1) src/server/input/android/android_pointer_controller.h (+2/-1) src/server/input/android/android_window_handle_repository.h (+2/-1) src/server/input/android/common_input_thread.h (+2/-1) src/server/input/android/input_channel_factory.h (+2/-1) src/server/input/android/input_send_entry.h (+2/-1) src/server/input/android/rudimentary_input_reader_policy.h (+3/-1) src/server/input/cursor_controller.h (+2/-1) src/server/input/default_configuration.cpp (+1/-1) src/server/input/event_filter_chain.h (+2/-1) src/server/input/null_input_channel_factory.h (+2/-1) src/server/input/null_input_dispatcher.h (+2/-1) src/server/input/null_input_manager.h (+2/-1) src/server/input/null_input_send_observer.h (+2/-1) src/server/report/lttng/compositor_report.h (+2/-1) src/server/report/lttng/input_report.h (+2/-1) src/server/report/lttng/message_processor_report.h (+2/-1) src/server/report/lttng/scene_report.h (+2/-1) src/server/report/lttng_report_factory.h (+2/-1) src/server/report/null/input_report.h (+2/-1) src/server/report/null/scene_report.h (+2/-1) src/server/report/null_report_factory.h (+9/-8) src/server/scene/broadcasting_session_event_sink.h (+3/-2) src/server/scene/default_configuration.cpp (+3/-3) src/server/scene/default_session_container.h (+2/-1) src/server/scene/gl_pixel_buffer.h (+2/-1) src/server/scene/global_event_sender.h (+2/-1) src/server/scene/mediating_display_changer.h (+3/-2) src/server/scene/prompt_session_manager_impl.h (+2/-1) src/server/scene/session_container.h (+1/-0) src/server/scene/session_event_handler_register.h (+2/-1) src/server/scene/session_manager.h (+2/-1) src/server/scene/snapshot_strategy.h (+2/-1) src/server/scene/surface_controller.h (+2/-1) src/server/scene/surface_stack.h (+4/-2) src/server/scene/threaded_snapshot_strategy.h (+1/-1) src/server/shell/consuming_placement_strategy.h (+2/-1) src/server/shell/default_focus_mechanism.h (+2/-1) src/server/shell/null_host_lifecycle_event_listener.h (+2/-1) tests/CMakeLists.txt (+2/-0) tests/acceptance-tests/CMakeLists.txt (+1/-1) tests/integration-tests/CMakeLists.txt (+1/-1) tests/unit-tests/CMakeLists.txt (+1/-1) |
To merge this branch: | bzr merge lp:~raof/mir/hide-internal-symbols |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Needs Fixing | ||
Alan Griffiths | Abstain | ||
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Review via email: mp+227144@code.launchpad.net |
Commit message
Hide server-internal symbols using the new MIR_INTERNAL define.
Results in a modest 15% reduction in the set of exported symbols from libmirserver.so
Description of the change
Hide server-internal symbols using the new MIR_INTERNAL define.
Results in a modest 15% reduction in the set of exported symbols from libmirserver.so
- 1773. By Chris Halse Rogers
-
Merge trunk, resolving SOVER bump conflict
- 1774. By Chris Halse Rogers
-
Hide new symbols from trunk merge
- 1775. By Chris Halse Rogers
-
Ahem. Actually include visibility.h in bzr
PS Jenkins bot (ps-jenkins) wrote : | # |
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1775
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1776. By Chris Halse Rogers
-
Explicitly mark some DefaultServerCo
nfiguration as exported. If someone could pipe up with some idea of *why* this fixes linkage on ARM,
that'd be ace! - 1777. By Chris Halse Rogers
-
A little more visibility
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1777
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Alan Griffiths (alan-griffiths) wrote : | # |
I *think* we can do better than this. I'm not sure how yet but have started thinking about it.
My idea solution wouldn't use macros but would use the location of the include files to control visibility.
Maybe we can use the GCC python plugin. There's an example:
http://
The plugin could inspect each function definition as it compiles, and if the source location of the declaration is in <root>/include/ mark it public. (I.e. write it to a symbols file?)
Or something similar based on libclang?
Anyway, not for this week.
Daniel van Vugt (vanvugt) wrote : | # |
Sorry, we sat on this too long...
Text conflict in src/server/
Text conflict in src/server/
Text conflict in tests/integrati
Text conflict in tests/unit-
4 conflicts encountered.
Robert Carr (robertcarr) wrote : | # |
>> The plugin could inspect each function definition as it compiles, and if the source location of
>> the declaration is in <root>/include/ mark it public. (I.e. write it to a symbols file?)
Then we would strip the symbol after build? Seems cool I guess...I think it's kind of a pain to write MIR_INTERNAL everywhere
Chris Halse Rogers (raof) wrote : | # |
The profusion of MIR_INTERNAL is meant to be temporary, until we mark
all the things we actually want to export as MIR_API and flip to
-fvisibility=
We'd still potentially want MIR_INTERNAL to hide bits of publicly
exported classes, but we'd use it a lot less.
Alan Griffiths (alan-griffiths) wrote : | # |
> >> The plugin could inspect each function definition as it compiles, and if
> the source location of
> >> the declaration is in <root>/include/ mark it public. (I.e. write it to a
> symbols file?)
>
> Then we would strip the symbol after build?
Well, after compiling: during the link part of the build.
> Seems cool I guess...I think it's
> kind of a pain to write MIR_INTERNAL everywhere
The sad thing is that the compiler plugin [https:/
Unmerged revisions
- 1777. By Chris Halse Rogers
-
A little more visibility
- 1776. By Chris Halse Rogers
-
Explicitly mark some DefaultServerCo
nfiguration as exported. If someone could pipe up with some idea of *why* this fixes linkage on ARM,
that'd be ace! - 1775. By Chris Halse Rogers
-
Ahem. Actually include visibility.h in bzr
- 1774. By Chris Halse Rogers
-
Hide new symbols from trunk merge
- 1773. By Chris Halse Rogers
-
Merge trunk, resolving SOVER bump conflict
- 1772. By Chris Halse Rogers
-
Fix test linkage by building a mirserver-static archive
- 1771. By Chris Halse Rogers
-
Mark a whole bunch of internal symbols as visibility=hidden
This breaks linking the tests at the moment; followup work will fix them
Preview Diff
1 | === modified file 'include/server/mir/frontend/protobuf_connection_creator.h' | |||
2 | --- include/server/mir/frontend/protobuf_connection_creator.h 2014-06-03 11:04:15 +0000 | |||
3 | +++ include/server/mir/frontend/protobuf_connection_creator.h 2014-07-18 06:57:43 +0000 | |||
4 | @@ -19,6 +19,7 @@ | |||
5 | 19 | #ifndef MIR_FRONTEND_PROTOBUF_CONNECTION_CREATOR_H_ | 19 | #ifndef MIR_FRONTEND_PROTOBUF_CONNECTION_CREATOR_H_ |
6 | 20 | #define MIR_FRONTEND_PROTOBUF_CONNECTION_CREATOR_H_ | 20 | #define MIR_FRONTEND_PROTOBUF_CONNECTION_CREATOR_H_ |
7 | 21 | 21 | ||
8 | 22 | #include "mir/visibility.h" | ||
9 | 22 | #include "mir/frontend/connection_creator.h" | 23 | #include "mir/frontend/connection_creator.h" |
10 | 23 | #include "mir/frontend/connections.h" | 24 | #include "mir/frontend/connections.h" |
11 | 24 | 25 | ||
12 | 25 | 26 | ||
13 | === added file 'include/shared/mir/visibility.h' | |||
14 | --- include/shared/mir/visibility.h 1970-01-01 00:00:00 +0000 | |||
15 | +++ include/shared/mir/visibility.h 2014-07-18 06:57:43 +0000 | |||
16 | @@ -0,0 +1,32 @@ | |||
17 | 1 | /* | ||
18 | 2 | * Copyright © 2014 Canonical Ltd. | ||
19 | 3 | * | ||
20 | 4 | * This program is free software: you can redistribute it and/or modify | ||
21 | 5 | * it under the terms of the GNU Lesser General Public License version 3 as | ||
22 | 6 | * published by the Free Software Foundation. | ||
23 | 7 | * | ||
24 | 8 | * This program is distributed in the hope that it will be useful, | ||
25 | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
26 | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
27 | 11 | * GNU Lesser General Public License for more details. | ||
28 | 12 | * | ||
29 | 13 | * You should have received a copy of the GNU Lesser General Public License | ||
30 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
31 | 15 | * | ||
32 | 16 | * Authored by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> | ||
33 | 17 | */ | ||
34 | 18 | |||
35 | 19 | #ifndef MIR_VISIBILITY_H_ | ||
36 | 20 | #define MIR_VISIBILITY_H_ | ||
37 | 21 | |||
38 | 22 | /* | ||
39 | 23 | * Keep the attribute bit hidden in here; it's plausible that we might want to | ||
40 | 24 | * support different compilers and such. | ||
41 | 25 | * | ||
42 | 26 | * Also, MIR_FOO is more descriptive | ||
43 | 27 | */ | ||
44 | 28 | |||
45 | 29 | #define MIR_INTERNAL __attribute__ ((visibility ("hidden"))) | ||
46 | 30 | #define MIR_API __attribute__ ((visibility ("default"))) | ||
47 | 31 | |||
48 | 32 | #endif | ||
49 | 0 | 33 | ||
50 | === modified file 'include/test/mir_test_doubles/stub_ipc_factory.h' | |||
51 | --- include/test/mir_test_doubles/stub_ipc_factory.h 2014-06-03 11:04:15 +0000 | |||
52 | +++ include/test/mir_test_doubles/stub_ipc_factory.h 2014-07-18 06:57:43 +0000 | |||
53 | @@ -20,6 +20,7 @@ | |||
54 | 20 | #ifndef MIR_TEST_DOUBLES_STUB_IPC_FACTORY_H_ | 20 | #ifndef MIR_TEST_DOUBLES_STUB_IPC_FACTORY_H_ |
55 | 21 | #define MIR_TEST_DOUBLES_STUB_IPC_FACTORY_H_ | 21 | #define MIR_TEST_DOUBLES_STUB_IPC_FACTORY_H_ |
56 | 22 | 22 | ||
57 | 23 | #include "mir/visibility.h" | ||
58 | 23 | #include "mir_test/fake_shared.h" | 24 | #include "mir_test/fake_shared.h" |
59 | 24 | #include "src/server/frontend/protobuf_ipc_factory.h" | 25 | #include "src/server/frontend/protobuf_ipc_factory.h" |
60 | 25 | #include "src/server/frontend/resource_cache.h" | 26 | #include "src/server/frontend/resource_cache.h" |
61 | @@ -35,7 +36,7 @@ | |||
62 | 35 | namespace doubles | 36 | namespace doubles |
63 | 36 | { | 37 | { |
64 | 37 | 38 | ||
66 | 38 | class StubIpcFactory : public frontend::ProtobufIpcFactory | 39 | class MIR_INTERNAL StubIpcFactory : public frontend::ProtobufIpcFactory |
67 | 39 | { | 40 | { |
68 | 40 | public: | 41 | public: |
69 | 41 | StubIpcFactory(frontend::detail::DisplayServer& server) : | 42 | StubIpcFactory(frontend::detail::DisplayServer& server) : |
70 | 42 | 43 | ||
71 | === modified file 'src/server/CMakeLists.txt' | |||
72 | --- src/server/CMakeLists.txt 2014-07-08 06:42:38 +0000 | |||
73 | +++ src/server/CMakeLists.txt 2014-07-18 06:57:43 +0000 | |||
74 | @@ -39,6 +39,10 @@ | |||
75 | 39 | ${SRCS} | 39 | ${SRCS} |
76 | 40 | ) | 40 | ) |
77 | 41 | 41 | ||
78 | 42 | add_library(mirserver-static STATIC | ||
79 | 43 | ${SRCS} | ||
80 | 44 | ) | ||
81 | 45 | |||
82 | 42 | list(APPEND MIRSERVER_ARCHIVES | 46 | list(APPEND MIRSERVER_ARCHIVES |
83 | 43 | miroptions | 47 | miroptions |
84 | 44 | mircompositor | 48 | mircompositor |
85 | @@ -54,8 +58,8 @@ | |||
86 | 54 | mirshell | 58 | mirshell |
87 | 55 | mirscene | 59 | mirscene |
88 | 56 | mirtime | 60 | mirtime |
89 | 61 | mirreport | ||
90 | 57 | mirlttng | 62 | mirlttng |
91 | 58 | mirreport | ||
92 | 59 | mirlogger | 63 | mirlogger |
93 | 60 | mirnestedgraphics | 64 | mirnestedgraphics |
94 | 61 | miroffscreengraphics | 65 | miroffscreengraphics |
95 | @@ -98,6 +102,11 @@ | |||
96 | 98 | ) | 102 | ) |
97 | 99 | endif() | 103 | endif() |
98 | 100 | 104 | ||
99 | 105 | target_link_libraries(mirserver-static | ||
100 | 106 | ${MIRSERVER_ARCHIVES} | ||
101 | 107 | ${MIRSERVER_LINKS} | ||
102 | 108 | ) | ||
103 | 109 | |||
104 | 101 | set(MIRSERVER_ABI 23) # Be sure to increment MIR_VERSION_MINOR at the same time | 110 | set(MIRSERVER_ABI 23) # Be sure to increment MIR_VERSION_MINOR at the same time |
105 | 102 | 111 | ||
106 | 103 | set_target_properties( | 112 | set_target_properties( |
107 | 104 | 113 | ||
108 | === modified file 'src/server/compositor/buffer_bundle.h' | |||
109 | --- src/server/compositor/buffer_bundle.h 2014-05-21 08:38:47 +0000 | |||
110 | +++ src/server/compositor/buffer_bundle.h 2014-07-18 06:57:43 +0000 | |||
111 | @@ -20,6 +20,7 @@ | |||
112 | 20 | #ifndef MIR_COMPOSITOR_BUFFER_BUNDLE_H_ | 20 | #ifndef MIR_COMPOSITOR_BUFFER_BUNDLE_H_ |
113 | 21 | #define MIR_COMPOSITOR_BUFFER_BUNDLE_H_ | 21 | #define MIR_COMPOSITOR_BUFFER_BUNDLE_H_ |
114 | 22 | 22 | ||
115 | 23 | #include "mir/visibility.h" | ||
116 | 23 | #include "mir/graphics/buffer_properties.h" | 24 | #include "mir/graphics/buffer_properties.h" |
117 | 24 | #include <memory> | 25 | #include <memory> |
118 | 25 | 26 | ||
119 | @@ -30,7 +31,7 @@ | |||
120 | 30 | namespace compositor | 31 | namespace compositor |
121 | 31 | { | 32 | { |
122 | 32 | 33 | ||
124 | 33 | class BufferBundle | 34 | class MIR_INTERNAL BufferBundle |
125 | 34 | { | 35 | { |
126 | 35 | public: | 36 | public: |
127 | 36 | virtual ~BufferBundle() noexcept {} | 37 | virtual ~BufferBundle() noexcept {} |
128 | 37 | 38 | ||
129 | === modified file 'src/server/compositor/buffer_queue.h' | |||
130 | --- src/server/compositor/buffer_queue.h 2014-07-14 03:49:17 +0000 | |||
131 | +++ src/server/compositor/buffer_queue.h 2014-07-18 06:57:43 +0000 | |||
132 | @@ -18,6 +18,7 @@ | |||
133 | 18 | #ifndef MIR_BUFFER_QUEUE_H_ | 18 | #ifndef MIR_BUFFER_QUEUE_H_ |
134 | 19 | #define MIR_BUFFER_QUEUE_H_ | 19 | #define MIR_BUFFER_QUEUE_H_ |
135 | 20 | 20 | ||
136 | 21 | #include "mir/visibility.h" | ||
137 | 21 | #include "mir/compositor/frame_dropping_policy_factory.h" | 22 | #include "mir/compositor/frame_dropping_policy_factory.h" |
138 | 22 | #include "mir/compositor/frame_dropping_policy.h" | 23 | #include "mir/compositor/frame_dropping_policy.h" |
139 | 23 | #include "buffer_bundle.h" | 24 | #include "buffer_bundle.h" |
140 | @@ -37,7 +38,7 @@ | |||
141 | 37 | namespace compositor | 38 | namespace compositor |
142 | 38 | { | 39 | { |
143 | 39 | 40 | ||
145 | 40 | class BufferQueue : public BufferBundle | 41 | class MIR_INTERNAL BufferQueue : public BufferBundle |
146 | 41 | { | 42 | { |
147 | 42 | public: | 43 | public: |
148 | 43 | typedef std::function<void(graphics::Buffer* buffer)> Callback; | 44 | typedef std::function<void(graphics::Buffer* buffer)> Callback; |
149 | 44 | 45 | ||
150 | === modified file 'src/server/compositor/buffer_stream_factory.h' | |||
151 | --- src/server/compositor/buffer_stream_factory.h 2014-06-09 17:16:32 +0000 | |||
152 | +++ src/server/compositor/buffer_stream_factory.h 2014-07-18 06:57:43 +0000 | |||
153 | @@ -21,6 +21,7 @@ | |||
154 | 21 | #ifndef MIR_COMPOSITOR_BUFFER_STREAM_FACTORY_H_ | 21 | #ifndef MIR_COMPOSITOR_BUFFER_STREAM_FACTORY_H_ |
155 | 22 | #define MIR_COMPOSITOR_BUFFER_STREAM_FACTORY_H_ | 22 | #define MIR_COMPOSITOR_BUFFER_STREAM_FACTORY_H_ |
156 | 23 | 23 | ||
157 | 24 | #include "mir/visibility.h" | ||
158 | 24 | #include "mir/scene/buffer_stream_factory.h" | 25 | #include "mir/scene/buffer_stream_factory.h" |
159 | 25 | #include "mir/compositor/frame_dropping_policy_factory.h" | 26 | #include "mir/compositor/frame_dropping_policy_factory.h" |
160 | 26 | 27 | ||
161 | @@ -35,7 +36,7 @@ | |||
162 | 35 | namespace compositor | 36 | namespace compositor |
163 | 36 | { | 37 | { |
164 | 37 | 38 | ||
166 | 38 | class BufferStreamFactory : public scene::BufferStreamFactory | 39 | class MIR_INTERNAL BufferStreamFactory : public scene::BufferStreamFactory |
167 | 39 | { | 40 | { |
168 | 40 | public: | 41 | public: |
169 | 41 | BufferStreamFactory(std::shared_ptr<graphics::GraphicBufferAllocator> const& gralloc, | 42 | BufferStreamFactory(std::shared_ptr<graphics::GraphicBufferAllocator> const& gralloc, |
170 | 42 | 43 | ||
171 | === modified file 'src/server/compositor/buffer_stream_surfaces.h' | |||
172 | --- src/server/compositor/buffer_stream_surfaces.h 2014-05-22 10:00:05 +0000 | |||
173 | +++ src/server/compositor/buffer_stream_surfaces.h 2014-07-18 06:57:43 +0000 | |||
174 | @@ -20,6 +20,7 @@ | |||
175 | 20 | #ifndef MIR_COMPOSITOR_BUFFER_STREAM_SCENE_H_ | 20 | #ifndef MIR_COMPOSITOR_BUFFER_STREAM_SCENE_H_ |
176 | 21 | #define MIR_COMPOSITOR_BUFFER_STREAM_SCENE_H_ | 21 | #define MIR_COMPOSITOR_BUFFER_STREAM_SCENE_H_ |
177 | 22 | 22 | ||
178 | 23 | #include "mir/visibility.h" | ||
179 | 23 | #include "mir/compositor/buffer_stream.h" | 24 | #include "mir/compositor/buffer_stream.h" |
180 | 24 | 25 | ||
181 | 25 | #include <mutex> | 26 | #include <mutex> |
182 | @@ -33,7 +34,7 @@ | |||
183 | 33 | class BufferBundle; | 34 | class BufferBundle; |
184 | 34 | class BackBufferStrategy; | 35 | class BackBufferStrategy; |
185 | 35 | 36 | ||
187 | 36 | class BufferStreamSurfaces : public BufferStream | 37 | class MIR_INTERNAL BufferStreamSurfaces : public BufferStream |
188 | 37 | { | 38 | { |
189 | 38 | public: | 39 | public: |
190 | 39 | BufferStreamSurfaces(std::shared_ptr<BufferBundle> const& swapper); | 40 | BufferStreamSurfaces(std::shared_ptr<BufferBundle> const& swapper); |
191 | 40 | 41 | ||
192 | === modified file 'src/server/compositor/compositing_screencast.h' | |||
193 | --- src/server/compositor/compositing_screencast.h 2014-03-05 21:12:05 +0000 | |||
194 | +++ src/server/compositor/compositing_screencast.h 2014-07-18 06:57:43 +0000 | |||
195 | @@ -19,6 +19,7 @@ | |||
196 | 19 | #ifndef MIR_COMPOSITOR_COMPOSITING_SCREENCAST_H_ | 19 | #ifndef MIR_COMPOSITOR_COMPOSITING_SCREENCAST_H_ |
197 | 20 | #define MIR_COMPOSITOR_COMPOSITING_SCREENCAST_H_ | 20 | #define MIR_COMPOSITOR_COMPOSITING_SCREENCAST_H_ |
198 | 21 | 21 | ||
199 | 22 | #include "mir/visibility.h" | ||
200 | 22 | #include "mir/frontend/screencast.h" | 23 | #include "mir/frontend/screencast.h" |
201 | 23 | 24 | ||
202 | 24 | #include <unordered_map> | 25 | #include <unordered_map> |
203 | @@ -39,7 +40,7 @@ | |||
204 | 39 | 40 | ||
205 | 40 | class DisplayBufferCompositorFactory; | 41 | class DisplayBufferCompositorFactory; |
206 | 41 | 42 | ||
208 | 42 | class CompositingScreencast : public frontend::Screencast | 43 | class MIR_INTERNAL CompositingScreencast : public frontend::Screencast |
209 | 43 | { | 44 | { |
210 | 44 | public: | 45 | public: |
211 | 45 | CompositingScreencast( | 46 | CompositingScreencast( |
212 | 46 | 47 | ||
213 | === modified file 'src/server/compositor/multi_threaded_compositor.h' | |||
214 | --- src/server/compositor/multi_threaded_compositor.h 2014-06-09 17:16:32 +0000 | |||
215 | +++ src/server/compositor/multi_threaded_compositor.h 2014-07-18 06:57:43 +0000 | |||
216 | @@ -19,6 +19,7 @@ | |||
217 | 19 | #ifndef MIR_COMPOSITOR_MULTI_THREADED_COMPOSITOR_H_ | 19 | #ifndef MIR_COMPOSITOR_MULTI_THREADED_COMPOSITOR_H_ |
218 | 20 | #define MIR_COMPOSITOR_MULTI_THREADED_COMPOSITOR_H_ | 20 | #define MIR_COMPOSITOR_MULTI_THREADED_COMPOSITOR_H_ |
219 | 21 | 21 | ||
220 | 22 | #include "mir/visibility.h" | ||
221 | 22 | #include "mir/compositor/compositor.h" | 23 | #include "mir/compositor/compositor.h" |
222 | 23 | 24 | ||
223 | 24 | #include <mutex> | 25 | #include <mutex> |
224 | @@ -53,7 +54,7 @@ | |||
225 | 53 | stopping | 54 | stopping |
226 | 54 | }; | 55 | }; |
227 | 55 | 56 | ||
229 | 56 | class MultiThreadedCompositor : public Compositor | 57 | class MIR_INTERNAL MultiThreadedCompositor : public Compositor |
230 | 57 | { | 58 | { |
231 | 58 | public: | 59 | public: |
232 | 59 | MultiThreadedCompositor(std::shared_ptr<graphics::Display> const& display, | 60 | MultiThreadedCompositor(std::shared_ptr<graphics::Display> const& display, |
233 | 60 | 61 | ||
234 | === modified file 'src/server/compositor/occlusion.h' | |||
235 | --- src/server/compositor/occlusion.h 2014-06-23 17:19:22 +0000 | |||
236 | +++ src/server/compositor/occlusion.h 2014-07-18 06:57:43 +0000 | |||
237 | @@ -19,6 +19,7 @@ | |||
238 | 19 | #ifndef MIR_COMPOSITOR_OCCLUSION_H_ | 19 | #ifndef MIR_COMPOSITOR_OCCLUSION_H_ |
239 | 20 | #define MIR_COMPOSITOR_OCCLUSION_H_ | 20 | #define MIR_COMPOSITOR_OCCLUSION_H_ |
240 | 21 | 21 | ||
241 | 22 | #include "mir/visibility.h" | ||
242 | 22 | #include "mir/compositor/scene.h" | 23 | #include "mir/compositor/scene.h" |
243 | 23 | 24 | ||
244 | 24 | namespace mir | 25 | namespace mir |
245 | @@ -26,7 +27,7 @@ | |||
246 | 26 | namespace compositor | 27 | namespace compositor |
247 | 27 | { | 28 | { |
248 | 28 | 29 | ||
250 | 29 | SceneElementSequence filter_occlusions_from(SceneElementSequence& list, geometry::Rectangle const& area); | 30 | MIR_INTERNAL SceneElementSequence filter_occlusions_from(SceneElementSequence& list, geometry::Rectangle const& area); |
251 | 30 | 31 | ||
252 | 31 | } // namespace compositor | 32 | } // namespace compositor |
253 | 32 | } // namespace mir | 33 | } // namespace mir |
254 | 33 | 34 | ||
255 | === modified file 'src/server/compositor/temporary_buffers.h' | |||
256 | --- src/server/compositor/temporary_buffers.h 2014-05-01 08:07:56 +0000 | |||
257 | +++ src/server/compositor/temporary_buffers.h 2014-07-18 06:57:43 +0000 | |||
258 | @@ -19,6 +19,7 @@ | |||
259 | 19 | #ifndef MIR_COMPOSITOR_TEMPORARY_BUFFERS_H_ | 19 | #ifndef MIR_COMPOSITOR_TEMPORARY_BUFFERS_H_ |
260 | 20 | #define MIR_COMPOSITOR_TEMPORARY_BUFFERS_H_ | 20 | #define MIR_COMPOSITOR_TEMPORARY_BUFFERS_H_ |
261 | 21 | 21 | ||
262 | 22 | #include "mir/visibility.h" | ||
263 | 22 | #include "mir/graphics/buffer.h" | 23 | #include "mir/graphics/buffer.h" |
264 | 23 | #include "mir/graphics/buffer_id.h" | 24 | #include "mir/graphics/buffer_id.h" |
265 | 24 | 25 | ||
266 | @@ -32,7 +33,7 @@ | |||
267 | 32 | class BufferBundle; | 33 | class BufferBundle; |
268 | 33 | class BackBufferStrategy; | 34 | class BackBufferStrategy; |
269 | 34 | 35 | ||
271 | 35 | class TemporaryBuffer : public mg::Buffer | 36 | class MIR_INTERNAL TemporaryBuffer : public mg::Buffer |
272 | 36 | { | 37 | { |
273 | 37 | public: | 38 | public: |
274 | 38 | geometry::Size size() const; | 39 | geometry::Size size() const; |
275 | @@ -48,7 +49,7 @@ | |||
276 | 48 | std::shared_ptr<mg::Buffer> const buffer; | 49 | std::shared_ptr<mg::Buffer> const buffer; |
277 | 49 | }; | 50 | }; |
278 | 50 | 51 | ||
280 | 51 | class TemporaryCompositorBuffer : public TemporaryBuffer | 52 | class MIR_INTERNAL TemporaryCompositorBuffer : public TemporaryBuffer |
281 | 52 | { | 53 | { |
282 | 53 | public: | 54 | public: |
283 | 54 | explicit TemporaryCompositorBuffer( | 55 | explicit TemporaryCompositorBuffer( |
284 | @@ -59,7 +60,7 @@ | |||
285 | 59 | std::shared_ptr<BufferBundle> const bundle; | 60 | std::shared_ptr<BufferBundle> const bundle; |
286 | 60 | }; | 61 | }; |
287 | 61 | 62 | ||
289 | 62 | class TemporarySnapshotBuffer : public TemporaryBuffer | 63 | class MIR_INTERNAL TemporarySnapshotBuffer : public TemporaryBuffer |
290 | 63 | { | 64 | { |
291 | 64 | public: | 65 | public: |
292 | 65 | explicit TemporarySnapshotBuffer( | 66 | explicit TemporarySnapshotBuffer( |
293 | 66 | 67 | ||
294 | === modified file 'src/server/frontend/client_buffer_tracker.h' | |||
295 | --- src/server/frontend/client_buffer_tracker.h 2013-08-28 03:41:48 +0000 | |||
296 | +++ src/server/frontend/client_buffer_tracker.h 2014-07-18 06:57:43 +0000 | |||
297 | @@ -19,6 +19,7 @@ | |||
298 | 19 | #ifndef MIR_FRONTEND_CLIENT_BUFFER_TRACKER_H_ | 19 | #ifndef MIR_FRONTEND_CLIENT_BUFFER_TRACKER_H_ |
299 | 20 | #define MIR_FRONTEND_CLIENT_BUFFER_TRACKER_H_ | 20 | #define MIR_FRONTEND_CLIENT_BUFFER_TRACKER_H_ |
300 | 21 | 21 | ||
301 | 22 | #include "mir/visibility.h" | ||
302 | 22 | #include <stdint.h> | 23 | #include <stdint.h> |
303 | 23 | #include <list> | 24 | #include <list> |
304 | 24 | 25 | ||
305 | @@ -37,7 +38,7 @@ | |||
306 | 37 | 38 | ||
307 | 38 | /// \sa mir::client::ClientBufferDepository for the client-side of this tracking | 39 | /// \sa mir::client::ClientBufferDepository for the client-side of this tracking |
308 | 39 | /// \note Changes to the tracking algorithm of mir::client::ClientBufferDepository will need to be mirrored here | 40 | /// \note Changes to the tracking algorithm of mir::client::ClientBufferDepository will need to be mirrored here |
310 | 40 | class ClientBufferTracker | 41 | class MIR_INTERNAL ClientBufferTracker |
311 | 41 | { | 42 | { |
312 | 42 | public: | 43 | public: |
313 | 43 | ClientBufferTracker(unsigned int client_cache_size); | 44 | ClientBufferTracker(unsigned int client_cache_size); |
314 | 44 | 45 | ||
315 | === modified file 'src/server/frontend/default_ipc_factory.h' | |||
316 | --- src/server/frontend/default_ipc_factory.h 2014-07-09 10:48:47 +0000 | |||
317 | +++ src/server/frontend/default_ipc_factory.h 2014-07-18 06:57:43 +0000 | |||
318 | @@ -19,6 +19,7 @@ | |||
319 | 19 | #ifndef MIR_FRONTEND_DEFAULT_IPC_FACTORY_H_ | 19 | #ifndef MIR_FRONTEND_DEFAULT_IPC_FACTORY_H_ |
320 | 20 | #define MIR_FRONTEND_DEFAULT_IPC_FACTORY_H_ | 20 | #define MIR_FRONTEND_DEFAULT_IPC_FACTORY_H_ |
321 | 21 | 21 | ||
322 | 22 | #include "mir/visibility.h" | ||
323 | 22 | #include "protobuf_ipc_factory.h" | 23 | #include "protobuf_ipc_factory.h" |
324 | 23 | 24 | ||
325 | 24 | namespace mir | 25 | namespace mir |
326 | @@ -41,7 +42,7 @@ | |||
327 | 41 | class Screencast; | 42 | class Screencast; |
328 | 42 | class SessionAuthorizer; | 43 | class SessionAuthorizer; |
329 | 43 | 44 | ||
331 | 44 | class DefaultIpcFactory : public ProtobufIpcFactory | 45 | class MIR_INTERNAL DefaultIpcFactory : public ProtobufIpcFactory |
332 | 45 | { | 46 | { |
333 | 46 | public: | 47 | public: |
334 | 47 | explicit DefaultIpcFactory( | 48 | explicit DefaultIpcFactory( |
335 | 48 | 49 | ||
336 | === modified file 'src/server/frontend/display_server.h' | |||
337 | --- src/server/frontend/display_server.h 2014-06-03 11:04:15 +0000 | |||
338 | +++ src/server/frontend/display_server.h 2014-07-18 06:57:43 +0000 | |||
339 | @@ -19,6 +19,7 @@ | |||
340 | 19 | #ifndef MIR_FRONTEND_DETAIL_DISPLAY_SERVER_H_ | 19 | #ifndef MIR_FRONTEND_DETAIL_DISPLAY_SERVER_H_ |
341 | 20 | #define MIR_FRONTEND_DETAIL_DISPLAY_SERVER_H_ | 20 | #define MIR_FRONTEND_DETAIL_DISPLAY_SERVER_H_ |
342 | 21 | 21 | ||
343 | 22 | #include "mir/visibility.h" | ||
344 | 22 | #include "mir_protobuf.pb.h" | 23 | #include "mir_protobuf.pb.h" |
345 | 23 | 24 | ||
346 | 24 | namespace mir | 25 | namespace mir |
347 | @@ -27,7 +28,7 @@ | |||
348 | 27 | { | 28 | { |
349 | 28 | namespace detail | 29 | namespace detail |
350 | 29 | { | 30 | { |
352 | 30 | class DisplayServer : public mir::protobuf::DisplayServer | 31 | class MIR_INTERNAL DisplayServer : public mir::protobuf::DisplayServer |
353 | 31 | { | 32 | { |
354 | 32 | public: | 33 | public: |
355 | 33 | using mir::protobuf::DisplayServer::DisplayServer; | 34 | using mir::protobuf::DisplayServer::DisplayServer; |
356 | 34 | 35 | ||
357 | === modified file 'src/server/frontend/message_receiver.h' | |||
358 | --- src/server/frontend/message_receiver.h 2014-06-03 11:04:15 +0000 | |||
359 | +++ src/server/frontend/message_receiver.h 2014-07-18 06:57:43 +0000 | |||
360 | @@ -18,6 +18,7 @@ | |||
361 | 18 | #ifndef MIR_FRONTEND_MESSAGE_RECEIVER_H_ | 18 | #ifndef MIR_FRONTEND_MESSAGE_RECEIVER_H_ |
362 | 19 | #define MIR_FRONTEND_MESSAGE_RECEIVER_H_ | 19 | #define MIR_FRONTEND_MESSAGE_RECEIVER_H_ |
363 | 20 | 20 | ||
364 | 21 | #include "mir/visibility.h" | ||
365 | 21 | #include <functional> | 22 | #include <functional> |
366 | 22 | #include <boost/asio.hpp> | 23 | #include <boost/asio.hpp> |
367 | 23 | 24 | ||
368 | 24 | 25 | ||
369 | === modified file 'src/server/frontend/no_prompt_shell.h' | |||
370 | --- src/server/frontend/no_prompt_shell.h 2014-07-09 17:04:55 +0000 | |||
371 | +++ src/server/frontend/no_prompt_shell.h 2014-07-18 06:57:43 +0000 | |||
372 | @@ -19,13 +19,14 @@ | |||
373 | 19 | #ifndef MIR_FRONTEND_NO_PROMPT_SHELL_H_ | 19 | #ifndef MIR_FRONTEND_NO_PROMPT_SHELL_H_ |
374 | 20 | #define MIR_FRONTEND_NO_PROMPT_SHELL_H_ | 20 | #define MIR_FRONTEND_NO_PROMPT_SHELL_H_ |
375 | 21 | 21 | ||
376 | 22 | #include "mir/visibility.h" | ||
377 | 22 | #include "shell_wrapper.h" | 23 | #include "shell_wrapper.h" |
378 | 23 | 24 | ||
379 | 24 | namespace mir | 25 | namespace mir |
380 | 25 | { | 26 | { |
381 | 26 | namespace frontend | 27 | namespace frontend |
382 | 27 | { | 28 | { |
384 | 28 | class NoPromptShell : public ShellWrapper | 29 | class MIR_INTERNAL NoPromptShell : public ShellWrapper |
385 | 29 | { | 30 | { |
386 | 30 | public: | 31 | public: |
387 | 31 | 32 | ||
388 | 32 | 33 | ||
389 | === modified file 'src/server/frontend/protobuf_ipc_factory.h' | |||
390 | --- src/server/frontend/protobuf_ipc_factory.h 2014-06-03 11:04:15 +0000 | |||
391 | +++ src/server/frontend/protobuf_ipc_factory.h 2014-07-18 06:57:43 +0000 | |||
392 | @@ -19,6 +19,7 @@ | |||
393 | 19 | #ifndef MIR_FRONTEND_PROTOBUF_IPC_FACTORY_H_ | 19 | #ifndef MIR_FRONTEND_PROTOBUF_IPC_FACTORY_H_ |
394 | 20 | #define MIR_FRONTEND_PROTOBUF_IPC_FACTORY_H_ | 20 | #define MIR_FRONTEND_PROTOBUF_IPC_FACTORY_H_ |
395 | 21 | 21 | ||
396 | 22 | #include "mir/visibility.h" | ||
397 | 22 | #include <sys/types.h> | 23 | #include <sys/types.h> |
398 | 23 | 24 | ||
399 | 24 | #include <memory> | 25 | #include <memory> |
400 | 25 | 26 | ||
401 | === modified file 'src/server/frontend/protobuf_message_processor.h' | |||
402 | --- src/server/frontend/protobuf_message_processor.h 2014-06-03 11:04:15 +0000 | |||
403 | +++ src/server/frontend/protobuf_message_processor.h 2014-07-18 06:57:43 +0000 | |||
404 | @@ -20,6 +20,7 @@ | |||
405 | 20 | #ifndef MIR_FRONTEND_PROTOBUF_MESSAGE_PROCESSOR_H_ | 20 | #ifndef MIR_FRONTEND_PROTOBUF_MESSAGE_PROCESSOR_H_ |
406 | 21 | #define MIR_FRONTEND_PROTOBUF_MESSAGE_PROCESSOR_H_ | 21 | #define MIR_FRONTEND_PROTOBUF_MESSAGE_PROCESSOR_H_ |
407 | 22 | 22 | ||
408 | 23 | #include "mir/visibility.h" | ||
409 | 23 | #include "mir/frontend/message_processor.h" | 24 | #include "mir/frontend/message_processor.h" |
410 | 24 | 25 | ||
411 | 25 | #include "mir_protobuf.pb.h" | 26 | #include "mir_protobuf.pb.h" |
412 | @@ -37,7 +38,7 @@ | |||
413 | 37 | class DisplayServer; | 38 | class DisplayServer; |
414 | 38 | class ProtobufMessageSender; | 39 | class ProtobufMessageSender; |
415 | 39 | 40 | ||
417 | 40 | class ProtobufMessageProcessor : public MessageProcessor | 41 | class MIR_INTERNAL ProtobufMessageProcessor : public MessageProcessor |
418 | 41 | { | 42 | { |
419 | 42 | public: | 43 | public: |
420 | 43 | ProtobufMessageProcessor( | 44 | ProtobufMessageProcessor( |
421 | 44 | 45 | ||
422 | === modified file 'src/server/frontend/protobuf_responder.h' | |||
423 | --- src/server/frontend/protobuf_responder.h 2014-05-20 03:37:18 +0000 | |||
424 | +++ src/server/frontend/protobuf_responder.h 2014-07-18 06:57:43 +0000 | |||
425 | @@ -19,6 +19,7 @@ | |||
426 | 19 | #ifndef MIR_FRONTEND_PROTOBUF_RESPONDER_H_ | 19 | #ifndef MIR_FRONTEND_PROTOBUF_RESPONDER_H_ |
427 | 20 | #define MIR_FRONTEND_PROTOBUF_RESPONDER_H_ | 20 | #define MIR_FRONTEND_PROTOBUF_RESPONDER_H_ |
428 | 21 | 21 | ||
429 | 22 | #include "mir/visibility.h" | ||
430 | 22 | #include "mir/frontend/protobuf_message_sender.h" | 23 | #include "mir/frontend/protobuf_message_sender.h" |
431 | 23 | #include "mir_protobuf_wire.pb.h" | 24 | #include "mir_protobuf_wire.pb.h" |
432 | 24 | 25 | ||
433 | @@ -34,7 +35,7 @@ | |||
434 | 34 | { | 35 | { |
435 | 35 | class MessageSender; | 36 | class MessageSender; |
436 | 36 | 37 | ||
438 | 37 | class ProtobufResponder : public ProtobufMessageSender | 38 | class MIR_INTERNAL ProtobufResponder : public ProtobufMessageSender |
439 | 38 | { | 39 | { |
440 | 39 | public: | 40 | public: |
441 | 40 | ProtobufResponder( | 41 | ProtobufResponder( |
442 | 41 | 42 | ||
443 | === modified file 'src/server/frontend/published_socket_connector.h' | |||
444 | --- src/server/frontend/published_socket_connector.h 2014-06-02 17:07:02 +0000 | |||
445 | +++ src/server/frontend/published_socket_connector.h 2014-07-18 06:57:43 +0000 | |||
446 | @@ -19,6 +19,7 @@ | |||
447 | 19 | #ifndef MIR_FRONTEND_PROTOBUF_ASIO_COMMUNICATOR_H_ | 19 | #ifndef MIR_FRONTEND_PROTOBUF_ASIO_COMMUNICATOR_H_ |
448 | 20 | #define MIR_FRONTEND_PROTOBUF_ASIO_COMMUNICATOR_H_ | 20 | #define MIR_FRONTEND_PROTOBUF_ASIO_COMMUNICATOR_H_ |
449 | 21 | 21 | ||
450 | 22 | #include "mir/visibility.h" | ||
451 | 22 | #include "mir/frontend/connector.h" | 23 | #include "mir/frontend/connector.h" |
452 | 23 | 24 | ||
453 | 24 | #include <boost/asio.hpp> | 25 | #include <boost/asio.hpp> |
454 | @@ -46,7 +47,7 @@ | |||
455 | 46 | class ConnectorReport; | 47 | class ConnectorReport; |
456 | 47 | 48 | ||
457 | 48 | /// provides a client-side socket fd for each connection | 49 | /// provides a client-side socket fd for each connection |
459 | 49 | class BasicConnector : public Connector | 50 | class MIR_INTERNAL BasicConnector : public Connector |
460 | 50 | { | 51 | { |
461 | 51 | public: | 52 | public: |
462 | 52 | explicit BasicConnector( | 53 | explicit BasicConnector( |
463 | @@ -74,7 +75,7 @@ | |||
464 | 74 | }; | 75 | }; |
465 | 75 | 76 | ||
466 | 76 | /// Accept connections over a published socket | 77 | /// Accept connections over a published socket |
468 | 77 | class PublishedSocketConnector : public BasicConnector | 78 | class MIR_INTERNAL PublishedSocketConnector : public BasicConnector |
469 | 78 | { | 79 | { |
470 | 79 | public: | 80 | public: |
471 | 80 | explicit PublishedSocketConnector( | 81 | explicit PublishedSocketConnector( |
472 | 81 | 82 | ||
473 | === modified file 'src/server/frontend/resource_cache.h' | |||
474 | --- src/server/frontend/resource_cache.h 2014-03-06 06:05:17 +0000 | |||
475 | +++ src/server/frontend/resource_cache.h 2014-07-18 06:57:43 +0000 | |||
476 | @@ -19,6 +19,7 @@ | |||
477 | 19 | #ifndef MIR_FRONTEND_RESOURCE_CACHE_H_ | 19 | #ifndef MIR_FRONTEND_RESOURCE_CACHE_H_ |
478 | 20 | #define MIR_FRONTEND_RESOURCE_CACHE_H_ | 20 | #define MIR_FRONTEND_RESOURCE_CACHE_H_ |
479 | 21 | 21 | ||
480 | 22 | #include "mir/visibility.h" | ||
481 | 22 | #include "mir_protobuf.pb.h" | 23 | #include "mir_protobuf.pb.h" |
482 | 23 | 24 | ||
483 | 24 | #include <map> | 25 | #include <map> |
484 | @@ -31,7 +32,7 @@ | |||
485 | 31 | { | 32 | { |
486 | 32 | 33 | ||
487 | 33 | // Used to save resources that must be retained until a call completes. | 34 | // Used to save resources that must be retained until a call completes. |
489 | 34 | class ResourceCache | 35 | class MIR_INTERNAL ResourceCache |
490 | 35 | { | 36 | { |
491 | 36 | public: | 37 | public: |
492 | 37 | void save_resource(google::protobuf::Message* key, std::shared_ptr<void> const& value); | 38 | void save_resource(google::protobuf::Message* key, std::shared_ptr<void> const& value); |
493 | 38 | 39 | ||
494 | === modified file 'src/server/frontend/session_mediator.h' | |||
495 | --- src/server/frontend/session_mediator.h 2014-07-09 17:04:55 +0000 | |||
496 | +++ src/server/frontend/session_mediator.h 2014-07-18 06:57:43 +0000 | |||
497 | @@ -19,6 +19,7 @@ | |||
498 | 19 | #ifndef MIR_FRONTEND_SESSION_MEDIATOR_H_ | 19 | #ifndef MIR_FRONTEND_SESSION_MEDIATOR_H_ |
499 | 20 | #define MIR_FRONTEND_SESSION_MEDIATOR_H_ | 20 | #define MIR_FRONTEND_SESSION_MEDIATOR_H_ |
500 | 21 | 21 | ||
501 | 22 | #include "mir/visibility.h" | ||
502 | 22 | #include "display_server.h" | 23 | #include "display_server.h" |
503 | 23 | #include "mir/frontend/connection_context.h" | 24 | #include "mir/frontend/connection_context.h" |
504 | 24 | #include "mir/frontend/surface_id.h" | 25 | #include "mir/frontend/surface_id.h" |
505 | @@ -61,7 +62,7 @@ | |||
506 | 61 | class PromptSession; | 62 | class PromptSession; |
507 | 62 | 63 | ||
508 | 63 | // SessionMediator relays requests from the client process into the server. | 64 | // SessionMediator relays requests from the client process into the server. |
510 | 64 | class SessionMediator : public detail::DisplayServer | 65 | class MIR_INTERNAL SessionMediator : public detail::DisplayServer |
511 | 65 | { | 66 | { |
512 | 66 | public: | 67 | public: |
513 | 67 | 68 | ||
514 | 68 | 69 | ||
515 | === modified file 'src/server/frontend/socket_connection.h' | |||
516 | --- src/server/frontend/socket_connection.h 2014-06-02 17:07:02 +0000 | |||
517 | +++ src/server/frontend/socket_connection.h 2014-07-18 06:57:43 +0000 | |||
518 | @@ -20,6 +20,7 @@ | |||
519 | 20 | #ifndef MIR_FRONTEND_DETAIL_SOCKET_CONNECTION_H_ | 20 | #ifndef MIR_FRONTEND_DETAIL_SOCKET_CONNECTION_H_ |
520 | 21 | #define MIR_FRONTEND_DETAIL_SOCKET_CONNECTION_H_ | 21 | #define MIR_FRONTEND_DETAIL_SOCKET_CONNECTION_H_ |
521 | 22 | 22 | ||
522 | 23 | #include "mir/visibility.h" | ||
523 | 23 | #include "mir/frontend/connections.h" | 24 | #include "mir/frontend/connections.h" |
524 | 24 | 25 | ||
525 | 25 | #include <boost/asio.hpp> | 26 | #include <boost/asio.hpp> |
526 | 26 | 27 | ||
527 | === modified file 'src/server/frontend/socket_messenger.h' | |||
528 | --- src/server/frontend/socket_messenger.h 2014-06-03 11:04:15 +0000 | |||
529 | +++ src/server/frontend/socket_messenger.h 2014-07-18 06:57:43 +0000 | |||
530 | @@ -18,6 +18,7 @@ | |||
531 | 18 | 18 | ||
532 | 19 | #ifndef MIR_FRONTEND_SOCKET_MESSENGER_H_ | 19 | #ifndef MIR_FRONTEND_SOCKET_MESSENGER_H_ |
533 | 20 | #define MIR_FRONTEND_SOCKET_MESSENGER_H_ | 20 | #define MIR_FRONTEND_SOCKET_MESSENGER_H_ |
534 | 21 | #include "mir/visibility.h" | ||
535 | 21 | #include "message_sender.h" | 22 | #include "message_sender.h" |
536 | 22 | #include "message_receiver.h" | 23 | #include "message_receiver.h" |
537 | 23 | #include "mir/frontend/session_credentials.h" | 24 | #include "mir/frontend/session_credentials.h" |
538 | @@ -29,8 +30,8 @@ | |||
539 | 29 | { | 30 | { |
540 | 30 | namespace detail | 31 | namespace detail |
541 | 31 | { | 32 | { |
544 | 32 | class SocketMessenger : public MessageSender, | 33 | class MIR_INTERNAL SocketMessenger : public MessageSender, |
545 | 33 | public MessageReceiver | 34 | public MessageReceiver |
546 | 34 | { | 35 | { |
547 | 35 | public: | 36 | public: |
548 | 36 | SocketMessenger(std::shared_ptr<boost::asio::local::stream_protocol::socket> const& socket); | 37 | SocketMessenger(std::shared_ptr<boost::asio::local::stream_protocol::socket> const& socket); |
549 | 37 | 38 | ||
550 | === modified file 'src/server/graphics/default_display_configuration_policy.h' | |||
551 | --- src/server/graphics/default_display_configuration_policy.h 2014-03-06 06:05:17 +0000 | |||
552 | +++ src/server/graphics/default_display_configuration_policy.h 2014-07-18 06:57:43 +0000 | |||
553 | @@ -16,6 +16,7 @@ | |||
554 | 16 | #ifndef MIR_GRAPHICS_DEFAULT_DISPLAY_CONFIGURATION_POLICY_H_ | 16 | #ifndef MIR_GRAPHICS_DEFAULT_DISPLAY_CONFIGURATION_POLICY_H_ |
555 | 17 | #define MIR_GRAPHICS_DEFAULT_DISPLAY_CONFIGURATION_POLICY_H_ | 17 | #define MIR_GRAPHICS_DEFAULT_DISPLAY_CONFIGURATION_POLICY_H_ |
556 | 18 | 18 | ||
557 | 19 | #include "mir/visibility.h" | ||
558 | 19 | #include "mir/graphics/display_configuration_policy.h" | 20 | #include "mir/graphics/display_configuration_policy.h" |
559 | 20 | 21 | ||
560 | 21 | namespace mir | 22 | namespace mir |
561 | @@ -23,7 +24,7 @@ | |||
562 | 23 | namespace graphics | 24 | namespace graphics |
563 | 24 | { | 25 | { |
564 | 25 | 26 | ||
566 | 26 | class DefaultDisplayConfigurationPolicy : public DisplayConfigurationPolicy | 27 | class MIR_INTERNAL DefaultDisplayConfigurationPolicy : public DisplayConfigurationPolicy |
567 | 27 | { | 28 | { |
568 | 28 | public: | 29 | public: |
569 | 29 | void apply_to(DisplayConfiguration& conf); | 30 | void apply_to(DisplayConfiguration& conf); |
570 | 30 | 31 | ||
571 | === modified file 'src/server/graphics/nested/nested_display.h' | |||
572 | --- src/server/graphics/nested/nested_display.h 2014-06-02 17:07:02 +0000 | |||
573 | +++ src/server/graphics/nested/nested_display.h 2014-07-18 06:57:43 +0000 | |||
574 | @@ -19,6 +19,7 @@ | |||
575 | 19 | #ifndef MIR_GRAPHICS_NESTED_NESTED_DISPLAY_H_ | 19 | #ifndef MIR_GRAPHICS_NESTED_NESTED_DISPLAY_H_ |
576 | 20 | #define MIR_GRAPHICS_NESTED_NESTED_DISPLAY_H_ | 20 | #define MIR_GRAPHICS_NESTED_NESTED_DISPLAY_H_ |
577 | 21 | 21 | ||
578 | 22 | #include "mir/visibility.h" | ||
579 | 22 | #include "mir/graphics/display.h" | 23 | #include "mir/graphics/display.h" |
580 | 23 | #include "mir/graphics/display_buffer.h" | 24 | #include "mir/graphics/display_buffer.h" |
581 | 24 | #include "mir/graphics/display_configuration.h" | 25 | #include "mir/graphics/display_configuration.h" |
582 | @@ -50,7 +51,7 @@ | |||
583 | 50 | namespace detail | 51 | namespace detail |
584 | 51 | { | 52 | { |
585 | 52 | 53 | ||
587 | 53 | class EGLSurfaceHandle | 54 | class MIR_INTERNAL EGLSurfaceHandle |
588 | 54 | { | 55 | { |
589 | 55 | public: | 56 | public: |
590 | 56 | explicit EGLSurfaceHandle(EGLDisplay display, EGLNativeWindowType native_window, EGLConfig cfg); | 57 | explicit EGLSurfaceHandle(EGLDisplay display, EGLNativeWindowType native_window, EGLConfig cfg); |
591 | @@ -63,7 +64,7 @@ | |||
592 | 63 | EGLSurface const egl_surface; | 64 | EGLSurface const egl_surface; |
593 | 64 | }; | 65 | }; |
594 | 65 | 66 | ||
596 | 66 | class EGLDisplayHandle | 67 | class MIR_INTERNAL EGLDisplayHandle |
597 | 67 | { | 68 | { |
598 | 68 | public: | 69 | public: |
599 | 69 | EGLDisplayHandle(EGLNativeDisplayType native_display, | 70 | EGLDisplayHandle(EGLNativeDisplayType native_display, |
600 | @@ -91,7 +92,7 @@ | |||
601 | 91 | 92 | ||
602 | 92 | class HostConnection; | 93 | class HostConnection; |
603 | 93 | 94 | ||
605 | 94 | class NestedDisplay : public Display | 95 | class MIR_INTERNAL NestedDisplay : public Display |
606 | 95 | { | 96 | { |
607 | 96 | public: | 97 | public: |
608 | 97 | NestedDisplay( | 98 | NestedDisplay( |
609 | 98 | 99 | ||
610 | === modified file 'src/server/graphics/nested/nested_output.h' | |||
611 | --- src/server/graphics/nested/nested_output.h 2014-06-05 20:35:46 +0000 | |||
612 | +++ src/server/graphics/nested/nested_output.h 2014-07-18 06:57:43 +0000 | |||
613 | @@ -19,6 +19,7 @@ | |||
614 | 19 | #ifndef MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_ | 19 | #ifndef MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_ |
615 | 20 | #define MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_ | 20 | #define MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_ |
616 | 21 | 21 | ||
617 | 22 | #include "mir/visibility.h" | ||
618 | 22 | #include "nested_display.h" | 23 | #include "nested_display.h" |
619 | 23 | 24 | ||
620 | 24 | namespace mir | 25 | namespace mir |
621 | @@ -32,7 +33,7 @@ | |||
622 | 32 | namespace detail | 33 | namespace detail |
623 | 33 | { | 34 | { |
624 | 34 | 35 | ||
626 | 35 | class NestedOutput : public DisplayBuffer | 36 | class MIR_INTERNAL NestedOutput : public DisplayBuffer |
627 | 36 | { | 37 | { |
628 | 37 | public: | 38 | public: |
629 | 38 | NestedOutput( | 39 | NestedOutput( |
630 | 39 | 40 | ||
631 | === modified file 'src/server/graphics/nested/nested_platform.h' | |||
632 | --- src/server/graphics/nested/nested_platform.h 2014-06-16 23:37:57 +0000 | |||
633 | +++ src/server/graphics/nested/nested_platform.h 2014-07-18 06:57:43 +0000 | |||
634 | @@ -19,6 +19,7 @@ | |||
635 | 19 | #ifndef MIR_GRAPHICS_NESTED_NESTED_PLATFORM_H_ | 19 | #ifndef MIR_GRAPHICS_NESTED_NESTED_PLATFORM_H_ |
636 | 20 | #define MIR_GRAPHICS_NESTED_NESTED_PLATFORM_H_ | 20 | #define MIR_GRAPHICS_NESTED_NESTED_PLATFORM_H_ |
637 | 21 | 21 | ||
638 | 22 | #include "mir/visibility.h" | ||
639 | 22 | #include "mir/graphics/platform.h" | 23 | #include "mir/graphics/platform.h" |
640 | 23 | #include "mir/graphics/native_platform.h" | 24 | #include "mir/graphics/native_platform.h" |
641 | 24 | #include "host_connection.h" | 25 | #include "host_connection.h" |
642 | @@ -31,7 +32,7 @@ | |||
643 | 31 | namespace nested | 32 | namespace nested |
644 | 32 | { | 33 | { |
645 | 33 | 34 | ||
647 | 34 | class NestedPlatform : public Platform | 35 | class MIR_INTERNAL NestedPlatform : public Platform |
648 | 35 | { | 36 | { |
649 | 36 | public: | 37 | public: |
650 | 37 | NestedPlatform( | 38 | NestedPlatform( |
651 | 38 | 39 | ||
652 | === modified file 'src/server/graphics/offscreen/display.h' | |||
653 | --- src/server/graphics/offscreen/display.h 2014-06-02 17:07:02 +0000 | |||
654 | +++ src/server/graphics/offscreen/display.h 2014-07-18 06:57:43 +0000 | |||
655 | @@ -19,6 +19,7 @@ | |||
656 | 19 | #ifndef MIR_GRAPHICS_OFFSCREEN_DISPLAY_H_ | 19 | #ifndef MIR_GRAPHICS_OFFSCREEN_DISPLAY_H_ |
657 | 20 | #define MIR_GRAPHICS_OFFSCREEN_DISPLAY_H_ | 20 | #define MIR_GRAPHICS_OFFSCREEN_DISPLAY_H_ |
658 | 21 | 21 | ||
659 | 22 | #include "mir/visibility.h" | ||
660 | 22 | #include "mir/graphics/display.h" | 23 | #include "mir/graphics/display.h" |
661 | 23 | #include "display_configuration.h" | 24 | #include "display_configuration.h" |
662 | 24 | #include "mir/graphics/surfaceless_egl_context.h" | 25 | #include "mir/graphics/surfaceless_egl_context.h" |
663 | @@ -42,7 +43,7 @@ | |||
664 | 42 | namespace detail | 43 | namespace detail |
665 | 43 | { | 44 | { |
666 | 44 | 45 | ||
668 | 45 | class EGLDisplayHandle | 46 | class MIR_INTERNAL EGLDisplayHandle |
669 | 46 | { | 47 | { |
670 | 47 | public: | 48 | public: |
671 | 48 | explicit EGLDisplayHandle(EGLNativeDisplayType native_type); | 49 | explicit EGLDisplayHandle(EGLNativeDisplayType native_type); |
672 | @@ -61,7 +62,7 @@ | |||
673 | 61 | 62 | ||
674 | 62 | } | 63 | } |
675 | 63 | 64 | ||
677 | 64 | class Display : public graphics::Display | 65 | class MIR_INTERNAL Display : public graphics::Display |
678 | 65 | { | 66 | { |
679 | 66 | public: | 67 | public: |
680 | 67 | Display(std::shared_ptr<BasicPlatform> const& basic_platform, | 68 | Display(std::shared_ptr<BasicPlatform> const& basic_platform, |
681 | 68 | 69 | ||
682 | === modified file 'src/server/graphics/offscreen/display_configuration.h' | |||
683 | --- src/server/graphics/offscreen/display_configuration.h 2014-03-26 05:48:59 +0000 | |||
684 | +++ src/server/graphics/offscreen/display_configuration.h 2014-07-18 06:57:43 +0000 | |||
685 | @@ -17,6 +17,7 @@ | |||
686 | 17 | #ifndef MIR_GRAPHICS_OFFSCREEN_DISPLAY_CONFIGURATION_H_ | 17 | #ifndef MIR_GRAPHICS_OFFSCREEN_DISPLAY_CONFIGURATION_H_ |
687 | 18 | #define MIR_GRAPHICS_OFFSCREEN_DISPLAY_CONFIGURATION_H_ | 18 | #define MIR_GRAPHICS_OFFSCREEN_DISPLAY_CONFIGURATION_H_ |
688 | 19 | 19 | ||
689 | 20 | #include "mir/visibility.h" | ||
690 | 20 | #include "mir/graphics/display_configuration.h" | 21 | #include "mir/graphics/display_configuration.h" |
691 | 21 | 22 | ||
692 | 22 | namespace mir | 23 | namespace mir |
693 | @@ -26,7 +27,7 @@ | |||
694 | 26 | namespace offscreen | 27 | namespace offscreen |
695 | 27 | { | 28 | { |
696 | 28 | 29 | ||
698 | 29 | class DisplayConfiguration : public graphics::DisplayConfiguration | 30 | class MIR_INTERNAL DisplayConfiguration : public graphics::DisplayConfiguration |
699 | 30 | { | 31 | { |
700 | 31 | public: | 32 | public: |
701 | 32 | DisplayConfiguration(geometry::Size const& display_size); | 33 | DisplayConfiguration(geometry::Size const& display_size); |
702 | 33 | 34 | ||
703 | === modified file 'src/server/graphics/program_factory.h' | |||
704 | --- src/server/graphics/program_factory.h 2014-05-20 20:14:47 +0000 | |||
705 | +++ src/server/graphics/program_factory.h 2014-07-18 06:57:43 +0000 | |||
706 | @@ -19,6 +19,7 @@ | |||
707 | 19 | #ifndef MIR_GRAPHICS_GL_RENDERER_FACTORY_H_ | 19 | #ifndef MIR_GRAPHICS_GL_RENDERER_FACTORY_H_ |
708 | 20 | #define MIR_GRAPHICS_GL_RENDERER_FACTORY_H_ | 20 | #define MIR_GRAPHICS_GL_RENDERER_FACTORY_H_ |
709 | 21 | 21 | ||
710 | 22 | #include "mir/visibility.h" | ||
711 | 22 | #include "mir/graphics/gl_program_factory.h" | 23 | #include "mir/graphics/gl_program_factory.h" |
712 | 23 | #include "mir/graphics/gl_program.h" | 24 | #include "mir/graphics/gl_program.h" |
713 | 24 | #include "mir/graphics/gl_texture_cache.h" | 25 | #include "mir/graphics/gl_texture_cache.h" |
714 | @@ -28,7 +29,7 @@ | |||
715 | 28 | { | 29 | { |
716 | 29 | namespace graphics | 30 | namespace graphics |
717 | 30 | { | 31 | { |
719 | 31 | class ProgramFactory : public GLProgramFactory | 32 | class MIR_INTERNAL ProgramFactory : public GLProgramFactory |
720 | 32 | { | 33 | { |
721 | 33 | public: | 34 | public: |
722 | 34 | std::unique_ptr<GLProgram> create_gl_program(std::string const&, std::string const&) const override; | 35 | std::unique_ptr<GLProgram> create_gl_program(std::string const&, std::string const&) const override; |
723 | 35 | 36 | ||
724 | === modified file 'src/server/input/android/android_input_manager.h' | |||
725 | --- src/server/input/android/android_input_manager.h 2014-06-02 17:07:02 +0000 | |||
726 | +++ src/server/input/android/android_input_manager.h 2014-07-18 06:57:43 +0000 | |||
727 | @@ -20,6 +20,7 @@ | |||
728 | 20 | #ifndef MIR_INPUT_ANDROID_INPUT_MANAGER_H_ | 20 | #ifndef MIR_INPUT_ANDROID_INPUT_MANAGER_H_ |
729 | 21 | #define MIR_INPUT_ANDROID_INPUT_MANAGER_H_ | 21 | #define MIR_INPUT_ANDROID_INPUT_MANAGER_H_ |
730 | 22 | 22 | ||
731 | 23 | #include "mir/visibility.h" | ||
732 | 23 | #include "mir/input/input_manager.h" | 24 | #include "mir/input/input_manager.h" |
733 | 24 | 25 | ||
734 | 25 | #include <memory> | 26 | #include <memory> |
735 | @@ -44,7 +45,7 @@ | |||
736 | 44 | /// Encapsulates the instances of the Android input stack that might require startup and | 45 | /// Encapsulates the instances of the Android input stack that might require startup and |
737 | 45 | // shutdown calls, that is to say an EventHub tied to an InputReader tied to an | 46 | // shutdown calls, that is to say an EventHub tied to an InputReader tied to an |
738 | 46 | // InputDispatcher. | 47 | // InputDispatcher. |
740 | 47 | class InputManager : public input::InputManager | 48 | class MIR_INTERNAL InputManager : public input::InputManager |
741 | 48 | { | 49 | { |
742 | 49 | public: | 50 | public: |
743 | 50 | explicit InputManager(std::shared_ptr<droidinput::EventHubInterface> const& event_hub, | 51 | explicit InputManager(std::shared_ptr<droidinput::EventHubInterface> const& event_hub, |
744 | 51 | 52 | ||
745 | === modified file 'src/server/input/android/android_input_reader_policy.h' | |||
746 | --- src/server/input/android/android_input_reader_policy.h 2014-06-09 18:45:21 +0000 | |||
747 | +++ src/server/input/android/android_input_reader_policy.h 2014-07-18 06:57:43 +0000 | |||
748 | @@ -18,6 +18,7 @@ | |||
749 | 18 | #ifndef MIR_ANDROID_INPUT_READER_POLICY_H_ | 18 | #ifndef MIR_ANDROID_INPUT_READER_POLICY_H_ |
750 | 19 | #define MIR_ANDROID_INPUT_READER_POLICY_H_ | 19 | #define MIR_ANDROID_INPUT_READER_POLICY_H_ |
751 | 20 | 20 | ||
752 | 21 | #include "mir/visibility.h" | ||
753 | 21 | #include "rudimentary_input_reader_policy.h" | 22 | #include "rudimentary_input_reader_policy.h" |
754 | 22 | 23 | ||
755 | 23 | #include <memory> | 24 | #include <memory> |
756 | @@ -31,7 +32,7 @@ | |||
757 | 31 | namespace android | 32 | namespace android |
758 | 32 | { | 33 | { |
759 | 33 | 34 | ||
761 | 34 | class InputReaderPolicy : public RudimentaryInputReaderPolicy | 35 | class MIR_INTERNAL InputReaderPolicy : public RudimentaryInputReaderPolicy |
762 | 35 | { | 36 | { |
763 | 36 | public: | 37 | public: |
764 | 37 | explicit InputReaderPolicy(std::shared_ptr<InputRegion> const& input_region, | 38 | explicit InputReaderPolicy(std::shared_ptr<InputRegion> const& input_region, |
765 | 38 | 39 | ||
766 | === modified file 'src/server/input/android/android_input_registrar.h' | |||
767 | --- src/server/input/android/android_input_registrar.h 2014-06-03 11:04:15 +0000 | |||
768 | +++ src/server/input/android/android_input_registrar.h 2014-07-18 06:57:43 +0000 | |||
769 | @@ -19,6 +19,7 @@ | |||
770 | 19 | #ifndef MIR_INPUT_ANDROID_REGISTRAR_H_ | 19 | #ifndef MIR_INPUT_ANDROID_REGISTRAR_H_ |
771 | 20 | #define MIR_INPUT_ANDROID_REGISTRAR_H_ | 20 | #define MIR_INPUT_ANDROID_REGISTRAR_H_ |
772 | 21 | 21 | ||
773 | 22 | #include "mir/visibility.h" | ||
774 | 22 | #include "android_window_handle_repository.h" | 23 | #include "android_window_handle_repository.h" |
775 | 23 | 24 | ||
776 | 24 | #include "mir/scene/null_observer.h" | 25 | #include "mir/scene/null_observer.h" |
777 | @@ -54,7 +55,7 @@ | |||
778 | 54 | class InputConfiguration; | 55 | class InputConfiguration; |
779 | 55 | class InputTargeter; | 56 | class InputTargeter; |
780 | 56 | 57 | ||
782 | 57 | class InputRegistrar : public WindowHandleRepository | 58 | class MIR_INTERNAL InputRegistrar : public WindowHandleRepository |
783 | 58 | { | 59 | { |
784 | 59 | public: | 60 | public: |
785 | 60 | explicit InputRegistrar(std::shared_ptr<mir::compositor::Scene> const& scene); | 61 | explicit InputRegistrar(std::shared_ptr<mir::compositor::Scene> const& scene); |
786 | 61 | 62 | ||
787 | === modified file 'src/server/input/android/android_input_target_enumerator.h' | |||
788 | --- src/server/input/android/android_input_target_enumerator.h 2014-05-20 03:37:18 +0000 | |||
789 | +++ src/server/input/android/android_input_target_enumerator.h 2014-07-18 06:57:43 +0000 | |||
790 | @@ -19,6 +19,7 @@ | |||
791 | 19 | #ifndef MIR_INPUT_ANDROID_TARGET_ENUMERATOR_H_ | 19 | #ifndef MIR_INPUT_ANDROID_TARGET_ENUMERATOR_H_ |
792 | 20 | #define MIR_INPUT_ANDROID_TARGET_ENUMERATOR_H_ | 20 | #define MIR_INPUT_ANDROID_TARGET_ENUMERATOR_H_ |
793 | 21 | 21 | ||
794 | 22 | #include "mir/visibility.h" | ||
795 | 22 | #include <InputEnumerator.h> | 23 | #include <InputEnumerator.h> |
796 | 23 | 24 | ||
797 | 24 | #include <utils/StrongPointer.h> | 25 | #include <utils/StrongPointer.h> |
798 | @@ -46,7 +47,7 @@ | |||
799 | 46 | { | 47 | { |
800 | 47 | class WindowHandleRepository; | 48 | class WindowHandleRepository; |
801 | 48 | 49 | ||
803 | 49 | class InputTargetEnumerator : public droidinput::InputEnumerator | 50 | class MIR_INTERNAL InputTargetEnumerator : public droidinput::InputEnumerator |
804 | 50 | { | 51 | { |
805 | 51 | public: | 52 | public: |
806 | 52 | explicit InputTargetEnumerator(std::shared_ptr<input::InputTargets> const& targets, | 53 | explicit InputTargetEnumerator(std::shared_ptr<input::InputTargets> const& targets, |
807 | 53 | 54 | ||
808 | === modified file 'src/server/input/android/android_input_targeter.h' | |||
809 | --- src/server/input/android/android_input_targeter.h 2014-05-21 02:24:48 +0000 | |||
810 | +++ src/server/input/android/android_input_targeter.h 2014-07-18 06:57:43 +0000 | |||
811 | @@ -19,6 +19,7 @@ | |||
812 | 19 | #ifndef MIR_INPUT_ANDROID_TARGET_H_ | 19 | #ifndef MIR_INPUT_ANDROID_TARGET_H_ |
813 | 20 | #define MIR_INPUT_ANDROID_TARGET_H_ | 20 | #define MIR_INPUT_ANDROID_TARGET_H_ |
814 | 21 | 21 | ||
815 | 22 | #include "mir/visibility.h" | ||
816 | 22 | #include "mir/shell/input_targeter.h" | 23 | #include "mir/shell/input_targeter.h" |
817 | 23 | 24 | ||
818 | 24 | #include <mutex> | 25 | #include <mutex> |
819 | @@ -40,7 +41,7 @@ | |||
820 | 40 | class InputConfiguration; | 41 | class InputConfiguration; |
821 | 41 | class WindowHandleRepository; | 42 | class WindowHandleRepository; |
822 | 42 | 43 | ||
824 | 43 | class InputTargeter : public shell::InputTargeter | 44 | class MIR_INTERNAL InputTargeter : public shell::InputTargeter |
825 | 44 | { | 45 | { |
826 | 45 | public: | 46 | public: |
827 | 46 | explicit InputTargeter(std::shared_ptr<droidinput::InputDispatcherInterface> const& input_dispatcher, | 47 | explicit InputTargeter(std::shared_ptr<droidinput::InputDispatcherInterface> const& input_dispatcher, |
828 | 47 | 48 | ||
829 | === modified file 'src/server/input/android/android_input_thread.h' | |||
830 | --- src/server/input/android/android_input_thread.h 2013-04-24 05:22:20 +0000 | |||
831 | +++ src/server/input/android/android_input_thread.h 2014-07-18 06:57:43 +0000 | |||
832 | @@ -19,13 +19,15 @@ | |||
833 | 19 | #ifndef MIR_INPUT_ANDROID_INPUT_THREAD_H_ | 19 | #ifndef MIR_INPUT_ANDROID_INPUT_THREAD_H_ |
834 | 20 | #define MIR_INPUT_ANDROID_INPUT_THREAD_H_ | 20 | #define MIR_INPUT_ANDROID_INPUT_THREAD_H_ |
835 | 21 | 21 | ||
836 | 22 | #include "mir/visibility.h" | ||
837 | 23 | |||
838 | 22 | namespace mir | 24 | namespace mir |
839 | 23 | { | 25 | { |
840 | 24 | namespace input | 26 | namespace input |
841 | 25 | { | 27 | { |
842 | 26 | namespace android | 28 | namespace android |
843 | 27 | { | 29 | { |
845 | 28 | class InputThread | 30 | class MIR_INTERNAL InputThread |
846 | 29 | { | 31 | { |
847 | 30 | public: | 32 | public: |
848 | 31 | virtual ~InputThread() {} | 33 | virtual ~InputThread() {} |
849 | 32 | 34 | ||
850 | === modified file 'src/server/input/android/android_pointer_controller.h' | |||
851 | --- src/server/input/android/android_pointer_controller.h 2013-08-28 03:41:48 +0000 | |||
852 | +++ src/server/input/android/android_pointer_controller.h 2014-07-18 06:57:43 +0000 | |||
853 | @@ -19,6 +19,7 @@ | |||
854 | 19 | #ifndef MIR_INPUT_ANDROID_POINTER_CONTROLLER_H__ | 19 | #ifndef MIR_INPUT_ANDROID_POINTER_CONTROLLER_H__ |
855 | 20 | #define MIR_INPUT_ANDROID_POINTER_CONTROLLER_H__ | 20 | #define MIR_INPUT_ANDROID_POINTER_CONTROLLER_H__ |
856 | 21 | 21 | ||
857 | 22 | #include "mir/visibility.h" | ||
858 | 22 | #include "dummy_android_pointer_controller.h" | 23 | #include "dummy_android_pointer_controller.h" |
859 | 23 | 24 | ||
860 | 24 | #include "mir/input/cursor_listener.h" | 25 | #include "mir/input/cursor_listener.h" |
861 | @@ -33,7 +34,7 @@ | |||
862 | 33 | class InputRegion; | 34 | class InputRegion; |
863 | 34 | namespace android | 35 | namespace android |
864 | 35 | { | 36 | { |
866 | 36 | class PointerController : public DummyPointerController | 37 | class MIR_INTERNAL PointerController : public DummyPointerController |
867 | 37 | { | 38 | { |
868 | 38 | public: | 39 | public: |
869 | 39 | explicit PointerController(std::shared_ptr<InputRegion> const& input_region); | 40 | explicit PointerController(std::shared_ptr<InputRegion> const& input_region); |
870 | 40 | 41 | ||
871 | === modified file 'src/server/input/android/android_window_handle_repository.h' | |||
872 | --- src/server/input/android/android_window_handle_repository.h 2014-03-06 06:05:17 +0000 | |||
873 | +++ src/server/input/android/android_window_handle_repository.h 2014-07-18 06:57:43 +0000 | |||
874 | @@ -19,6 +19,7 @@ | |||
875 | 19 | #ifndef MIR_INPUT_ANDROID_WINDOW_HANDLE_REPOSITORY_H_ | 19 | #ifndef MIR_INPUT_ANDROID_WINDOW_HANDLE_REPOSITORY_H_ |
876 | 20 | #define MIR_INPUT_ANDROID_WINDOW_HANDLE_REPOSITORY_H_ | 20 | #define MIR_INPUT_ANDROID_WINDOW_HANDLE_REPOSITORY_H_ |
877 | 21 | 21 | ||
878 | 22 | #include "mir/visibility.h" | ||
879 | 22 | #include <utils/StrongPointer.h> | 23 | #include <utils/StrongPointer.h> |
880 | 23 | 24 | ||
881 | 24 | #include <memory> | 25 | #include <memory> |
882 | @@ -40,7 +41,7 @@ | |||
883 | 40 | 41 | ||
884 | 41 | /// Interface internal to mir::input::android used for tracking the assosciation between droidinput::InputWindowHandle | 42 | /// Interface internal to mir::input::android used for tracking the assosciation between droidinput::InputWindowHandle |
885 | 42 | /// and mir::input::InputChannel | 43 | /// and mir::input::InputChannel |
887 | 43 | class WindowHandleRepository | 44 | class MIR_INTERNAL WindowHandleRepository |
888 | 44 | { | 45 | { |
889 | 45 | public: | 46 | public: |
890 | 46 | virtual ~WindowHandleRepository() = default; | 47 | virtual ~WindowHandleRepository() = default; |
891 | 47 | 48 | ||
892 | === modified file 'src/server/input/android/common_input_thread.h' | |||
893 | --- src/server/input/android/common_input_thread.h 2014-05-14 14:35:23 +0000 | |||
894 | +++ src/server/input/android/common_input_thread.h 2014-07-18 06:57:43 +0000 | |||
895 | @@ -19,6 +19,7 @@ | |||
896 | 19 | #ifndef MIR_INPUT_ANDROID_COMMON_INPUT_THREAD_H_ | 19 | #ifndef MIR_INPUT_ANDROID_COMMON_INPUT_THREAD_H_ |
897 | 20 | #define MIR_INPUT_ANDROID_COMMON_INPUT_THREAD_H_ | 20 | #define MIR_INPUT_ANDROID_COMMON_INPUT_THREAD_H_ |
898 | 21 | 21 | ||
899 | 22 | #include "mir/visibility.h" | ||
900 | 22 | #include "android_input_thread.h" | 23 | #include "android_input_thread.h" |
901 | 23 | 24 | ||
902 | 24 | #include <utils/StrongPointer.h> | 25 | #include <utils/StrongPointer.h> |
903 | @@ -34,7 +35,7 @@ | |||
904 | 34 | { | 35 | { |
905 | 35 | namespace android | 36 | namespace android |
906 | 36 | { | 37 | { |
908 | 37 | class CommonInputThread : public InputThread | 38 | class MIR_INTERNAL CommonInputThread : public InputThread |
909 | 38 | { | 39 | { |
910 | 39 | public: | 40 | public: |
911 | 40 | CommonInputThread(std::string const& name, droidinput::sp<droidinput::Thread> const& thread); | 41 | CommonInputThread(std::string const& name, droidinput::sp<droidinput::Thread> const& thread); |
912 | 41 | 42 | ||
913 | === modified file 'src/server/input/android/input_channel_factory.h' | |||
914 | --- src/server/input/android/input_channel_factory.h 2014-04-10 12:59:14 +0000 | |||
915 | +++ src/server/input/android/input_channel_factory.h 2014-07-18 06:57:43 +0000 | |||
916 | @@ -19,6 +19,7 @@ | |||
917 | 19 | #ifndef MIR_INPUT_ANDROID_INPUT_CHANNEL_FACTORY_H_ | 19 | #ifndef MIR_INPUT_ANDROID_INPUT_CHANNEL_FACTORY_H_ |
918 | 20 | #define MIR_INPUT_ANDROID_INPUT_CHANNEL_FACTORY_H_ | 20 | #define MIR_INPUT_ANDROID_INPUT_CHANNEL_FACTORY_H_ |
919 | 21 | 21 | ||
920 | 22 | #include "mir/visibility.h" | ||
921 | 22 | #include "mir/input/input_channel_factory.h" | 23 | #include "mir/input/input_channel_factory.h" |
922 | 23 | 24 | ||
923 | 24 | namespace mir | 25 | namespace mir |
924 | @@ -27,7 +28,7 @@ | |||
925 | 27 | { | 28 | { |
926 | 28 | namespace android | 29 | namespace android |
927 | 29 | { | 30 | { |
929 | 30 | class InputChannelFactory : public mir::input::InputChannelFactory | 31 | class MIR_INTERNAL InputChannelFactory : public mir::input::InputChannelFactory |
930 | 31 | { | 32 | { |
931 | 32 | public: | 33 | public: |
932 | 33 | std::shared_ptr<mir::input::InputChannel> make_input_channel() override; | 34 | std::shared_ptr<mir::input::InputChannel> make_input_channel() override; |
933 | 34 | 35 | ||
934 | === modified file 'src/server/input/android/input_send_entry.h' | |||
935 | --- src/server/input/android/input_send_entry.h 2014-06-23 17:40:57 +0000 | |||
936 | +++ src/server/input/android/input_send_entry.h 2014-07-18 06:57:43 +0000 | |||
937 | @@ -19,6 +19,7 @@ | |||
938 | 19 | #ifndef MIR_INPUT_ANDROID_INPUT_SEND_ENTRY_H_ | 19 | #ifndef MIR_INPUT_ANDROID_INPUT_SEND_ENTRY_H_ |
939 | 20 | #define MIR_INPUT_ANDROID_INPUT_SEND_ENTRY_H_ | 20 | #define MIR_INPUT_ANDROID_INPUT_SEND_ENTRY_H_ |
940 | 21 | 21 | ||
941 | 22 | #include "mir/visibility.h" | ||
942 | 22 | #include "mir_toolkit/event.h" | 23 | #include "mir_toolkit/event.h" |
943 | 23 | #include <memory> | 24 | #include <memory> |
944 | 24 | 25 | ||
945 | @@ -33,7 +34,7 @@ | |||
946 | 33 | /*! | 34 | /*! |
947 | 34 | * Stores information about an input event to be sent to a client | 35 | * Stores information about an input event to be sent to a client |
948 | 35 | */ | 36 | */ |
950 | 36 | struct InputSendEntry | 37 | struct MIR_INTERNAL InputSendEntry |
951 | 37 | { | 38 | { |
952 | 38 | uint32_t sequence_id; | 39 | uint32_t sequence_id; |
953 | 39 | MirEvent event; | 40 | MirEvent event; |
954 | 40 | 41 | ||
955 | === modified file 'src/server/input/android/rudimentary_input_reader_policy.h' | |||
956 | --- src/server/input/android/rudimentary_input_reader_policy.h 2013-04-24 05:22:20 +0000 | |||
957 | +++ src/server/input/android/rudimentary_input_reader_policy.h 2014-07-18 06:57:43 +0000 | |||
958 | @@ -18,6 +18,8 @@ | |||
959 | 18 | #ifndef MIR_INPUT_ANDROID_RUDIMENTARY_INPUT_READER_POLICY_H_ | 18 | #ifndef MIR_INPUT_ANDROID_RUDIMENTARY_INPUT_READER_POLICY_H_ |
960 | 19 | #define MIR_INPUT_ANDROID_RUDIMENTARY_INPUT_READER_POLICY_H_ | 19 | #define MIR_INPUT_ANDROID_RUDIMENTARY_INPUT_READER_POLICY_H_ |
961 | 20 | 20 | ||
962 | 21 | #include "mir/visibility.h" | ||
963 | 22 | |||
964 | 21 | // from android | 23 | // from android |
965 | 22 | #include <InputReader.h> | 24 | #include <InputReader.h> |
966 | 23 | 25 | ||
967 | @@ -29,7 +31,7 @@ | |||
968 | 29 | { | 31 | { |
969 | 30 | namespace android | 32 | namespace android |
970 | 31 | { | 33 | { |
972 | 32 | class RudimentaryInputReaderPolicy : public droidinput::InputReaderPolicyInterface | 34 | class MIR_INTERNAL RudimentaryInputReaderPolicy : public droidinput::InputReaderPolicyInterface |
973 | 33 | { | 35 | { |
974 | 34 | public: | 36 | public: |
975 | 35 | // From InputReaderPolicyInterface | 37 | // From InputReaderPolicyInterface |
976 | 36 | 38 | ||
977 | === modified file 'src/server/input/cursor_controller.h' | |||
978 | --- src/server/input/cursor_controller.h 2014-06-11 17:42:49 +0000 | |||
979 | +++ src/server/input/cursor_controller.h 2014-07-18 06:57:43 +0000 | |||
980 | @@ -19,6 +19,7 @@ | |||
981 | 19 | #ifndef MIR_INPUT_CURSOR_CONTROLLER_H_ | 19 | #ifndef MIR_INPUT_CURSOR_CONTROLLER_H_ |
982 | 20 | #define MIR_INPUT_CURSOR_CONTROLLER_H_ | 20 | #define MIR_INPUT_CURSOR_CONTROLLER_H_ |
983 | 21 | 21 | ||
984 | 22 | #include "mir/visibility.h" | ||
985 | 22 | #include "mir/input/cursor_listener.h" | 23 | #include "mir/input/cursor_listener.h" |
986 | 23 | #include "mir/geometry/point.h" | 24 | #include "mir/geometry/point.h" |
987 | 24 | 25 | ||
988 | @@ -41,7 +42,7 @@ | |||
989 | 41 | { | 42 | { |
990 | 42 | class InputTargets; | 43 | class InputTargets; |
991 | 43 | 44 | ||
993 | 44 | class CursorController : public CursorListener | 45 | class MIR_INTERNAL CursorController : public CursorListener |
994 | 45 | { | 46 | { |
995 | 46 | public: | 47 | public: |
996 | 47 | CursorController(std::shared_ptr<InputTargets> const& input_targets, | 48 | CursorController(std::shared_ptr<InputTargets> const& input_targets, |
997 | 48 | 49 | ||
998 | === modified file 'src/server/input/default_configuration.cpp' | |||
999 | --- src/server/input/default_configuration.cpp 2014-07-09 10:48:47 +0000 | |||
1000 | +++ src/server/input/default_configuration.cpp 2014-07-18 06:57:43 +0000 | |||
1001 | @@ -118,7 +118,7 @@ | |||
1002 | 118 | }); | 118 | }); |
1003 | 119 | } | 119 | } |
1004 | 120 | 120 | ||
1006 | 121 | std::shared_ptr<mia::InputRegistrar> | 121 | MIR_API std::shared_ptr<mia::InputRegistrar> |
1007 | 122 | mir::DefaultServerConfiguration::the_input_registrar() | 122 | mir::DefaultServerConfiguration::the_input_registrar() |
1008 | 123 | { | 123 | { |
1009 | 124 | return input_registrar( | 124 | return input_registrar( |
1010 | 125 | 125 | ||
1011 | === modified file 'src/server/input/event_filter_chain.h' | |||
1012 | --- src/server/input/event_filter_chain.h 2014-03-06 06:05:17 +0000 | |||
1013 | +++ src/server/input/event_filter_chain.h 2014-07-18 06:57:43 +0000 | |||
1014 | @@ -19,6 +19,7 @@ | |||
1015 | 19 | #ifndef MIR_INPUT_EVENT_FILTER_CHAIN_H_ | 19 | #ifndef MIR_INPUT_EVENT_FILTER_CHAIN_H_ |
1016 | 20 | #define MIR_INPUT_EVENT_FILTER_CHAIN_H_ | 20 | #define MIR_INPUT_EVENT_FILTER_CHAIN_H_ |
1017 | 21 | 21 | ||
1018 | 22 | #include "mir/visibility.h" | ||
1019 | 22 | #include "mir/input/composite_event_filter.h" | 23 | #include "mir/input/composite_event_filter.h" |
1020 | 23 | 24 | ||
1021 | 24 | #include <vector> | 25 | #include <vector> |
1022 | @@ -28,7 +29,7 @@ | |||
1023 | 28 | namespace input | 29 | namespace input |
1024 | 29 | { | 30 | { |
1025 | 30 | 31 | ||
1027 | 31 | class EventFilterChain : public CompositeEventFilter | 32 | class MIR_INTERNAL EventFilterChain : public CompositeEventFilter |
1028 | 32 | { | 33 | { |
1029 | 33 | public: | 34 | public: |
1030 | 34 | explicit EventFilterChain(std::initializer_list<std::shared_ptr<EventFilter> const> const& values); | 35 | explicit EventFilterChain(std::initializer_list<std::shared_ptr<EventFilter> const> const& values); |
1031 | 35 | 36 | ||
1032 | === modified file 'src/server/input/null_input_channel_factory.h' | |||
1033 | --- src/server/input/null_input_channel_factory.h 2014-06-24 15:28:09 +0000 | |||
1034 | +++ src/server/input/null_input_channel_factory.h 2014-07-18 06:57:43 +0000 | |||
1035 | @@ -19,6 +19,7 @@ | |||
1036 | 19 | #ifndef MIR_INPUT_NULL_INPUT_CHANNEL_FACTORY_H_ | 19 | #ifndef MIR_INPUT_NULL_INPUT_CHANNEL_FACTORY_H_ |
1037 | 20 | #define MIR_INPUT_NULL_INPUT_CHANNEL_FACTORY_H_ | 20 | #define MIR_INPUT_NULL_INPUT_CHANNEL_FACTORY_H_ |
1038 | 21 | 21 | ||
1039 | 22 | #include "mir/visibility.h" | ||
1040 | 22 | #include "mir/input/input_channel_factory.h" | 23 | #include "mir/input/input_channel_factory.h" |
1041 | 23 | 24 | ||
1042 | 24 | namespace mir | 25 | namespace mir |
1043 | @@ -27,7 +28,7 @@ | |||
1044 | 27 | { | 28 | { |
1045 | 28 | class InputChannel; | 29 | class InputChannel; |
1046 | 29 | 30 | ||
1048 | 30 | class NullInputChannelFactory : public mir::input::InputChannelFactory | 31 | class MIR_INTERNAL NullInputChannelFactory : public mir::input::InputChannelFactory |
1049 | 31 | { | 32 | { |
1050 | 32 | std::shared_ptr<mir::input::InputChannel> make_input_channel() override; | 33 | std::shared_ptr<mir::input::InputChannel> make_input_channel() override; |
1051 | 33 | }; | 34 | }; |
1052 | 34 | 35 | ||
1053 | === modified file 'src/server/input/null_input_dispatcher.h' | |||
1054 | --- src/server/input/null_input_dispatcher.h 2014-05-08 15:23:20 +0000 | |||
1055 | +++ src/server/input/null_input_dispatcher.h 2014-07-18 06:57:43 +0000 | |||
1056 | @@ -19,6 +19,7 @@ | |||
1057 | 19 | #ifndef MIR_INPUT_NULL_INPUT_DISPATCHER_H_ | 19 | #ifndef MIR_INPUT_NULL_INPUT_DISPATCHER_H_ |
1058 | 20 | #define MIR_INPUT_NULL_INPUT_DISPATCHER_H_ | 20 | #define MIR_INPUT_NULL_INPUT_DISPATCHER_H_ |
1059 | 21 | 21 | ||
1060 | 22 | #include "mir/visibility.h" | ||
1061 | 22 | #include "mir/input/input_dispatcher.h" | 23 | #include "mir/input/input_dispatcher.h" |
1062 | 23 | 24 | ||
1063 | 24 | namespace mir | 25 | namespace mir |
1064 | @@ -26,7 +27,7 @@ | |||
1065 | 26 | namespace input | 27 | namespace input |
1066 | 27 | { | 28 | { |
1067 | 28 | 29 | ||
1069 | 29 | class NullInputDispatcher : public mir::input::InputDispatcher | 30 | class MIR_INTERNAL NullInputDispatcher : public mir::input::InputDispatcher |
1070 | 30 | { | 31 | { |
1071 | 31 | public: | 32 | public: |
1072 | 32 | void configuration_changed(nsecs_t when) override; | 33 | void configuration_changed(nsecs_t when) override; |
1073 | 33 | 34 | ||
1074 | === modified file 'src/server/input/null_input_manager.h' | |||
1075 | --- src/server/input/null_input_manager.h 2014-05-07 09:11:52 +0000 | |||
1076 | +++ src/server/input/null_input_manager.h 2014-07-18 06:57:43 +0000 | |||
1077 | @@ -19,13 +19,14 @@ | |||
1078 | 19 | #ifndef MIR_INPUT_NULL_INPUT_MANAGER_H_ | 19 | #ifndef MIR_INPUT_NULL_INPUT_MANAGER_H_ |
1079 | 20 | #define MIR_INPUT_NULL_INPUT_MANAGER_H_ | 20 | #define MIR_INPUT_NULL_INPUT_MANAGER_H_ |
1080 | 21 | 21 | ||
1081 | 22 | #include "mir/visibility.h" | ||
1082 | 22 | #include "mir/input/input_manager.h" | 23 | #include "mir/input/input_manager.h" |
1083 | 23 | 24 | ||
1084 | 24 | namespace mir | 25 | namespace mir |
1085 | 25 | { | 26 | { |
1086 | 26 | namespace input | 27 | namespace input |
1087 | 27 | { | 28 | { |
1089 | 28 | class NullInputManager : public input::InputManager | 29 | class MIR_INTERNAL NullInputManager : public input::InputManager |
1090 | 29 | { | 30 | { |
1091 | 30 | void start() override | 31 | void start() override |
1092 | 31 | { | 32 | { |
1093 | 32 | 33 | ||
1094 | === modified file 'src/server/input/null_input_send_observer.h' | |||
1095 | --- src/server/input/null_input_send_observer.h 2014-06-23 17:40:57 +0000 | |||
1096 | +++ src/server/input/null_input_send_observer.h 2014-07-18 06:57:43 +0000 | |||
1097 | @@ -19,6 +19,7 @@ | |||
1098 | 19 | #ifndef MIR_INPUT_NULL_INPUT_SEND_OBSERVER_H_ | 19 | #ifndef MIR_INPUT_NULL_INPUT_SEND_OBSERVER_H_ |
1099 | 20 | #define MIR_INPUT_NULL_INPUT_SEND_OBSERVER_H_ | 20 | #define MIR_INPUT_NULL_INPUT_SEND_OBSERVER_H_ |
1100 | 21 | 21 | ||
1101 | 22 | #include "mir/visibility.h" | ||
1102 | 22 | #include "mir/input/input_send_observer.h" | 23 | #include "mir/input/input_send_observer.h" |
1103 | 23 | 24 | ||
1104 | 24 | namespace mir | 25 | namespace mir |
1105 | @@ -26,7 +27,7 @@ | |||
1106 | 26 | namespace input | 27 | namespace input |
1107 | 27 | { | 28 | { |
1108 | 28 | 29 | ||
1110 | 29 | class NullInputSendObserver : public InputSendObserver | 30 | class MIR_INTERNAL NullInputSendObserver : public InputSendObserver |
1111 | 30 | { | 31 | { |
1112 | 31 | public: | 32 | public: |
1113 | 32 | void send_failed(MirEvent const& /*event*/, input::Surface* /*surface*/, FailureReason /*reason*/) override | 33 | void send_failed(MirEvent const& /*event*/, input::Surface* /*surface*/, FailureReason /*reason*/) override |
1114 | 33 | 34 | ||
1115 | === modified file 'src/server/report/lttng/compositor_report.h' | |||
1116 | --- src/server/report/lttng/compositor_report.h 2014-02-09 16:18:16 +0000 | |||
1117 | +++ src/server/report/lttng/compositor_report.h 2014-07-18 06:57:43 +0000 | |||
1118 | @@ -19,6 +19,7 @@ | |||
1119 | 19 | #ifndef MIR_REPORT_LTTNG_COMPOSITOR_REPORT_H_ | 19 | #ifndef MIR_REPORT_LTTNG_COMPOSITOR_REPORT_H_ |
1120 | 20 | #define MIR_REPORT_LTTNG_COMPOSITOR_REPORT_H_ | 20 | #define MIR_REPORT_LTTNG_COMPOSITOR_REPORT_H_ |
1121 | 21 | 21 | ||
1122 | 22 | #include "mir/visibility.h" | ||
1123 | 22 | #include "server_tracepoint_provider.h" | 23 | #include "server_tracepoint_provider.h" |
1124 | 23 | 24 | ||
1125 | 24 | #include "mir/compositor/compositor_report.h" | 25 | #include "mir/compositor/compositor_report.h" |
1126 | @@ -30,7 +31,7 @@ | |||
1127 | 30 | namespace lttng | 31 | namespace lttng |
1128 | 31 | { | 32 | { |
1129 | 32 | 33 | ||
1131 | 33 | class CompositorReport : public compositor::CompositorReport | 34 | class MIR_INTERNAL CompositorReport : public compositor::CompositorReport |
1132 | 34 | { | 35 | { |
1133 | 35 | public: | 36 | public: |
1134 | 36 | CompositorReport() = default; | 37 | CompositorReport() = default; |
1135 | 37 | 38 | ||
1136 | === modified file 'src/server/report/lttng/input_report.h' | |||
1137 | --- src/server/report/lttng/input_report.h 2014-03-06 06:05:17 +0000 | |||
1138 | +++ src/server/report/lttng/input_report.h 2014-07-18 06:57:43 +0000 | |||
1139 | @@ -19,6 +19,7 @@ | |||
1140 | 19 | #ifndef MIR_REPORT_LTTNG_INPUT_REPORT_H_ | 19 | #ifndef MIR_REPORT_LTTNG_INPUT_REPORT_H_ |
1141 | 20 | #define MIR_REPORT_LTTNG_INPUT_REPORT_H_ | 20 | #define MIR_REPORT_LTTNG_INPUT_REPORT_H_ |
1142 | 21 | 21 | ||
1143 | 22 | #include "mir/visibility.h" | ||
1144 | 22 | #include "server_tracepoint_provider.h" | 23 | #include "server_tracepoint_provider.h" |
1145 | 23 | 24 | ||
1146 | 24 | #include "mir/input/input_report.h" | 25 | #include "mir/input/input_report.h" |
1147 | @@ -30,7 +31,7 @@ | |||
1148 | 30 | namespace lttng | 31 | namespace lttng |
1149 | 31 | { | 32 | { |
1150 | 32 | 33 | ||
1152 | 33 | class InputReport : public input::InputReport | 34 | class MIR_INTERNAL InputReport : public input::InputReport |
1153 | 34 | { | 35 | { |
1154 | 35 | public: | 36 | public: |
1155 | 36 | InputReport() = default; | 37 | InputReport() = default; |
1156 | 37 | 38 | ||
1157 | === modified file 'src/server/report/lttng/message_processor_report.h' | |||
1158 | --- src/server/report/lttng/message_processor_report.h 2014-03-06 06:05:17 +0000 | |||
1159 | +++ src/server/report/lttng/message_processor_report.h 2014-07-18 06:57:43 +0000 | |||
1160 | @@ -19,6 +19,7 @@ | |||
1161 | 19 | #ifndef MIR_REPORT_LTTNG_MESSAGE_PROCESSOR_REPORT_H_ | 19 | #ifndef MIR_REPORT_LTTNG_MESSAGE_PROCESSOR_REPORT_H_ |
1162 | 20 | #define MIR_REPORT_LTTNG_MESSAGE_PROCESSOR_REPORT_H_ | 20 | #define MIR_REPORT_LTTNG_MESSAGE_PROCESSOR_REPORT_H_ |
1163 | 21 | 21 | ||
1164 | 22 | #include "mir/visibility.h" | ||
1165 | 22 | #include "server_tracepoint_provider.h" | 23 | #include "server_tracepoint_provider.h" |
1166 | 23 | 24 | ||
1167 | 24 | #include "mir/frontend/message_processor_report.h" | 25 | #include "mir/frontend/message_processor_report.h" |
1168 | @@ -30,7 +31,7 @@ | |||
1169 | 30 | namespace lttng | 31 | namespace lttng |
1170 | 31 | { | 32 | { |
1171 | 32 | 33 | ||
1173 | 33 | class MessageProcessorReport : public mir::frontend::MessageProcessorReport | 34 | class MIR_INTERNAL MessageProcessorReport : public mir::frontend::MessageProcessorReport |
1174 | 34 | { | 35 | { |
1175 | 35 | public: | 36 | public: |
1176 | 36 | void received_invocation(void const* mediator, int id, std::string const& method); | 37 | void received_invocation(void const* mediator, int id, std::string const& method); |
1177 | 37 | 38 | ||
1178 | === modified file 'src/server/report/lttng/scene_report.h' | |||
1179 | --- src/server/report/lttng/scene_report.h 2014-02-09 16:18:16 +0000 | |||
1180 | +++ src/server/report/lttng/scene_report.h 2014-07-18 06:57:43 +0000 | |||
1181 | @@ -20,6 +20,7 @@ | |||
1182 | 20 | #ifndef MIR_REPORT_LTTNG_SCENE_REPORT_H_ | 20 | #ifndef MIR_REPORT_LTTNG_SCENE_REPORT_H_ |
1183 | 21 | #define MIR_REPORT_LTTNG_SCENE_REPORT_H_ | 21 | #define MIR_REPORT_LTTNG_SCENE_REPORT_H_ |
1184 | 22 | 22 | ||
1185 | 23 | #include "mir/visibility.h" | ||
1186 | 23 | #include "server_tracepoint_provider.h" | 24 | #include "server_tracepoint_provider.h" |
1187 | 24 | 25 | ||
1188 | 25 | #include "mir/scene/scene_report.h" | 26 | #include "mir/scene/scene_report.h" |
1189 | @@ -31,7 +32,7 @@ | |||
1190 | 31 | namespace lttng | 32 | namespace lttng |
1191 | 32 | { | 33 | { |
1192 | 33 | 34 | ||
1194 | 34 | class SceneReport : public scene::SceneReport | 35 | class MIR_INTERNAL SceneReport : public scene::SceneReport |
1195 | 35 | { | 36 | { |
1196 | 36 | public: | 37 | public: |
1197 | 37 | void surface_created(BasicSurfaceId id, std::string const& name) override; | 38 | void surface_created(BasicSurfaceId id, std::string const& name) override; |
1198 | 38 | 39 | ||
1199 | === modified file 'src/server/report/lttng_report_factory.h' | |||
1200 | --- src/server/report/lttng_report_factory.h 2014-02-11 15:18:07 +0000 | |||
1201 | +++ src/server/report/lttng_report_factory.h 2014-07-18 06:57:43 +0000 | |||
1202 | @@ -19,13 +19,14 @@ | |||
1203 | 19 | #ifndef MIR_REPORT_LTTNG_REPORT_FACTORY_H_ | 19 | #ifndef MIR_REPORT_LTTNG_REPORT_FACTORY_H_ |
1204 | 20 | #define MIR_REPORT_LTTNG_REPORT_FACTORY_H_ | 20 | #define MIR_REPORT_LTTNG_REPORT_FACTORY_H_ |
1205 | 21 | 21 | ||
1206 | 22 | #include "mir/visibility.h" | ||
1207 | 22 | #include "report_factory.h" | 23 | #include "report_factory.h" |
1208 | 23 | 24 | ||
1209 | 24 | namespace mir | 25 | namespace mir |
1210 | 25 | { | 26 | { |
1211 | 26 | namespace report | 27 | namespace report |
1212 | 27 | { | 28 | { |
1214 | 28 | class LttngReportFactory : public report::ReportFactory | 29 | class MIR_INTERNAL LttngReportFactory : public report::ReportFactory |
1215 | 29 | { | 30 | { |
1216 | 30 | public: | 31 | public: |
1217 | 31 | std::shared_ptr<compositor::CompositorReport> create_compositor_report() override; | 32 | std::shared_ptr<compositor::CompositorReport> create_compositor_report() override; |
1218 | 32 | 33 | ||
1219 | === modified file 'src/server/report/null/input_report.h' | |||
1220 | --- src/server/report/null/input_report.h 2014-03-06 06:05:17 +0000 | |||
1221 | +++ src/server/report/null/input_report.h 2014-07-18 06:57:43 +0000 | |||
1222 | @@ -20,6 +20,7 @@ | |||
1223 | 20 | #ifndef MIR_REPORT_NULL_INPUT_REPORT_H_ | 20 | #ifndef MIR_REPORT_NULL_INPUT_REPORT_H_ |
1224 | 21 | #define MIR_REPORT_NULL_INPUT_REPORT_H_ | 21 | #define MIR_REPORT_NULL_INPUT_REPORT_H_ |
1225 | 22 | 22 | ||
1226 | 23 | #include "mir/visibility.h" | ||
1227 | 23 | #include "mir/input/input_report.h" | 24 | #include "mir/input/input_report.h" |
1228 | 24 | 25 | ||
1229 | 25 | namespace mir | 26 | namespace mir |
1230 | @@ -29,7 +30,7 @@ | |||
1231 | 29 | namespace null | 30 | namespace null |
1232 | 30 | { | 31 | { |
1233 | 31 | 32 | ||
1235 | 32 | class InputReport : public input::InputReport | 33 | class MIR_INTERNAL InputReport : public input::InputReport |
1236 | 33 | { | 34 | { |
1237 | 34 | public: | 35 | public: |
1238 | 35 | InputReport() = default; | 36 | InputReport() = default; |
1239 | 36 | 37 | ||
1240 | === modified file 'src/server/report/null/scene_report.h' | |||
1241 | --- src/server/report/null/scene_report.h 2014-02-09 16:18:16 +0000 | |||
1242 | +++ src/server/report/null/scene_report.h 2014-07-18 06:57:43 +0000 | |||
1243 | @@ -21,6 +21,7 @@ | |||
1244 | 21 | #ifndef MIR_REPORT_NULL_SCENE_REPORT_H_ | 21 | #ifndef MIR_REPORT_NULL_SCENE_REPORT_H_ |
1245 | 22 | #define MIR_REPORT_NULL_SCENE_REPORT_H_ | 22 | #define MIR_REPORT_NULL_SCENE_REPORT_H_ |
1246 | 23 | 23 | ||
1247 | 24 | #include "mir/visibility.h" | ||
1248 | 24 | #include "mir/scene/scene_report.h" | 25 | #include "mir/scene/scene_report.h" |
1249 | 25 | 26 | ||
1250 | 26 | namespace mir | 27 | namespace mir |
1251 | @@ -30,7 +31,7 @@ | |||
1252 | 30 | namespace null | 31 | namespace null |
1253 | 31 | { | 32 | { |
1254 | 32 | 33 | ||
1256 | 33 | class SceneReport : public scene::SceneReport | 34 | class MIR_INTERNAL SceneReport : public scene::SceneReport |
1257 | 34 | { | 35 | { |
1258 | 35 | public: | 36 | public: |
1259 | 36 | virtual void surface_created(BasicSurfaceId /*id*/, std::string const& /*name*/) override; | 37 | virtual void surface_created(BasicSurfaceId /*id*/, std::string const& /*name*/) override; |
1260 | 37 | 38 | ||
1261 | === modified file 'src/server/report/null_report_factory.h' | |||
1262 | --- src/server/report/null_report_factory.h 2014-02-17 22:35:23 +0000 | |||
1263 | +++ src/server/report/null_report_factory.h 2014-07-18 06:57:43 +0000 | |||
1264 | @@ -19,13 +19,14 @@ | |||
1265 | 19 | #ifndef MIR_REPORT_NULL_REPORT_FACTORY_H_ | 19 | #ifndef MIR_REPORT_NULL_REPORT_FACTORY_H_ |
1266 | 20 | #define MIR_REPORT_NULL_REPORT_FACTORY_H_ | 20 | #define MIR_REPORT_NULL_REPORT_FACTORY_H_ |
1267 | 21 | 21 | ||
1268 | 22 | #include "mir/visibility.h" | ||
1269 | 22 | #include "report_factory.h" | 23 | #include "report_factory.h" |
1270 | 23 | 24 | ||
1271 | 24 | namespace mir | 25 | namespace mir |
1272 | 25 | { | 26 | { |
1273 | 26 | namespace report | 27 | namespace report |
1274 | 27 | { | 28 | { |
1276 | 28 | class NullReportFactory : public mir::report::ReportFactory | 29 | class MIR_INTERNAL NullReportFactory : public mir::report::ReportFactory |
1277 | 29 | { | 30 | { |
1278 | 30 | public: | 31 | public: |
1279 | 31 | std::shared_ptr<compositor::CompositorReport> create_compositor_report() override; | 32 | std::shared_ptr<compositor::CompositorReport> create_compositor_report() override; |
1280 | @@ -37,13 +38,13 @@ | |||
1281 | 37 | std::shared_ptr<input::InputReport> create_input_report() override; | 38 | std::shared_ptr<input::InputReport> create_input_report() override; |
1282 | 38 | }; | 39 | }; |
1283 | 39 | 40 | ||
1291 | 40 | std::shared_ptr<compositor::CompositorReport> null_compositor_report(); | 41 | MIR_INTERNAL std::shared_ptr<compositor::CompositorReport> null_compositor_report(); |
1292 | 41 | std::shared_ptr<graphics::DisplayReport> null_display_report(); | 42 | MIR_INTERNAL std::shared_ptr<graphics::DisplayReport> null_display_report(); |
1293 | 42 | std::shared_ptr<scene::SceneReport> null_scene_report(); | 43 | MIR_INTERNAL std::shared_ptr<scene::SceneReport> null_scene_report(); |
1294 | 43 | std::shared_ptr<frontend::ConnectorReport> null_connector_report(); | 44 | MIR_INTERNAL std::shared_ptr<frontend::ConnectorReport> null_connector_report(); |
1295 | 44 | std::shared_ptr<frontend::SessionMediatorReport> null_session_mediator_report(); | 45 | MIR_INTERNAL std::shared_ptr<frontend::SessionMediatorReport> null_session_mediator_report(); |
1296 | 45 | std::shared_ptr<frontend::MessageProcessorReport> null_message_processor_report(); | 46 | MIR_INTERNAL std::shared_ptr<frontend::MessageProcessorReport> null_message_processor_report(); |
1297 | 46 | std::shared_ptr<input::InputReport> null_input_report(); | 47 | MIR_INTERNAL std::shared_ptr<input::InputReport> null_input_report(); |
1298 | 47 | 48 | ||
1299 | 48 | } | 49 | } |
1300 | 49 | } | 50 | } |
1301 | 50 | 51 | ||
1302 | === modified file 'src/server/scene/broadcasting_session_event_sink.h' | |||
1303 | --- src/server/scene/broadcasting_session_event_sink.h 2014-04-15 05:31:19 +0000 | |||
1304 | +++ src/server/scene/broadcasting_session_event_sink.h 2014-07-18 06:57:43 +0000 | |||
1305 | @@ -19,6 +19,7 @@ | |||
1306 | 19 | #ifndef MIR_SCENE_BROADCASTING_SESSION_EVENT_SINK_H_ | 19 | #ifndef MIR_SCENE_BROADCASTING_SESSION_EVENT_SINK_H_ |
1307 | 20 | #define MIR_SCENE_BROADCASTING_SESSION_EVENT_SINK_H_ | 20 | #define MIR_SCENE_BROADCASTING_SESSION_EVENT_SINK_H_ |
1308 | 21 | 21 | ||
1309 | 22 | #include "mir/visibility.h" | ||
1310 | 22 | #include "session_event_sink.h" | 23 | #include "session_event_sink.h" |
1311 | 23 | #include "session_event_handler_register.h" | 24 | #include "session_event_handler_register.h" |
1312 | 24 | 25 | ||
1313 | @@ -29,8 +30,8 @@ | |||
1314 | 29 | { | 30 | { |
1315 | 30 | namespace scene | 31 | namespace scene |
1316 | 31 | { | 32 | { |
1319 | 32 | class BroadcastingSessionEventSink : public SessionEventSink, | 33 | class MIR_INTERNAL BroadcastingSessionEventSink : public SessionEventSink, |
1320 | 33 | public SessionEventHandlerRegister | 34 | public SessionEventHandlerRegister |
1321 | 34 | { | 35 | { |
1322 | 35 | public: | 36 | public: |
1323 | 36 | void handle_focus_change(std::shared_ptr<Session> const& session); | 37 | void handle_focus_change(std::shared_ptr<Session> const& session); |
1324 | 37 | 38 | ||
1325 | === modified file 'src/server/scene/default_configuration.cpp' | |||
1326 | --- src/server/scene/default_configuration.cpp 2014-07-08 06:42:38 +0000 | |||
1327 | +++ src/server/scene/default_configuration.cpp 2014-07-18 06:57:43 +0000 | |||
1328 | @@ -100,7 +100,7 @@ | |||
1329 | 100 | return wrapped; | 100 | return wrapped; |
1330 | 101 | } | 101 | } |
1331 | 102 | 102 | ||
1333 | 103 | std::shared_ptr<ms::BroadcastingSessionEventSink> | 103 | MIR_API std::shared_ptr<ms::BroadcastingSessionEventSink> |
1334 | 104 | mir::DefaultServerConfiguration::the_broadcasting_session_event_sink() | 104 | mir::DefaultServerConfiguration::the_broadcasting_session_event_sink() |
1335 | 105 | { | 105 | { |
1336 | 106 | return broadcasting_session_event_sink( | 106 | return broadcasting_session_event_sink( |
1337 | @@ -116,7 +116,7 @@ | |||
1338 | 116 | return the_broadcasting_session_event_sink(); | 116 | return the_broadcasting_session_event_sink(); |
1339 | 117 | } | 117 | } |
1340 | 118 | 118 | ||
1342 | 119 | std::shared_ptr<ms::SessionEventHandlerRegister> | 119 | MIR_API std::shared_ptr<ms::SessionEventHandlerRegister> |
1343 | 120 | mir::DefaultServerConfiguration::the_session_event_handler_register() | 120 | mir::DefaultServerConfiguration::the_session_event_handler_register() |
1344 | 121 | { | 121 | { |
1345 | 122 | return the_broadcasting_session_event_sink(); | 122 | return the_broadcasting_session_event_sink(); |
1346 | @@ -129,7 +129,7 @@ | |||
1347 | 129 | []{ return std::make_shared<ms::DefaultSessionContainer>(); }); | 129 | []{ return std::make_shared<ms::DefaultSessionContainer>(); }); |
1348 | 130 | } | 130 | } |
1349 | 131 | 131 | ||
1351 | 132 | std::shared_ptr<ms::MediatingDisplayChanger> | 132 | MIR_API std::shared_ptr<ms::MediatingDisplayChanger> |
1352 | 133 | mir::DefaultServerConfiguration::the_mediating_display_changer() | 133 | mir::DefaultServerConfiguration::the_mediating_display_changer() |
1353 | 134 | { | 134 | { |
1354 | 135 | return mediating_display_changer( | 135 | return mediating_display_changer( |
1355 | 136 | 136 | ||
1356 | === modified file 'src/server/scene/default_session_container.h' | |||
1357 | --- src/server/scene/default_session_container.h 2014-04-24 11:24:51 +0000 | |||
1358 | +++ src/server/scene/default_session_container.h 2014-07-18 06:57:43 +0000 | |||
1359 | @@ -23,13 +23,14 @@ | |||
1360 | 23 | #include <memory> | 23 | #include <memory> |
1361 | 24 | #include <mutex> | 24 | #include <mutex> |
1362 | 25 | 25 | ||
1363 | 26 | #include "mir/visibility.h" | ||
1364 | 26 | #include "session_container.h" | 27 | #include "session_container.h" |
1365 | 27 | 28 | ||
1366 | 28 | namespace mir | 29 | namespace mir |
1367 | 29 | { | 30 | { |
1368 | 30 | namespace scene | 31 | namespace scene |
1369 | 31 | { | 32 | { |
1371 | 32 | class DefaultSessionContainer : public SessionContainer | 33 | class MIR_INTERNAL DefaultSessionContainer : public SessionContainer |
1372 | 33 | { | 34 | { |
1373 | 34 | public: | 35 | public: |
1374 | 35 | void insert_session(std::shared_ptr<Session> const& session) override; | 36 | void insert_session(std::shared_ptr<Session> const& session) override; |
1375 | 36 | 37 | ||
1376 | === modified file 'src/server/scene/gl_pixel_buffer.h' | |||
1377 | --- src/server/scene/gl_pixel_buffer.h 2014-03-06 06:05:17 +0000 | |||
1378 | +++ src/server/scene/gl_pixel_buffer.h 2014-07-18 06:57:43 +0000 | |||
1379 | @@ -19,6 +19,7 @@ | |||
1380 | 19 | #ifndef MIR_SCENE_GL_PIXEL_BUFFER_H_ | 19 | #ifndef MIR_SCENE_GL_PIXEL_BUFFER_H_ |
1381 | 20 | #define MIR_SCENE_GL_PIXEL_BUFFER_H_ | 20 | #define MIR_SCENE_GL_PIXEL_BUFFER_H_ |
1382 | 21 | 21 | ||
1383 | 22 | #include "mir/visibility.h" | ||
1384 | 22 | #include "pixel_buffer.h" | 23 | #include "pixel_buffer.h" |
1385 | 23 | 24 | ||
1386 | 24 | #include <memory> | 25 | #include <memory> |
1387 | @@ -37,7 +38,7 @@ | |||
1388 | 37 | namespace scene | 38 | namespace scene |
1389 | 38 | { | 39 | { |
1390 | 39 | /** Extracts the pixels from a graphics::Buffer using GL facilities. */ | 40 | /** Extracts the pixels from a graphics::Buffer using GL facilities. */ |
1392 | 40 | class GLPixelBuffer : public PixelBuffer | 41 | class MIR_INTERNAL GLPixelBuffer : public PixelBuffer |
1393 | 41 | { | 42 | { |
1394 | 42 | public: | 43 | public: |
1395 | 43 | GLPixelBuffer(std::unique_ptr<graphics::GLContext> gl_context); | 44 | GLPixelBuffer(std::unique_ptr<graphics::GLContext> gl_context); |
1396 | 44 | 45 | ||
1397 | === modified file 'src/server/scene/global_event_sender.h' | |||
1398 | --- src/server/scene/global_event_sender.h 2014-03-18 09:24:36 +0000 | |||
1399 | +++ src/server/scene/global_event_sender.h 2014-07-18 06:57:43 +0000 | |||
1400 | @@ -19,6 +19,7 @@ | |||
1401 | 19 | #ifndef MIR_SCENE_GLOBAL_EVENT_SENDER_H_ | 19 | #ifndef MIR_SCENE_GLOBAL_EVENT_SENDER_H_ |
1402 | 20 | #define MIR_SCENE_GLOBAL_EVENT_SENDER_H_ | 20 | #define MIR_SCENE_GLOBAL_EVENT_SENDER_H_ |
1403 | 21 | 21 | ||
1404 | 22 | #include "mir/visibility.h" | ||
1405 | 22 | #include "mir/frontend/event_sink.h" | 23 | #include "mir/frontend/event_sink.h" |
1406 | 23 | #include <memory> | 24 | #include <memory> |
1407 | 24 | 25 | ||
1408 | @@ -28,7 +29,7 @@ | |||
1409 | 28 | { | 29 | { |
1410 | 29 | class SessionContainer; | 30 | class SessionContainer; |
1411 | 30 | 31 | ||
1413 | 31 | class GlobalEventSender : public frontend::EventSink | 32 | class MIR_INTERNAL GlobalEventSender : public frontend::EventSink |
1414 | 32 | { | 33 | { |
1415 | 33 | public: | 34 | public: |
1416 | 34 | GlobalEventSender(std::shared_ptr<SessionContainer> const&); | 35 | GlobalEventSender(std::shared_ptr<SessionContainer> const&); |
1417 | 35 | 36 | ||
1418 | === modified file 'src/server/scene/mediating_display_changer.h' | |||
1419 | --- src/server/scene/mediating_display_changer.h 2014-05-21 02:24:48 +0000 | |||
1420 | +++ src/server/scene/mediating_display_changer.h 2014-07-18 06:57:43 +0000 | |||
1421 | @@ -19,6 +19,7 @@ | |||
1422 | 19 | #ifndef MIR_SCENE_MEDIATING_DISPLAY_CHANGER_H_ | 19 | #ifndef MIR_SCENE_MEDIATING_DISPLAY_CHANGER_H_ |
1423 | 20 | #define MIR_SCENE_MEDIATING_DISPLAY_CHANGER_H_ | 20 | #define MIR_SCENE_MEDIATING_DISPLAY_CHANGER_H_ |
1424 | 21 | 21 | ||
1425 | 22 | #include "mir/visibility.h" | ||
1426 | 22 | #include "mir/frontend/display_changer.h" | 23 | #include "mir/frontend/display_changer.h" |
1427 | 23 | #include "mir/display_changer.h" | 24 | #include "mir/display_changer.h" |
1428 | 24 | 25 | ||
1429 | @@ -41,8 +42,8 @@ | |||
1430 | 41 | class SessionContainer; | 42 | class SessionContainer; |
1431 | 42 | class Session; | 43 | class Session; |
1432 | 43 | 44 | ||
1435 | 44 | class MediatingDisplayChanger : public frontend::DisplayChanger, | 45 | class MIR_INTERNAL MediatingDisplayChanger : public frontend::DisplayChanger, |
1436 | 45 | public mir::DisplayChanger | 46 | public mir::DisplayChanger |
1437 | 46 | { | 47 | { |
1438 | 47 | public: | 48 | public: |
1439 | 48 | MediatingDisplayChanger( | 49 | MediatingDisplayChanger( |
1440 | 49 | 50 | ||
1441 | === modified file 'src/server/scene/prompt_session_manager_impl.h' | |||
1442 | --- src/server/scene/prompt_session_manager_impl.h 2014-07-09 17:04:55 +0000 | |||
1443 | +++ src/server/scene/prompt_session_manager_impl.h 2014-07-18 06:57:43 +0000 | |||
1444 | @@ -19,6 +19,7 @@ | |||
1445 | 19 | #ifndef MIR_SCENE_PROMPT_SESSION_MANAGERIMPL_H_ | 19 | #ifndef MIR_SCENE_PROMPT_SESSION_MANAGERIMPL_H_ |
1446 | 20 | #define MIR_SCENE_PROMPT_SESSION_MANAGERIMPL_H_ | 20 | #define MIR_SCENE_PROMPT_SESSION_MANAGERIMPL_H_ |
1447 | 21 | 21 | ||
1448 | 22 | #include "mir/visibility.h" | ||
1449 | 22 | #include "mir/scene/prompt_session_manager.h" | 23 | #include "mir/scene/prompt_session_manager.h" |
1450 | 23 | #include "mir_toolkit/common.h" | 24 | #include "mir_toolkit/common.h" |
1451 | 24 | 25 | ||
1452 | @@ -36,7 +37,7 @@ | |||
1453 | 36 | class PromptSessionCreationParameters; | 37 | class PromptSessionCreationParameters; |
1454 | 37 | class PromptSessionListener; | 38 | class PromptSessionListener; |
1455 | 38 | 39 | ||
1457 | 39 | class PromptSessionManagerImpl : public scene::PromptSessionManager | 40 | class MIR_INTERNAL PromptSessionManagerImpl : public scene::PromptSessionManager |
1458 | 40 | { | 41 | { |
1459 | 41 | public: | 42 | public: |
1460 | 42 | explicit PromptSessionManagerImpl( | 43 | explicit PromptSessionManagerImpl( |
1461 | 43 | 44 | ||
1462 | === modified file 'src/server/scene/session_container.h' | |||
1463 | --- src/server/scene/session_container.h 2014-04-24 11:24:51 +0000 | |||
1464 | +++ src/server/scene/session_container.h 2014-07-18 06:57:43 +0000 | |||
1465 | @@ -19,6 +19,7 @@ | |||
1466 | 19 | #ifndef MIR_SCENE_SESSION_CONTAINER_H_ | 19 | #ifndef MIR_SCENE_SESSION_CONTAINER_H_ |
1467 | 20 | #define MIR_SCENE_SESSION_CONTAINER_H_ | 20 | #define MIR_SCENE_SESSION_CONTAINER_H_ |
1468 | 21 | 21 | ||
1469 | 22 | #include "mir/visibility.h" | ||
1470 | 22 | #include <vector> | 23 | #include <vector> |
1471 | 23 | #include <memory> | 24 | #include <memory> |
1472 | 24 | #include <mutex> | 25 | #include <mutex> |
1473 | 25 | 26 | ||
1474 | === modified file 'src/server/scene/session_event_handler_register.h' | |||
1475 | --- src/server/scene/session_event_handler_register.h 2014-04-15 05:31:19 +0000 | |||
1476 | +++ src/server/scene/session_event_handler_register.h 2014-07-18 06:57:43 +0000 | |||
1477 | @@ -19,6 +19,7 @@ | |||
1478 | 19 | #ifndef MIR_SCENE_SESSION_EVENT_HANDLER_REGISTER_H_ | 19 | #ifndef MIR_SCENE_SESSION_EVENT_HANDLER_REGISTER_H_ |
1479 | 20 | #define MIR_SCENE_SESSION_EVENT_HANDLER_REGISTER_H_ | 20 | #define MIR_SCENE_SESSION_EVENT_HANDLER_REGISTER_H_ |
1480 | 21 | 21 | ||
1481 | 22 | #include "mir/visibility.h" | ||
1482 | 22 | #include <functional> | 23 | #include <functional> |
1483 | 23 | #include <memory> | 24 | #include <memory> |
1484 | 24 | 25 | ||
1485 | @@ -28,7 +29,7 @@ | |||
1486 | 28 | { | 29 | { |
1487 | 29 | class Session; | 30 | class Session; |
1488 | 30 | 31 | ||
1490 | 31 | class SessionEventHandlerRegister | 32 | class MIR_INTERNAL SessionEventHandlerRegister |
1491 | 32 | { | 33 | { |
1492 | 33 | public: | 34 | public: |
1493 | 34 | virtual ~SessionEventHandlerRegister() = default; | 35 | virtual ~SessionEventHandlerRegister() = default; |
1494 | 35 | 36 | ||
1495 | === modified file 'src/server/scene/session_manager.h' | |||
1496 | --- src/server/scene/session_manager.h 2014-07-09 17:04:55 +0000 | |||
1497 | +++ src/server/scene/session_manager.h 2014-07-18 06:57:43 +0000 | |||
1498 | @@ -19,6 +19,7 @@ | |||
1499 | 19 | #ifndef MIR_SCENE_APPLICATION_MANAGER_H_ | 19 | #ifndef MIR_SCENE_APPLICATION_MANAGER_H_ |
1500 | 20 | #define MIR_SCENE_APPLICATION_MANAGER_H_ | 20 | #define MIR_SCENE_APPLICATION_MANAGER_H_ |
1501 | 21 | 21 | ||
1502 | 22 | #include "mir/visibility.h" | ||
1503 | 22 | #include "mir/scene/session_coordinator.h" | 23 | #include "mir/scene/session_coordinator.h" |
1504 | 23 | 24 | ||
1505 | 24 | #include <mutex> | 25 | #include <mutex> |
1506 | @@ -43,7 +44,7 @@ | |||
1507 | 43 | class PromptSessionManager; | 44 | class PromptSessionManager; |
1508 | 44 | 45 | ||
1509 | 45 | 46 | ||
1511 | 46 | class SessionManager : public SessionCoordinator | 47 | class MIR_INTERNAL SessionManager : public SessionCoordinator |
1512 | 47 | { | 48 | { |
1513 | 48 | public: | 49 | public: |
1514 | 49 | explicit SessionManager(std::shared_ptr<SurfaceCoordinator> const& surface_coordinator, | 50 | explicit SessionManager(std::shared_ptr<SurfaceCoordinator> const& surface_coordinator, |
1515 | 50 | 51 | ||
1516 | === modified file 'src/server/scene/snapshot_strategy.h' | |||
1517 | --- src/server/scene/snapshot_strategy.h 2014-04-15 05:31:19 +0000 | |||
1518 | +++ src/server/scene/snapshot_strategy.h 2014-07-18 06:57:43 +0000 | |||
1519 | @@ -19,6 +19,7 @@ | |||
1520 | 19 | #ifndef MIR_SCENE_SNAPSHOT_STRATEGY_H_ | 19 | #ifndef MIR_SCENE_SNAPSHOT_STRATEGY_H_ |
1521 | 20 | #define MIR_SCENE_SNAPSHOT_STRATEGY_H_ | 20 | #define MIR_SCENE_SNAPSHOT_STRATEGY_H_ |
1522 | 21 | 21 | ||
1523 | 22 | #include "mir/visibility.h" | ||
1524 | 22 | #include "mir/scene/snapshot.h" | 23 | #include "mir/scene/snapshot.h" |
1525 | 23 | 24 | ||
1526 | 24 | #include <memory> | 25 | #include <memory> |
1527 | @@ -29,7 +30,7 @@ | |||
1528 | 29 | { | 30 | { |
1529 | 30 | class SurfaceBufferAccess; | 31 | class SurfaceBufferAccess; |
1530 | 31 | 32 | ||
1532 | 32 | class SnapshotStrategy | 33 | class MIR_INTERNAL SnapshotStrategy |
1533 | 33 | { | 34 | { |
1534 | 34 | public: | 35 | public: |
1535 | 35 | virtual ~SnapshotStrategy() = default; | 36 | virtual ~SnapshotStrategy() = default; |
1536 | 36 | 37 | ||
1537 | === modified file 'src/server/scene/surface_controller.h' | |||
1538 | --- src/server/scene/surface_controller.h 2014-04-15 10:19:19 +0000 | |||
1539 | +++ src/server/scene/surface_controller.h 2014-07-18 06:57:43 +0000 | |||
1540 | @@ -20,6 +20,7 @@ | |||
1541 | 20 | #ifndef MIR_SCENE_SURFACE_CONTROLLER_H_ | 20 | #ifndef MIR_SCENE_SURFACE_CONTROLLER_H_ |
1542 | 21 | #define MIR_SCENE_SURFACE_CONTROLLER_H_ | 21 | #define MIR_SCENE_SURFACE_CONTROLLER_H_ |
1543 | 22 | 22 | ||
1544 | 23 | #include "mir/visibility.h" | ||
1545 | 23 | #include "mir/scene/surface_coordinator.h" | 24 | #include "mir/scene/surface_coordinator.h" |
1546 | 24 | 25 | ||
1547 | 25 | namespace mir | 26 | namespace mir |
1548 | @@ -31,7 +32,7 @@ | |||
1549 | 31 | class SurfaceFactory; | 32 | class SurfaceFactory; |
1550 | 32 | 33 | ||
1551 | 33 | /// Will grow up to provide synchronization of model updates | 34 | /// Will grow up to provide synchronization of model updates |
1553 | 34 | class SurfaceController : public SurfaceCoordinator | 35 | class MIR_INTERNAL SurfaceController : public SurfaceCoordinator |
1554 | 35 | { | 36 | { |
1555 | 36 | public: | 37 | public: |
1556 | 37 | SurfaceController( | 38 | SurfaceController( |
1557 | 38 | 39 | ||
1558 | === modified file 'src/server/scene/surface_stack.h' | |||
1559 | --- src/server/scene/surface_stack.h 2014-07-11 03:33:03 +0000 | |||
1560 | +++ src/server/scene/surface_stack.h 2014-07-18 06:57:43 +0000 | |||
1561 | @@ -19,6 +19,8 @@ | |||
1562 | 19 | #ifndef MIR_SCENE_SURFACE_STACK_H_ | 19 | #ifndef MIR_SCENE_SURFACE_STACK_H_ |
1563 | 20 | #define MIR_SCENE_SURFACE_STACK_H_ | 20 | #define MIR_SCENE_SURFACE_STACK_H_ |
1564 | 21 | 21 | ||
1565 | 22 | #include "mir/visibility.h" | ||
1566 | 23 | |||
1567 | 22 | #include "surface_stack_model.h" | 24 | #include "surface_stack_model.h" |
1568 | 23 | 25 | ||
1569 | 24 | #include "mir/compositor/scene.h" | 26 | #include "mir/compositor/scene.h" |
1570 | @@ -45,7 +47,7 @@ | |||
1571 | 45 | class SceneReport; | 47 | class SceneReport; |
1572 | 46 | class RenderingTracker; | 48 | class RenderingTracker; |
1573 | 47 | 49 | ||
1575 | 48 | class Observers : public Observer, BasicObservers<Observer> | 50 | class MIR_INTERNAL Observers : public Observer, BasicObservers<Observer> |
1576 | 49 | { | 51 | { |
1577 | 50 | public: | 52 | public: |
1578 | 51 | // ms::Observer | 53 | // ms::Observer |
1579 | @@ -59,7 +61,7 @@ | |||
1580 | 59 | using BasicObservers<Observer>::remove; | 61 | using BasicObservers<Observer>::remove; |
1581 | 60 | }; | 62 | }; |
1582 | 61 | 63 | ||
1584 | 62 | class SurfaceStack : public compositor::Scene, public input::InputTargets, public SurfaceStackModel | 64 | class MIR_INTERNAL SurfaceStack : public compositor::Scene, public input::InputTargets, public SurfaceStackModel |
1585 | 63 | { | 65 | { |
1586 | 64 | public: | 66 | public: |
1587 | 65 | explicit SurfaceStack( | 67 | explicit SurfaceStack( |
1588 | 66 | 68 | ||
1589 | === modified file 'src/server/scene/threaded_snapshot_strategy.h' | |||
1590 | --- src/server/scene/threaded_snapshot_strategy.h 2014-04-15 05:31:19 +0000 | |||
1591 | +++ src/server/scene/threaded_snapshot_strategy.h 2014-07-18 06:57:43 +0000 | |||
1592 | @@ -32,7 +32,7 @@ | |||
1593 | 32 | class PixelBuffer; | 32 | class PixelBuffer; |
1594 | 33 | class SnapshottingFunctor; | 33 | class SnapshottingFunctor; |
1595 | 34 | 34 | ||
1597 | 35 | class ThreadedSnapshotStrategy : public SnapshotStrategy | 35 | class MIR_INTERNAL ThreadedSnapshotStrategy : public SnapshotStrategy |
1598 | 36 | { | 36 | { |
1599 | 37 | public: | 37 | public: |
1600 | 38 | ThreadedSnapshotStrategy(std::shared_ptr<PixelBuffer> const& pixels); | 38 | ThreadedSnapshotStrategy(std::shared_ptr<PixelBuffer> const& pixels); |
1601 | 39 | 39 | ||
1602 | === modified file 'src/server/shell/consuming_placement_strategy.h' | |||
1603 | --- src/server/shell/consuming_placement_strategy.h 2014-04-15 05:31:19 +0000 | |||
1604 | +++ src/server/shell/consuming_placement_strategy.h 2014-07-18 06:57:43 +0000 | |||
1605 | @@ -19,6 +19,7 @@ | |||
1606 | 19 | #ifndef MIR_SHELL_CONSUMING_PLACEMENT_STRATEGY_H_ | 19 | #ifndef MIR_SHELL_CONSUMING_PLACEMENT_STRATEGY_H_ |
1607 | 20 | #define MIR_SHELL_CONSUMING_PLACEMENT_STRATEGY_H_ | 20 | #define MIR_SHELL_CONSUMING_PLACEMENT_STRATEGY_H_ |
1608 | 21 | 21 | ||
1609 | 22 | #include "mir/visibility.h" | ||
1610 | 22 | #include "mir/scene/placement_strategy.h" | 23 | #include "mir/scene/placement_strategy.h" |
1611 | 23 | 24 | ||
1612 | 24 | #include <memory> | 25 | #include <memory> |
1613 | @@ -29,7 +30,7 @@ | |||
1614 | 29 | { | 30 | { |
1615 | 30 | class DisplayLayout; | 31 | class DisplayLayout; |
1616 | 31 | 32 | ||
1618 | 32 | class ConsumingPlacementStrategy : public scene::PlacementStrategy | 33 | class MIR_INTERNAL ConsumingPlacementStrategy : public scene::PlacementStrategy |
1619 | 33 | { | 34 | { |
1620 | 34 | public: | 35 | public: |
1621 | 35 | explicit ConsumingPlacementStrategy( | 36 | explicit ConsumingPlacementStrategy( |
1622 | 36 | 37 | ||
1623 | === modified file 'src/server/shell/default_focus_mechanism.h' | |||
1624 | --- src/server/shell/default_focus_mechanism.h 2014-04-15 05:31:19 +0000 | |||
1625 | +++ src/server/shell/default_focus_mechanism.h 2014-07-18 06:57:43 +0000 | |||
1626 | @@ -19,6 +19,7 @@ | |||
1627 | 19 | #ifndef MIR_SHELL_SINGLE_VISIBILITY_FOCUS_MECHANISM_H_ | 19 | #ifndef MIR_SHELL_SINGLE_VISIBILITY_FOCUS_MECHANISM_H_ |
1628 | 20 | #define MIR_SHELL_SINGLE_VISIBILITY_FOCUS_MECHANISM_H_ | 20 | #define MIR_SHELL_SINGLE_VISIBILITY_FOCUS_MECHANISM_H_ |
1629 | 21 | 21 | ||
1630 | 22 | #include "mir/visibility.h" | ||
1631 | 22 | #include "mir/shell/focus_setter.h" | 23 | #include "mir/shell/focus_setter.h" |
1632 | 23 | 24 | ||
1633 | 24 | #include <memory> | 25 | #include <memory> |
1634 | @@ -32,7 +33,7 @@ | |||
1635 | 32 | { | 33 | { |
1636 | 33 | class InputTargeter; | 34 | class InputTargeter; |
1637 | 34 | 35 | ||
1639 | 35 | class DefaultFocusMechanism : public FocusSetter | 36 | class MIR_INTERNAL DefaultFocusMechanism : public FocusSetter |
1640 | 36 | { | 37 | { |
1641 | 37 | public: | 38 | public: |
1642 | 38 | explicit DefaultFocusMechanism(std::shared_ptr<InputTargeter> const& input_targeter, | 39 | explicit DefaultFocusMechanism(std::shared_ptr<InputTargeter> const& input_targeter, |
1643 | 39 | 40 | ||
1644 | === modified file 'src/server/shell/null_host_lifecycle_event_listener.h' | |||
1645 | --- src/server/shell/null_host_lifecycle_event_listener.h 2014-07-14 12:06:02 +0000 | |||
1646 | +++ src/server/shell/null_host_lifecycle_event_listener.h 2014-07-18 06:57:43 +0000 | |||
1647 | @@ -19,6 +19,7 @@ | |||
1648 | 19 | #ifndef MIR_NULL_HOST_LIFECYCLE_EVENT_LISTENER_H_ | 19 | #ifndef MIR_NULL_HOST_LIFECYCLE_EVENT_LISTENER_H_ |
1649 | 20 | #define MIR_NULL_HOST_LIFECYCLE_EVENT_LISTENER_H_ | 20 | #define MIR_NULL_HOST_LIFECYCLE_EVENT_LISTENER_H_ |
1650 | 21 | 21 | ||
1651 | 22 | #include "mir/visibility.h" | ||
1652 | 22 | #include "mir/shell/host_lifecycle_event_listener.h" | 23 | #include "mir/shell/host_lifecycle_event_listener.h" |
1653 | 23 | 24 | ||
1654 | 24 | namespace mir | 25 | namespace mir |
1655 | @@ -26,7 +27,7 @@ | |||
1656 | 26 | namespace shell | 27 | namespace shell |
1657 | 27 | { | 28 | { |
1658 | 28 | 29 | ||
1660 | 29 | class NullHostLifecycleEventListener : public HostLifecycleEventListener | 30 | class MIR_INTERNAL NullHostLifecycleEventListener : public HostLifecycleEventListener |
1661 | 30 | { | 31 | { |
1662 | 31 | public: | 32 | public: |
1663 | 32 | virtual void lifecycle_event_occurred(MirLifecycleState /*state*/) override {} | 33 | virtual void lifecycle_event_occurred(MirLifecycleState /*state*/) override {} |
1664 | 33 | 34 | ||
1665 | === modified file 'tests/CMakeLists.txt' | |||
1666 | --- tests/CMakeLists.txt 2014-05-16 06:02:30 +0000 | |||
1667 | +++ tests/CMakeLists.txt 2014-07-18 06:57:43 +0000 | |||
1668 | @@ -6,6 +6,8 @@ | |||
1669 | 6 | include_directories(${MIR_3RD_PARTY_INCLUDE_DIRECTORIES}) | 6 | include_directories(${MIR_3RD_PARTY_INCLUDE_DIRECTORIES}) |
1670 | 7 | include_directories(${MIR_ANDROID_INCLUDE_DIRECTORIES}) | 7 | include_directories(${MIR_ANDROID_INCLUDE_DIRECTORIES}) |
1671 | 8 | 8 | ||
1672 | 9 | set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") | ||
1673 | 10 | |||
1674 | 9 | if ("${CMAKE_CXX_COMPILER}" MATCHES "clang") | 11 | if ("${CMAKE_CXX_COMPILER}" MATCHES "clang") |
1675 | 10 | # Avoid clang complaints about poor quality gmock/gtest headers | 12 | # Avoid clang complaints about poor quality gmock/gtest headers |
1676 | 11 | set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=null-dereference") | 13 | set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=null-dereference") |
1677 | 12 | 14 | ||
1678 | === modified file 'tests/acceptance-tests/CMakeLists.txt' | |||
1679 | --- tests/acceptance-tests/CMakeLists.txt 2014-07-11 14:04:15 +0000 | |||
1680 | +++ tests/acceptance-tests/CMakeLists.txt 2014-07-18 06:57:43 +0000 | |||
1681 | @@ -61,7 +61,7 @@ | |||
1682 | 61 | target_link_libraries( | 61 | target_link_libraries( |
1683 | 62 | mir_acceptance_tests | 62 | mir_acceptance_tests |
1684 | 63 | 63 | ||
1686 | 64 | mirserver | 64 | mirserver-static |
1687 | 65 | mirclient | 65 | mirclient |
1688 | 66 | mirplatform | 66 | mirplatform |
1689 | 67 | 67 | ||
1690 | 68 | 68 | ||
1691 | === modified file 'tests/integration-tests/CMakeLists.txt' | |||
1692 | --- tests/integration-tests/CMakeLists.txt 2014-04-17 01:34:35 +0000 | |||
1693 | +++ tests/integration-tests/CMakeLists.txt 2014-07-18 06:57:43 +0000 | |||
1694 | @@ -53,7 +53,7 @@ | |||
1695 | 53 | mir-test-framework | 53 | mir-test-framework |
1696 | 54 | mir-test-doubles | 54 | mir-test-doubles |
1697 | 55 | 55 | ||
1699 | 56 | mirserver | 56 | mirserver-static |
1700 | 57 | mirplatformgraphics | 57 | mirplatformgraphics |
1701 | 58 | mirclient | 58 | mirclient |
1702 | 59 | mirdraw | 59 | mirdraw |
1703 | 60 | 60 | ||
1704 | === modified file 'tests/unit-tests/CMakeLists.txt' | |||
1705 | --- tests/unit-tests/CMakeLists.txt 2014-07-11 21:53:44 +0000 | |||
1706 | +++ tests/unit-tests/CMakeLists.txt 2014-07-18 06:57:43 +0000 | |||
1707 | @@ -44,7 +44,7 @@ | |||
1708 | 44 | mir_unit_tests | 44 | mir_unit_tests |
1709 | 45 | 45 | ||
1710 | 46 | mirclient | 46 | mirclient |
1712 | 47 | mirserver | 47 | mirserver-static |
1713 | 48 | mirplatformgraphics | 48 | mirplatformgraphics |
1714 | 49 | mirclientplatform | 49 | mirclientplatform |
1715 | 50 | mirdraw | 50 | mirdraw |
FAILED: Continuous integration, rev:1773 jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- ci/2176/ jenkins. qa.ubuntu. com/job/ mir-android- utopic- i386-build/ 975/console jenkins. qa.ubuntu. com/job/ mir-clang- utopic- amd64-build/ 981/console jenkins. qa.ubuntu. com/job/ mir-mediumtests -utopic- touch/970/ console jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- amd64-ci/ 697/console jenkins. qa.ubuntu. com/job/ mir-team- mir-development -branch- utopic- armhf-ci/ 695/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/3261/ console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- team-mir- development- branch- ci/2176/ rebuild
http://