Mir

Merge lp:~raof/mir/hide-internal-symbols into lp:mir

Proposed by Chris Halse Rogers
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
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

To post a comment you must log in.
lp:~raof/mir/hide-internal-symbols updated
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

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:~raof/mir/hide-internal-symbols updated
1776. By Chris Halse Rogers

Explicitly mark some DefaultServerConfiguration 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

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
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://blog.cuviper.com/2014/01/23/add-new-warnings-to-gcc-with-python/

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.

review: Abstain
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sorry, we sat on this too long...

Text conflict in src/server/CMakeLists.txt
Text conflict in src/server/shell/default_placement_strategy.h
Text conflict in tests/integration-tests/CMakeLists.txt
Text conflict in tests/unit-tests/CMakeLists.txt
4 conflicts encountered.

review: Needs Fixing
Revision history for this message
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

Revision history for this message
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=hidden.

We'd still potentially want MIR_INTERNAL to hide bits of publicly
exported classes, but we'd use it a lot less.

Revision history for this message
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://fedorahosted.org/gcc-python-plugin/] isn't part of the Ubuntu archive - and as it is "alpha" code we probably shouldn't make it an integral part of our build process.

Unmerged revisions

1777. By Chris Halse Rogers

A little more visibility

1776. By Chris Halse Rogers

Explicitly mark some DefaultServerConfiguration 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

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'include/server/mir/frontend/protobuf_connection_creator.h'
--- include/server/mir/frontend/protobuf_connection_creator.h 2014-06-03 11:04:15 +0000
+++ include/server/mir/frontend/protobuf_connection_creator.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_FRONTEND_PROTOBUF_CONNECTION_CREATOR_H_19#ifndef MIR_FRONTEND_PROTOBUF_CONNECTION_CREATOR_H_
20#define MIR_FRONTEND_PROTOBUF_CONNECTION_CREATOR_H_20#define MIR_FRONTEND_PROTOBUF_CONNECTION_CREATOR_H_
2121
22#include "mir/visibility.h"
22#include "mir/frontend/connection_creator.h"23#include "mir/frontend/connection_creator.h"
23#include "mir/frontend/connections.h"24#include "mir/frontend/connections.h"
2425
2526
=== added file 'include/shared/mir/visibility.h'
--- include/shared/mir/visibility.h 1970-01-01 00:00:00 +0000
+++ include/shared/mir/visibility.h 2014-07-18 06:57:43 +0000
@@ -0,0 +1,32 @@
1/*
2 * Copyright © 2014 Canonical Ltd.
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License version 3 as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Authored by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
17 */
18
19#ifndef MIR_VISIBILITY_H_
20#define MIR_VISIBILITY_H_
21
22/*
23 * Keep the attribute bit hidden in here; it's plausible that we might want to
24 * support different compilers and such.
25 *
26 * Also, MIR_FOO is more descriptive
27 */
28
29#define MIR_INTERNAL __attribute__ ((visibility ("hidden")))
30#define MIR_API __attribute__ ((visibility ("default")))
31
32#endif
033
=== modified file 'include/test/mir_test_doubles/stub_ipc_factory.h'
--- include/test/mir_test_doubles/stub_ipc_factory.h 2014-06-03 11:04:15 +0000
+++ include/test/mir_test_doubles/stub_ipc_factory.h 2014-07-18 06:57:43 +0000
@@ -20,6 +20,7 @@
20#ifndef MIR_TEST_DOUBLES_STUB_IPC_FACTORY_H_20#ifndef MIR_TEST_DOUBLES_STUB_IPC_FACTORY_H_
21#define MIR_TEST_DOUBLES_STUB_IPC_FACTORY_H_21#define MIR_TEST_DOUBLES_STUB_IPC_FACTORY_H_
2222
23#include "mir/visibility.h"
23#include "mir_test/fake_shared.h"24#include "mir_test/fake_shared.h"
24#include "src/server/frontend/protobuf_ipc_factory.h"25#include "src/server/frontend/protobuf_ipc_factory.h"
25#include "src/server/frontend/resource_cache.h"26#include "src/server/frontend/resource_cache.h"
@@ -35,7 +36,7 @@
35namespace doubles36namespace doubles
36{37{
3738
38class StubIpcFactory : public frontend::ProtobufIpcFactory39class MIR_INTERNAL StubIpcFactory : public frontend::ProtobufIpcFactory
39{40{
40public:41public:
41 StubIpcFactory(frontend::detail::DisplayServer& server) :42 StubIpcFactory(frontend::detail::DisplayServer& server) :
4243
=== modified file 'src/server/CMakeLists.txt'
--- src/server/CMakeLists.txt 2014-07-08 06:42:38 +0000
+++ src/server/CMakeLists.txt 2014-07-18 06:57:43 +0000
@@ -39,6 +39,10 @@
39 ${SRCS}39 ${SRCS}
40)40)
4141
42add_library(mirserver-static STATIC
43 ${SRCS}
44)
45
42list(APPEND MIRSERVER_ARCHIVES46list(APPEND MIRSERVER_ARCHIVES
43 miroptions47 miroptions
44 mircompositor48 mircompositor
@@ -54,8 +58,8 @@
54 mirshell58 mirshell
55 mirscene59 mirscene
56 mirtime60 mirtime
61 mirreport
57 mirlttng62 mirlttng
58 mirreport
59 mirlogger63 mirlogger
60 mirnestedgraphics64 mirnestedgraphics
61 miroffscreengraphics65 miroffscreengraphics
@@ -98,6 +102,11 @@
98 )102 )
99endif()103endif()
100104
105target_link_libraries(mirserver-static
106 ${MIRSERVER_ARCHIVES}
107 ${MIRSERVER_LINKS}
108)
109
101set(MIRSERVER_ABI 23) # Be sure to increment MIR_VERSION_MINOR at the same time110set(MIRSERVER_ABI 23) # Be sure to increment MIR_VERSION_MINOR at the same time
102111
103set_target_properties(112set_target_properties(
104113
=== modified file 'src/server/compositor/buffer_bundle.h'
--- src/server/compositor/buffer_bundle.h 2014-05-21 08:38:47 +0000
+++ src/server/compositor/buffer_bundle.h 2014-07-18 06:57:43 +0000
@@ -20,6 +20,7 @@
20#ifndef MIR_COMPOSITOR_BUFFER_BUNDLE_H_20#ifndef MIR_COMPOSITOR_BUFFER_BUNDLE_H_
21#define MIR_COMPOSITOR_BUFFER_BUNDLE_H_21#define MIR_COMPOSITOR_BUFFER_BUNDLE_H_
2222
23#include "mir/visibility.h"
23#include "mir/graphics/buffer_properties.h"24#include "mir/graphics/buffer_properties.h"
24#include <memory>25#include <memory>
2526
@@ -30,7 +31,7 @@
30namespace compositor31namespace compositor
31{32{
3233
33class BufferBundle34class MIR_INTERNAL BufferBundle
34{35{
35public:36public:
36 virtual ~BufferBundle() noexcept {}37 virtual ~BufferBundle() noexcept {}
3738
=== modified file 'src/server/compositor/buffer_queue.h'
--- src/server/compositor/buffer_queue.h 2014-07-14 03:49:17 +0000
+++ src/server/compositor/buffer_queue.h 2014-07-18 06:57:43 +0000
@@ -18,6 +18,7 @@
18#ifndef MIR_BUFFER_QUEUE_H_18#ifndef MIR_BUFFER_QUEUE_H_
19#define MIR_BUFFER_QUEUE_H_19#define MIR_BUFFER_QUEUE_H_
2020
21#include "mir/visibility.h"
21#include "mir/compositor/frame_dropping_policy_factory.h"22#include "mir/compositor/frame_dropping_policy_factory.h"
22#include "mir/compositor/frame_dropping_policy.h"23#include "mir/compositor/frame_dropping_policy.h"
23#include "buffer_bundle.h"24#include "buffer_bundle.h"
@@ -37,7 +38,7 @@
37namespace compositor38namespace compositor
38{39{
3940
40class BufferQueue : public BufferBundle41class MIR_INTERNAL BufferQueue : public BufferBundle
41{42{
42public:43public:
43 typedef std::function<void(graphics::Buffer* buffer)> Callback;44 typedef std::function<void(graphics::Buffer* buffer)> Callback;
4445
=== modified file 'src/server/compositor/buffer_stream_factory.h'
--- src/server/compositor/buffer_stream_factory.h 2014-06-09 17:16:32 +0000
+++ src/server/compositor/buffer_stream_factory.h 2014-07-18 06:57:43 +0000
@@ -21,6 +21,7 @@
21#ifndef MIR_COMPOSITOR_BUFFER_STREAM_FACTORY_H_21#ifndef MIR_COMPOSITOR_BUFFER_STREAM_FACTORY_H_
22#define MIR_COMPOSITOR_BUFFER_STREAM_FACTORY_H_22#define MIR_COMPOSITOR_BUFFER_STREAM_FACTORY_H_
2323
24#include "mir/visibility.h"
24#include "mir/scene/buffer_stream_factory.h"25#include "mir/scene/buffer_stream_factory.h"
25#include "mir/compositor/frame_dropping_policy_factory.h"26#include "mir/compositor/frame_dropping_policy_factory.h"
2627
@@ -35,7 +36,7 @@
35namespace compositor36namespace compositor
36{37{
3738
38class BufferStreamFactory : public scene::BufferStreamFactory39class MIR_INTERNAL BufferStreamFactory : public scene::BufferStreamFactory
39{40{
40public:41public:
41 BufferStreamFactory(std::shared_ptr<graphics::GraphicBufferAllocator> const& gralloc,42 BufferStreamFactory(std::shared_ptr<graphics::GraphicBufferAllocator> const& gralloc,
4243
=== modified file 'src/server/compositor/buffer_stream_surfaces.h'
--- src/server/compositor/buffer_stream_surfaces.h 2014-05-22 10:00:05 +0000
+++ src/server/compositor/buffer_stream_surfaces.h 2014-07-18 06:57:43 +0000
@@ -20,6 +20,7 @@
20#ifndef MIR_COMPOSITOR_BUFFER_STREAM_SCENE_H_20#ifndef MIR_COMPOSITOR_BUFFER_STREAM_SCENE_H_
21#define MIR_COMPOSITOR_BUFFER_STREAM_SCENE_H_21#define MIR_COMPOSITOR_BUFFER_STREAM_SCENE_H_
2222
23#include "mir/visibility.h"
23#include "mir/compositor/buffer_stream.h"24#include "mir/compositor/buffer_stream.h"
2425
25#include <mutex>26#include <mutex>
@@ -33,7 +34,7 @@
33class BufferBundle;34class BufferBundle;
34class BackBufferStrategy;35class BackBufferStrategy;
3536
36class BufferStreamSurfaces : public BufferStream37class MIR_INTERNAL BufferStreamSurfaces : public BufferStream
37{38{
38public:39public:
39 BufferStreamSurfaces(std::shared_ptr<BufferBundle> const& swapper);40 BufferStreamSurfaces(std::shared_ptr<BufferBundle> const& swapper);
4041
=== modified file 'src/server/compositor/compositing_screencast.h'
--- src/server/compositor/compositing_screencast.h 2014-03-05 21:12:05 +0000
+++ src/server/compositor/compositing_screencast.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_COMPOSITOR_COMPOSITING_SCREENCAST_H_19#ifndef MIR_COMPOSITOR_COMPOSITING_SCREENCAST_H_
20#define MIR_COMPOSITOR_COMPOSITING_SCREENCAST_H_20#define MIR_COMPOSITOR_COMPOSITING_SCREENCAST_H_
2121
22#include "mir/visibility.h"
22#include "mir/frontend/screencast.h"23#include "mir/frontend/screencast.h"
2324
24#include <unordered_map>25#include <unordered_map>
@@ -39,7 +40,7 @@
3940
40class DisplayBufferCompositorFactory;41class DisplayBufferCompositorFactory;
4142
42class CompositingScreencast : public frontend::Screencast43class MIR_INTERNAL CompositingScreencast : public frontend::Screencast
43{44{
44public:45public:
45 CompositingScreencast(46 CompositingScreencast(
4647
=== modified file 'src/server/compositor/multi_threaded_compositor.h'
--- src/server/compositor/multi_threaded_compositor.h 2014-06-09 17:16:32 +0000
+++ src/server/compositor/multi_threaded_compositor.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_COMPOSITOR_MULTI_THREADED_COMPOSITOR_H_19#ifndef MIR_COMPOSITOR_MULTI_THREADED_COMPOSITOR_H_
20#define MIR_COMPOSITOR_MULTI_THREADED_COMPOSITOR_H_20#define MIR_COMPOSITOR_MULTI_THREADED_COMPOSITOR_H_
2121
22#include "mir/visibility.h"
22#include "mir/compositor/compositor.h"23#include "mir/compositor/compositor.h"
2324
24#include <mutex>25#include <mutex>
@@ -53,7 +54,7 @@
53 stopping54 stopping
54};55};
5556
56class MultiThreadedCompositor : public Compositor57class MIR_INTERNAL MultiThreadedCompositor : public Compositor
57{58{
58public:59public:
59 MultiThreadedCompositor(std::shared_ptr<graphics::Display> const& display,60 MultiThreadedCompositor(std::shared_ptr<graphics::Display> const& display,
6061
=== modified file 'src/server/compositor/occlusion.h'
--- src/server/compositor/occlusion.h 2014-06-23 17:19:22 +0000
+++ src/server/compositor/occlusion.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_COMPOSITOR_OCCLUSION_H_19#ifndef MIR_COMPOSITOR_OCCLUSION_H_
20#define MIR_COMPOSITOR_OCCLUSION_H_20#define MIR_COMPOSITOR_OCCLUSION_H_
2121
22#include "mir/visibility.h"
22#include "mir/compositor/scene.h"23#include "mir/compositor/scene.h"
2324
24namespace mir25namespace mir
@@ -26,7 +27,7 @@
26namespace compositor27namespace compositor
27{28{
2829
29SceneElementSequence filter_occlusions_from(SceneElementSequence& list, geometry::Rectangle const& area);30MIR_INTERNAL SceneElementSequence filter_occlusions_from(SceneElementSequence& list, geometry::Rectangle const& area);
3031
31} // namespace compositor32} // namespace compositor
32} // namespace mir33} // namespace mir
3334
=== modified file 'src/server/compositor/temporary_buffers.h'
--- src/server/compositor/temporary_buffers.h 2014-05-01 08:07:56 +0000
+++ src/server/compositor/temporary_buffers.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_COMPOSITOR_TEMPORARY_BUFFERS_H_19#ifndef MIR_COMPOSITOR_TEMPORARY_BUFFERS_H_
20#define MIR_COMPOSITOR_TEMPORARY_BUFFERS_H_20#define MIR_COMPOSITOR_TEMPORARY_BUFFERS_H_
2121
22#include "mir/visibility.h"
22#include "mir/graphics/buffer.h"23#include "mir/graphics/buffer.h"
23#include "mir/graphics/buffer_id.h"24#include "mir/graphics/buffer_id.h"
2425
@@ -32,7 +33,7 @@
32class BufferBundle;33class BufferBundle;
33class BackBufferStrategy;34class BackBufferStrategy;
3435
35class TemporaryBuffer : public mg::Buffer36class MIR_INTERNAL TemporaryBuffer : public mg::Buffer
36{37{
37public:38public:
38 geometry::Size size() const;39 geometry::Size size() const;
@@ -48,7 +49,7 @@
48 std::shared_ptr<mg::Buffer> const buffer;49 std::shared_ptr<mg::Buffer> const buffer;
49};50};
5051
51class TemporaryCompositorBuffer : public TemporaryBuffer52class MIR_INTERNAL TemporaryCompositorBuffer : public TemporaryBuffer
52{53{
53public:54public:
54 explicit TemporaryCompositorBuffer(55 explicit TemporaryCompositorBuffer(
@@ -59,7 +60,7 @@
59 std::shared_ptr<BufferBundle> const bundle;60 std::shared_ptr<BufferBundle> const bundle;
60};61};
6162
62class TemporarySnapshotBuffer : public TemporaryBuffer63class MIR_INTERNAL TemporarySnapshotBuffer : public TemporaryBuffer
63{64{
64public:65public:
65 explicit TemporarySnapshotBuffer(66 explicit TemporarySnapshotBuffer(
6667
=== modified file 'src/server/frontend/client_buffer_tracker.h'
--- src/server/frontend/client_buffer_tracker.h 2013-08-28 03:41:48 +0000
+++ src/server/frontend/client_buffer_tracker.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19 #ifndef MIR_FRONTEND_CLIENT_BUFFER_TRACKER_H_19 #ifndef MIR_FRONTEND_CLIENT_BUFFER_TRACKER_H_
20 #define MIR_FRONTEND_CLIENT_BUFFER_TRACKER_H_20 #define MIR_FRONTEND_CLIENT_BUFFER_TRACKER_H_
2121
22#include "mir/visibility.h"
22#include <stdint.h>23#include <stdint.h>
23#include <list>24#include <list>
2425
@@ -37,7 +38,7 @@
3738
38/// \sa mir::client::ClientBufferDepository for the client-side of this tracking39/// \sa mir::client::ClientBufferDepository for the client-side of this tracking
39/// \note Changes to the tracking algorithm of mir::client::ClientBufferDepository will need to be mirrored here40/// \note Changes to the tracking algorithm of mir::client::ClientBufferDepository will need to be mirrored here
40class ClientBufferTracker41class MIR_INTERNAL ClientBufferTracker
41{42{
42public:43public:
43 ClientBufferTracker(unsigned int client_cache_size);44 ClientBufferTracker(unsigned int client_cache_size);
4445
=== modified file 'src/server/frontend/default_ipc_factory.h'
--- src/server/frontend/default_ipc_factory.h 2014-07-09 10:48:47 +0000
+++ src/server/frontend/default_ipc_factory.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_FRONTEND_DEFAULT_IPC_FACTORY_H_19#ifndef MIR_FRONTEND_DEFAULT_IPC_FACTORY_H_
20#define MIR_FRONTEND_DEFAULT_IPC_FACTORY_H_20#define MIR_FRONTEND_DEFAULT_IPC_FACTORY_H_
2121
22#include "mir/visibility.h"
22#include "protobuf_ipc_factory.h"23#include "protobuf_ipc_factory.h"
2324
24namespace mir25namespace mir
@@ -41,7 +42,7 @@
41class Screencast;42class Screencast;
42class SessionAuthorizer;43class SessionAuthorizer;
4344
44class DefaultIpcFactory : public ProtobufIpcFactory45class MIR_INTERNAL DefaultIpcFactory : public ProtobufIpcFactory
45{46{
46public:47public:
47 explicit DefaultIpcFactory(48 explicit DefaultIpcFactory(
4849
=== modified file 'src/server/frontend/display_server.h'
--- src/server/frontend/display_server.h 2014-06-03 11:04:15 +0000
+++ src/server/frontend/display_server.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_FRONTEND_DETAIL_DISPLAY_SERVER_H_19#ifndef MIR_FRONTEND_DETAIL_DISPLAY_SERVER_H_
20#define MIR_FRONTEND_DETAIL_DISPLAY_SERVER_H_20#define MIR_FRONTEND_DETAIL_DISPLAY_SERVER_H_
2121
22#include "mir/visibility.h"
22#include "mir_protobuf.pb.h"23#include "mir_protobuf.pb.h"
2324
24namespace mir25namespace mir
@@ -27,7 +28,7 @@
27{28{
28namespace detail29namespace detail
29{30{
30class DisplayServer : public mir::protobuf::DisplayServer31class MIR_INTERNAL DisplayServer : public mir::protobuf::DisplayServer
31{32{
32public:33public:
33 using mir::protobuf::DisplayServer::DisplayServer;34 using mir::protobuf::DisplayServer::DisplayServer;
3435
=== modified file 'src/server/frontend/message_receiver.h'
--- src/server/frontend/message_receiver.h 2014-06-03 11:04:15 +0000
+++ src/server/frontend/message_receiver.h 2014-07-18 06:57:43 +0000
@@ -18,6 +18,7 @@
18#ifndef MIR_FRONTEND_MESSAGE_RECEIVER_H_18#ifndef MIR_FRONTEND_MESSAGE_RECEIVER_H_
19#define MIR_FRONTEND_MESSAGE_RECEIVER_H_19#define MIR_FRONTEND_MESSAGE_RECEIVER_H_
2020
21#include "mir/visibility.h"
21#include <functional>22#include <functional>
22#include <boost/asio.hpp>23#include <boost/asio.hpp>
2324
2425
=== modified file 'src/server/frontend/no_prompt_shell.h'
--- src/server/frontend/no_prompt_shell.h 2014-07-09 17:04:55 +0000
+++ src/server/frontend/no_prompt_shell.h 2014-07-18 06:57:43 +0000
@@ -19,13 +19,14 @@
19#ifndef MIR_FRONTEND_NO_PROMPT_SHELL_H_19#ifndef MIR_FRONTEND_NO_PROMPT_SHELL_H_
20#define MIR_FRONTEND_NO_PROMPT_SHELL_H_20#define MIR_FRONTEND_NO_PROMPT_SHELL_H_
2121
22#include "mir/visibility.h"
22#include "shell_wrapper.h"23#include "shell_wrapper.h"
2324
24namespace mir25namespace mir
25{26{
26namespace frontend27namespace frontend
27{28{
28class NoPromptShell : public ShellWrapper29class MIR_INTERNAL NoPromptShell : public ShellWrapper
29{30{
30public:31public:
3132
3233
=== modified file 'src/server/frontend/protobuf_ipc_factory.h'
--- src/server/frontend/protobuf_ipc_factory.h 2014-06-03 11:04:15 +0000
+++ src/server/frontend/protobuf_ipc_factory.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_FRONTEND_PROTOBUF_IPC_FACTORY_H_19#ifndef MIR_FRONTEND_PROTOBUF_IPC_FACTORY_H_
20#define MIR_FRONTEND_PROTOBUF_IPC_FACTORY_H_20#define MIR_FRONTEND_PROTOBUF_IPC_FACTORY_H_
2121
22#include "mir/visibility.h"
22#include <sys/types.h>23#include <sys/types.h>
2324
24#include <memory>25#include <memory>
2526
=== modified file 'src/server/frontend/protobuf_message_processor.h'
--- src/server/frontend/protobuf_message_processor.h 2014-06-03 11:04:15 +0000
+++ src/server/frontend/protobuf_message_processor.h 2014-07-18 06:57:43 +0000
@@ -20,6 +20,7 @@
20#ifndef MIR_FRONTEND_PROTOBUF_MESSAGE_PROCESSOR_H_20#ifndef MIR_FRONTEND_PROTOBUF_MESSAGE_PROCESSOR_H_
21#define MIR_FRONTEND_PROTOBUF_MESSAGE_PROCESSOR_H_21#define MIR_FRONTEND_PROTOBUF_MESSAGE_PROCESSOR_H_
2222
23#include "mir/visibility.h"
23#include "mir/frontend/message_processor.h"24#include "mir/frontend/message_processor.h"
2425
25#include "mir_protobuf.pb.h"26#include "mir_protobuf.pb.h"
@@ -37,7 +38,7 @@
37class DisplayServer;38class DisplayServer;
38class ProtobufMessageSender;39class ProtobufMessageSender;
3940
40class ProtobufMessageProcessor : public MessageProcessor41class MIR_INTERNAL ProtobufMessageProcessor : public MessageProcessor
41{42{
42public:43public:
43 ProtobufMessageProcessor(44 ProtobufMessageProcessor(
4445
=== modified file 'src/server/frontend/protobuf_responder.h'
--- src/server/frontend/protobuf_responder.h 2014-05-20 03:37:18 +0000
+++ src/server/frontend/protobuf_responder.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_FRONTEND_PROTOBUF_RESPONDER_H_19#ifndef MIR_FRONTEND_PROTOBUF_RESPONDER_H_
20#define MIR_FRONTEND_PROTOBUF_RESPONDER_H_20#define MIR_FRONTEND_PROTOBUF_RESPONDER_H_
2121
22#include "mir/visibility.h"
22#include "mir/frontend/protobuf_message_sender.h"23#include "mir/frontend/protobuf_message_sender.h"
23#include "mir_protobuf_wire.pb.h"24#include "mir_protobuf_wire.pb.h"
2425
@@ -34,7 +35,7 @@
34{35{
35class MessageSender;36class MessageSender;
3637
37class ProtobufResponder : public ProtobufMessageSender38class MIR_INTERNAL ProtobufResponder : public ProtobufMessageSender
38{39{
39public:40public:
40 ProtobufResponder(41 ProtobufResponder(
4142
=== modified file 'src/server/frontend/published_socket_connector.h'
--- src/server/frontend/published_socket_connector.h 2014-06-02 17:07:02 +0000
+++ src/server/frontend/published_socket_connector.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_FRONTEND_PROTOBUF_ASIO_COMMUNICATOR_H_19#ifndef MIR_FRONTEND_PROTOBUF_ASIO_COMMUNICATOR_H_
20#define MIR_FRONTEND_PROTOBUF_ASIO_COMMUNICATOR_H_20#define MIR_FRONTEND_PROTOBUF_ASIO_COMMUNICATOR_H_
2121
22#include "mir/visibility.h"
22#include "mir/frontend/connector.h"23#include "mir/frontend/connector.h"
2324
24#include <boost/asio.hpp>25#include <boost/asio.hpp>
@@ -46,7 +47,7 @@
46class ConnectorReport;47class ConnectorReport;
4748
48/// provides a client-side socket fd for each connection49/// provides a client-side socket fd for each connection
49class BasicConnector : public Connector50class MIR_INTERNAL BasicConnector : public Connector
50{51{
51public:52public:
52 explicit BasicConnector(53 explicit BasicConnector(
@@ -74,7 +75,7 @@
74};75};
7576
76/// Accept connections over a published socket77/// Accept connections over a published socket
77class PublishedSocketConnector : public BasicConnector78class MIR_INTERNAL PublishedSocketConnector : public BasicConnector
78{79{
79public:80public:
80 explicit PublishedSocketConnector(81 explicit PublishedSocketConnector(
8182
=== modified file 'src/server/frontend/resource_cache.h'
--- src/server/frontend/resource_cache.h 2014-03-06 06:05:17 +0000
+++ src/server/frontend/resource_cache.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_FRONTEND_RESOURCE_CACHE_H_19#ifndef MIR_FRONTEND_RESOURCE_CACHE_H_
20#define MIR_FRONTEND_RESOURCE_CACHE_H_20#define MIR_FRONTEND_RESOURCE_CACHE_H_
2121
22#include "mir/visibility.h"
22#include "mir_protobuf.pb.h"23#include "mir_protobuf.pb.h"
2324
24#include <map>25#include <map>
@@ -31,7 +32,7 @@
31{32{
3233
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.
34class ResourceCache35class MIR_INTERNAL ResourceCache
35{36{
36public:37public:
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);
3839
=== modified file 'src/server/frontend/session_mediator.h'
--- src/server/frontend/session_mediator.h 2014-07-09 17:04:55 +0000
+++ src/server/frontend/session_mediator.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_FRONTEND_SESSION_MEDIATOR_H_19#ifndef MIR_FRONTEND_SESSION_MEDIATOR_H_
20#define MIR_FRONTEND_SESSION_MEDIATOR_H_20#define MIR_FRONTEND_SESSION_MEDIATOR_H_
2121
22#include "mir/visibility.h"
22#include "display_server.h"23#include "display_server.h"
23#include "mir/frontend/connection_context.h"24#include "mir/frontend/connection_context.h"
24#include "mir/frontend/surface_id.h"25#include "mir/frontend/surface_id.h"
@@ -61,7 +62,7 @@
61class PromptSession;62class PromptSession;
6263
63// SessionMediator relays requests from the client process into the server.64// SessionMediator relays requests from the client process into the server.
64class SessionMediator : public detail::DisplayServer65class MIR_INTERNAL SessionMediator : public detail::DisplayServer
65{66{
66public:67public:
6768
6869
=== modified file 'src/server/frontend/socket_connection.h'
--- src/server/frontend/socket_connection.h 2014-06-02 17:07:02 +0000
+++ src/server/frontend/socket_connection.h 2014-07-18 06:57:43 +0000
@@ -20,6 +20,7 @@
20#ifndef MIR_FRONTEND_DETAIL_SOCKET_CONNECTION_H_20#ifndef MIR_FRONTEND_DETAIL_SOCKET_CONNECTION_H_
21#define MIR_FRONTEND_DETAIL_SOCKET_CONNECTION_H_21#define MIR_FRONTEND_DETAIL_SOCKET_CONNECTION_H_
2222
23#include "mir/visibility.h"
23#include "mir/frontend/connections.h"24#include "mir/frontend/connections.h"
2425
25#include <boost/asio.hpp>26#include <boost/asio.hpp>
2627
=== modified file 'src/server/frontend/socket_messenger.h'
--- src/server/frontend/socket_messenger.h 2014-06-03 11:04:15 +0000
+++ src/server/frontend/socket_messenger.h 2014-07-18 06:57:43 +0000
@@ -18,6 +18,7 @@
1818
19#ifndef MIR_FRONTEND_SOCKET_MESSENGER_H_19#ifndef MIR_FRONTEND_SOCKET_MESSENGER_H_
20#define MIR_FRONTEND_SOCKET_MESSENGER_H_20#define MIR_FRONTEND_SOCKET_MESSENGER_H_
21#include "mir/visibility.h"
21#include "message_sender.h"22#include "message_sender.h"
22#include "message_receiver.h"23#include "message_receiver.h"
23#include "mir/frontend/session_credentials.h"24#include "mir/frontend/session_credentials.h"
@@ -29,8 +30,8 @@
29{30{
30namespace detail31namespace detail
31{32{
32class SocketMessenger : public MessageSender,33class MIR_INTERNAL SocketMessenger : public MessageSender,
33 public MessageReceiver34 public MessageReceiver
34{35{
35public:36public:
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);
3738
=== modified file 'src/server/graphics/default_display_configuration_policy.h'
--- src/server/graphics/default_display_configuration_policy.h 2014-03-06 06:05:17 +0000
+++ src/server/graphics/default_display_configuration_policy.h 2014-07-18 06:57:43 +0000
@@ -16,6 +16,7 @@
16#ifndef MIR_GRAPHICS_DEFAULT_DISPLAY_CONFIGURATION_POLICY_H_16#ifndef MIR_GRAPHICS_DEFAULT_DISPLAY_CONFIGURATION_POLICY_H_
17#define MIR_GRAPHICS_DEFAULT_DISPLAY_CONFIGURATION_POLICY_H_17#define MIR_GRAPHICS_DEFAULT_DISPLAY_CONFIGURATION_POLICY_H_
1818
19#include "mir/visibility.h"
19#include "mir/graphics/display_configuration_policy.h"20#include "mir/graphics/display_configuration_policy.h"
2021
21namespace mir22namespace mir
@@ -23,7 +24,7 @@
23namespace graphics24namespace graphics
24{25{
2526
26class DefaultDisplayConfigurationPolicy : public DisplayConfigurationPolicy27class MIR_INTERNAL DefaultDisplayConfigurationPolicy : public DisplayConfigurationPolicy
27{28{
28public:29public:
29 void apply_to(DisplayConfiguration& conf);30 void apply_to(DisplayConfiguration& conf);
3031
=== modified file 'src/server/graphics/nested/nested_display.h'
--- src/server/graphics/nested/nested_display.h 2014-06-02 17:07:02 +0000
+++ src/server/graphics/nested/nested_display.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_GRAPHICS_NESTED_NESTED_DISPLAY_H_19#ifndef MIR_GRAPHICS_NESTED_NESTED_DISPLAY_H_
20#define MIR_GRAPHICS_NESTED_NESTED_DISPLAY_H_20#define MIR_GRAPHICS_NESTED_NESTED_DISPLAY_H_
2121
22#include "mir/visibility.h"
22#include "mir/graphics/display.h"23#include "mir/graphics/display.h"
23#include "mir/graphics/display_buffer.h"24#include "mir/graphics/display_buffer.h"
24#include "mir/graphics/display_configuration.h"25#include "mir/graphics/display_configuration.h"
@@ -50,7 +51,7 @@
50namespace detail51namespace detail
51{52{
5253
53class EGLSurfaceHandle54class MIR_INTERNAL EGLSurfaceHandle
54{55{
55public:56public:
56 explicit EGLSurfaceHandle(EGLDisplay display, EGLNativeWindowType native_window, EGLConfig cfg);57 explicit EGLSurfaceHandle(EGLDisplay display, EGLNativeWindowType native_window, EGLConfig cfg);
@@ -63,7 +64,7 @@
63 EGLSurface const egl_surface;64 EGLSurface const egl_surface;
64};65};
6566
66class EGLDisplayHandle67class MIR_INTERNAL EGLDisplayHandle
67{68{
68public:69public:
69 EGLDisplayHandle(EGLNativeDisplayType native_display,70 EGLDisplayHandle(EGLNativeDisplayType native_display,
@@ -91,7 +92,7 @@
9192
92class HostConnection;93class HostConnection;
9394
94class NestedDisplay : public Display95class MIR_INTERNAL NestedDisplay : public Display
95{96{
96public:97public:
97 NestedDisplay(98 NestedDisplay(
9899
=== modified file 'src/server/graphics/nested/nested_output.h'
--- src/server/graphics/nested/nested_output.h 2014-06-05 20:35:46 +0000
+++ src/server/graphics/nested/nested_output.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_19#ifndef MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_
20#define MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_20#define MIR_GRAPHICS_NESTED_DETAIL_NESTED_OUTPUT_H_
2121
22#include "mir/visibility.h"
22#include "nested_display.h"23#include "nested_display.h"
2324
24namespace mir25namespace mir
@@ -32,7 +33,7 @@
32namespace detail33namespace detail
33{34{
3435
35class NestedOutput : public DisplayBuffer36class MIR_INTERNAL NestedOutput : public DisplayBuffer
36{37{
37public:38public:
38 NestedOutput(39 NestedOutput(
3940
=== modified file 'src/server/graphics/nested/nested_platform.h'
--- src/server/graphics/nested/nested_platform.h 2014-06-16 23:37:57 +0000
+++ src/server/graphics/nested/nested_platform.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_GRAPHICS_NESTED_NESTED_PLATFORM_H_19#ifndef MIR_GRAPHICS_NESTED_NESTED_PLATFORM_H_
20#define MIR_GRAPHICS_NESTED_NESTED_PLATFORM_H_20#define MIR_GRAPHICS_NESTED_NESTED_PLATFORM_H_
2121
22#include "mir/visibility.h"
22#include "mir/graphics/platform.h"23#include "mir/graphics/platform.h"
23#include "mir/graphics/native_platform.h"24#include "mir/graphics/native_platform.h"
24#include "host_connection.h"25#include "host_connection.h"
@@ -31,7 +32,7 @@
31namespace nested32namespace nested
32{33{
3334
34class NestedPlatform : public Platform35class MIR_INTERNAL NestedPlatform : public Platform
35{36{
36public:37public:
37 NestedPlatform(38 NestedPlatform(
3839
=== modified file 'src/server/graphics/offscreen/display.h'
--- src/server/graphics/offscreen/display.h 2014-06-02 17:07:02 +0000
+++ src/server/graphics/offscreen/display.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_GRAPHICS_OFFSCREEN_DISPLAY_H_19#ifndef MIR_GRAPHICS_OFFSCREEN_DISPLAY_H_
20#define MIR_GRAPHICS_OFFSCREEN_DISPLAY_H_20#define MIR_GRAPHICS_OFFSCREEN_DISPLAY_H_
2121
22#include "mir/visibility.h"
22#include "mir/graphics/display.h"23#include "mir/graphics/display.h"
23#include "display_configuration.h"24#include "display_configuration.h"
24#include "mir/graphics/surfaceless_egl_context.h"25#include "mir/graphics/surfaceless_egl_context.h"
@@ -42,7 +43,7 @@
42namespace detail43namespace detail
43{44{
4445
45class EGLDisplayHandle46class MIR_INTERNAL EGLDisplayHandle
46{47{
47public:48public:
48 explicit EGLDisplayHandle(EGLNativeDisplayType native_type);49 explicit EGLDisplayHandle(EGLNativeDisplayType native_type);
@@ -61,7 +62,7 @@
6162
62}63}
6364
64class Display : public graphics::Display65class MIR_INTERNAL Display : public graphics::Display
65{66{
66public:67public:
67 Display(std::shared_ptr<BasicPlatform> const& basic_platform,68 Display(std::shared_ptr<BasicPlatform> const& basic_platform,
6869
=== modified file 'src/server/graphics/offscreen/display_configuration.h'
--- src/server/graphics/offscreen/display_configuration.h 2014-03-26 05:48:59 +0000
+++ src/server/graphics/offscreen/display_configuration.h 2014-07-18 06:57:43 +0000
@@ -17,6 +17,7 @@
17#ifndef MIR_GRAPHICS_OFFSCREEN_DISPLAY_CONFIGURATION_H_17#ifndef MIR_GRAPHICS_OFFSCREEN_DISPLAY_CONFIGURATION_H_
18#define MIR_GRAPHICS_OFFSCREEN_DISPLAY_CONFIGURATION_H_18#define MIR_GRAPHICS_OFFSCREEN_DISPLAY_CONFIGURATION_H_
1919
20#include "mir/visibility.h"
20#include "mir/graphics/display_configuration.h"21#include "mir/graphics/display_configuration.h"
2122
22namespace mir23namespace mir
@@ -26,7 +27,7 @@
26namespace offscreen27namespace offscreen
27{28{
2829
29class DisplayConfiguration : public graphics::DisplayConfiguration30class MIR_INTERNAL DisplayConfiguration : public graphics::DisplayConfiguration
30{31{
31public:32public:
32 DisplayConfiguration(geometry::Size const& display_size);33 DisplayConfiguration(geometry::Size const& display_size);
3334
=== modified file 'src/server/graphics/program_factory.h'
--- src/server/graphics/program_factory.h 2014-05-20 20:14:47 +0000
+++ src/server/graphics/program_factory.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_GRAPHICS_GL_RENDERER_FACTORY_H_19#ifndef MIR_GRAPHICS_GL_RENDERER_FACTORY_H_
20#define MIR_GRAPHICS_GL_RENDERER_FACTORY_H_20#define MIR_GRAPHICS_GL_RENDERER_FACTORY_H_
2121
22#include "mir/visibility.h"
22#include "mir/graphics/gl_program_factory.h"23#include "mir/graphics/gl_program_factory.h"
23#include "mir/graphics/gl_program.h"24#include "mir/graphics/gl_program.h"
24#include "mir/graphics/gl_texture_cache.h"25#include "mir/graphics/gl_texture_cache.h"
@@ -28,7 +29,7 @@
28{29{
29namespace graphics30namespace graphics
30{31{
31class ProgramFactory : public GLProgramFactory32class MIR_INTERNAL ProgramFactory : public GLProgramFactory
32{33{
33public:34public:
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;
3536
=== modified file 'src/server/input/android/android_input_manager.h'
--- src/server/input/android/android_input_manager.h 2014-06-02 17:07:02 +0000
+++ src/server/input/android/android_input_manager.h 2014-07-18 06:57:43 +0000
@@ -20,6 +20,7 @@
20#ifndef MIR_INPUT_ANDROID_INPUT_MANAGER_H_20#ifndef MIR_INPUT_ANDROID_INPUT_MANAGER_H_
21#define MIR_INPUT_ANDROID_INPUT_MANAGER_H_21#define MIR_INPUT_ANDROID_INPUT_MANAGER_H_
2222
23#include "mir/visibility.h"
23#include "mir/input/input_manager.h"24#include "mir/input/input_manager.h"
2425
25#include <memory>26#include <memory>
@@ -44,7 +45,7 @@
44/// Encapsulates the instances of the Android input stack that might require startup and45/// Encapsulates the instances of the Android input stack that might require startup and
45// shutdown calls, that is to say an EventHub tied to an InputReader tied to an46// shutdown calls, that is to say an EventHub tied to an InputReader tied to an
46// InputDispatcher.47// InputDispatcher.
47class InputManager : public input::InputManager48class MIR_INTERNAL InputManager : public input::InputManager
48{49{
49public:50public:
50 explicit InputManager(std::shared_ptr<droidinput::EventHubInterface> const& event_hub,51 explicit InputManager(std::shared_ptr<droidinput::EventHubInterface> const& event_hub,
5152
=== modified file 'src/server/input/android/android_input_reader_policy.h'
--- src/server/input/android/android_input_reader_policy.h 2014-06-09 18:45:21 +0000
+++ src/server/input/android/android_input_reader_policy.h 2014-07-18 06:57:43 +0000
@@ -18,6 +18,7 @@
18#ifndef MIR_ANDROID_INPUT_READER_POLICY_H_18#ifndef MIR_ANDROID_INPUT_READER_POLICY_H_
19#define MIR_ANDROID_INPUT_READER_POLICY_H_19#define MIR_ANDROID_INPUT_READER_POLICY_H_
2020
21#include "mir/visibility.h"
21#include "rudimentary_input_reader_policy.h"22#include "rudimentary_input_reader_policy.h"
2223
23#include <memory>24#include <memory>
@@ -31,7 +32,7 @@
31namespace android32namespace android
32{33{
3334
34class InputReaderPolicy : public RudimentaryInputReaderPolicy35class MIR_INTERNAL InputReaderPolicy : public RudimentaryInputReaderPolicy
35{36{
36public:37public:
37 explicit InputReaderPolicy(std::shared_ptr<InputRegion> const& input_region,38 explicit InputReaderPolicy(std::shared_ptr<InputRegion> const& input_region,
3839
=== modified file 'src/server/input/android/android_input_registrar.h'
--- src/server/input/android/android_input_registrar.h 2014-06-03 11:04:15 +0000
+++ src/server/input/android/android_input_registrar.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_ANDROID_REGISTRAR_H_19#ifndef MIR_INPUT_ANDROID_REGISTRAR_H_
20#define MIR_INPUT_ANDROID_REGISTRAR_H_20#define MIR_INPUT_ANDROID_REGISTRAR_H_
2121
22#include "mir/visibility.h"
22#include "android_window_handle_repository.h"23#include "android_window_handle_repository.h"
2324
24#include "mir/scene/null_observer.h"25#include "mir/scene/null_observer.h"
@@ -54,7 +55,7 @@
54class InputConfiguration;55class InputConfiguration;
55class InputTargeter;56class InputTargeter;
5657
57class InputRegistrar : public WindowHandleRepository58class MIR_INTERNAL InputRegistrar : public WindowHandleRepository
58{59{
59public:60public:
60 explicit InputRegistrar(std::shared_ptr<mir::compositor::Scene> const& scene);61 explicit InputRegistrar(std::shared_ptr<mir::compositor::Scene> const& scene);
6162
=== modified file 'src/server/input/android/android_input_target_enumerator.h'
--- src/server/input/android/android_input_target_enumerator.h 2014-05-20 03:37:18 +0000
+++ src/server/input/android/android_input_target_enumerator.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_ANDROID_TARGET_ENUMERATOR_H_19#ifndef MIR_INPUT_ANDROID_TARGET_ENUMERATOR_H_
20#define MIR_INPUT_ANDROID_TARGET_ENUMERATOR_H_20#define MIR_INPUT_ANDROID_TARGET_ENUMERATOR_H_
2121
22#include "mir/visibility.h"
22#include <InputEnumerator.h>23#include <InputEnumerator.h>
2324
24#include <utils/StrongPointer.h>25#include <utils/StrongPointer.h>
@@ -46,7 +47,7 @@
46{47{
47class WindowHandleRepository;48class WindowHandleRepository;
4849
49class InputTargetEnumerator : public droidinput::InputEnumerator50class MIR_INTERNAL InputTargetEnumerator : public droidinput::InputEnumerator
50{51{
51public:52public:
52 explicit InputTargetEnumerator(std::shared_ptr<input::InputTargets> const& targets,53 explicit InputTargetEnumerator(std::shared_ptr<input::InputTargets> const& targets,
5354
=== modified file 'src/server/input/android/android_input_targeter.h'
--- src/server/input/android/android_input_targeter.h 2014-05-21 02:24:48 +0000
+++ src/server/input/android/android_input_targeter.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_ANDROID_TARGET_H_19#ifndef MIR_INPUT_ANDROID_TARGET_H_
20#define MIR_INPUT_ANDROID_TARGET_H_20#define MIR_INPUT_ANDROID_TARGET_H_
2121
22#include "mir/visibility.h"
22#include "mir/shell/input_targeter.h"23#include "mir/shell/input_targeter.h"
2324
24#include <mutex>25#include <mutex>
@@ -40,7 +41,7 @@
40class InputConfiguration;41class InputConfiguration;
41class WindowHandleRepository;42class WindowHandleRepository;
4243
43class InputTargeter : public shell::InputTargeter44class MIR_INTERNAL InputTargeter : public shell::InputTargeter
44{45{
45public:46public:
46 explicit InputTargeter(std::shared_ptr<droidinput::InputDispatcherInterface> const& input_dispatcher,47 explicit InputTargeter(std::shared_ptr<droidinput::InputDispatcherInterface> const& input_dispatcher,
4748
=== modified file 'src/server/input/android/android_input_thread.h'
--- src/server/input/android/android_input_thread.h 2013-04-24 05:22:20 +0000
+++ src/server/input/android/android_input_thread.h 2014-07-18 06:57:43 +0000
@@ -19,13 +19,15 @@
19#ifndef MIR_INPUT_ANDROID_INPUT_THREAD_H_19#ifndef MIR_INPUT_ANDROID_INPUT_THREAD_H_
20#define MIR_INPUT_ANDROID_INPUT_THREAD_H_20#define MIR_INPUT_ANDROID_INPUT_THREAD_H_
2121
22#include "mir/visibility.h"
23
22namespace mir24namespace mir
23{25{
24namespace input26namespace input
25{27{
26namespace android28namespace android
27{29{
28class InputThread30class MIR_INTERNAL InputThread
29{31{
30public:32public:
31 virtual ~InputThread() {}33 virtual ~InputThread() {}
3234
=== modified file 'src/server/input/android/android_pointer_controller.h'
--- src/server/input/android/android_pointer_controller.h 2013-08-28 03:41:48 +0000
+++ src/server/input/android/android_pointer_controller.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_ANDROID_POINTER_CONTROLLER_H__19#ifndef MIR_INPUT_ANDROID_POINTER_CONTROLLER_H__
20#define MIR_INPUT_ANDROID_POINTER_CONTROLLER_H__20#define MIR_INPUT_ANDROID_POINTER_CONTROLLER_H__
2121
22#include "mir/visibility.h"
22#include "dummy_android_pointer_controller.h"23#include "dummy_android_pointer_controller.h"
2324
24#include "mir/input/cursor_listener.h"25#include "mir/input/cursor_listener.h"
@@ -33,7 +34,7 @@
33class InputRegion;34class InputRegion;
34namespace android35namespace android
35{36{
36class PointerController : public DummyPointerController37class MIR_INTERNAL PointerController : public DummyPointerController
37{38{
38 public:39 public:
39 explicit PointerController(std::shared_ptr<InputRegion> const& input_region);40 explicit PointerController(std::shared_ptr<InputRegion> const& input_region);
4041
=== modified file 'src/server/input/android/android_window_handle_repository.h'
--- src/server/input/android/android_window_handle_repository.h 2014-03-06 06:05:17 +0000
+++ src/server/input/android/android_window_handle_repository.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_ANDROID_WINDOW_HANDLE_REPOSITORY_H_19#ifndef MIR_INPUT_ANDROID_WINDOW_HANDLE_REPOSITORY_H_
20#define MIR_INPUT_ANDROID_WINDOW_HANDLE_REPOSITORY_H_20#define MIR_INPUT_ANDROID_WINDOW_HANDLE_REPOSITORY_H_
2121
22#include "mir/visibility.h"
22#include <utils/StrongPointer.h>23#include <utils/StrongPointer.h>
2324
24#include <memory>25#include <memory>
@@ -40,7 +41,7 @@
4041
41/// Interface internal to mir::input::android used for tracking the assosciation between droidinput::InputWindowHandle42/// Interface internal to mir::input::android used for tracking the assosciation between droidinput::InputWindowHandle
42/// and mir::input::InputChannel43/// and mir::input::InputChannel
43class WindowHandleRepository44class MIR_INTERNAL WindowHandleRepository
44{45{
45public:46public:
46 virtual ~WindowHandleRepository() = default;47 virtual ~WindowHandleRepository() = default;
4748
=== modified file 'src/server/input/android/common_input_thread.h'
--- src/server/input/android/common_input_thread.h 2014-05-14 14:35:23 +0000
+++ src/server/input/android/common_input_thread.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_ANDROID_COMMON_INPUT_THREAD_H_19#ifndef MIR_INPUT_ANDROID_COMMON_INPUT_THREAD_H_
20#define MIR_INPUT_ANDROID_COMMON_INPUT_THREAD_H_20#define MIR_INPUT_ANDROID_COMMON_INPUT_THREAD_H_
2121
22#include "mir/visibility.h"
22#include "android_input_thread.h"23#include "android_input_thread.h"
2324
24#include <utils/StrongPointer.h>25#include <utils/StrongPointer.h>
@@ -34,7 +35,7 @@
34{35{
35namespace android36namespace android
36{37{
37class CommonInputThread : public InputThread38class MIR_INTERNAL CommonInputThread : public InputThread
38{39{
39public:40public:
40 CommonInputThread(std::string const& name, droidinput::sp<droidinput::Thread> const& thread);41 CommonInputThread(std::string const& name, droidinput::sp<droidinput::Thread> const& thread);
4142
=== modified file 'src/server/input/android/input_channel_factory.h'
--- src/server/input/android/input_channel_factory.h 2014-04-10 12:59:14 +0000
+++ src/server/input/android/input_channel_factory.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_ANDROID_INPUT_CHANNEL_FACTORY_H_19#ifndef MIR_INPUT_ANDROID_INPUT_CHANNEL_FACTORY_H_
20#define MIR_INPUT_ANDROID_INPUT_CHANNEL_FACTORY_H_20#define MIR_INPUT_ANDROID_INPUT_CHANNEL_FACTORY_H_
2121
22#include "mir/visibility.h"
22#include "mir/input/input_channel_factory.h"23#include "mir/input/input_channel_factory.h"
2324
24namespace mir25namespace mir
@@ -27,7 +28,7 @@
27{28{
28namespace android29namespace android
29{30{
30class InputChannelFactory : public mir::input::InputChannelFactory31class MIR_INTERNAL InputChannelFactory : public mir::input::InputChannelFactory
31{32{
32public:33public:
33 std::shared_ptr<mir::input::InputChannel> make_input_channel() override;34 std::shared_ptr<mir::input::InputChannel> make_input_channel() override;
3435
=== modified file 'src/server/input/android/input_send_entry.h'
--- src/server/input/android/input_send_entry.h 2014-06-23 17:40:57 +0000
+++ src/server/input/android/input_send_entry.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_ANDROID_INPUT_SEND_ENTRY_H_19#ifndef MIR_INPUT_ANDROID_INPUT_SEND_ENTRY_H_
20#define MIR_INPUT_ANDROID_INPUT_SEND_ENTRY_H_20#define MIR_INPUT_ANDROID_INPUT_SEND_ENTRY_H_
2121
22#include "mir/visibility.h"
22#include "mir_toolkit/event.h"23#include "mir_toolkit/event.h"
23#include <memory>24#include <memory>
2425
@@ -33,7 +34,7 @@
33/*!34/*!
34 * Stores information about an input event to be sent to a client35 * Stores information about an input event to be sent to a client
35 */36 */
36struct InputSendEntry37struct MIR_INTERNAL InputSendEntry
37{38{
38 uint32_t sequence_id;39 uint32_t sequence_id;
39 MirEvent event;40 MirEvent event;
4041
=== modified file 'src/server/input/android/rudimentary_input_reader_policy.h'
--- src/server/input/android/rudimentary_input_reader_policy.h 2013-04-24 05:22:20 +0000
+++ src/server/input/android/rudimentary_input_reader_policy.h 2014-07-18 06:57:43 +0000
@@ -18,6 +18,8 @@
18#ifndef MIR_INPUT_ANDROID_RUDIMENTARY_INPUT_READER_POLICY_H_18#ifndef MIR_INPUT_ANDROID_RUDIMENTARY_INPUT_READER_POLICY_H_
19#define MIR_INPUT_ANDROID_RUDIMENTARY_INPUT_READER_POLICY_H_19#define MIR_INPUT_ANDROID_RUDIMENTARY_INPUT_READER_POLICY_H_
2020
21#include "mir/visibility.h"
22
21// from android23// from android
22#include <InputReader.h>24#include <InputReader.h>
2325
@@ -29,7 +31,7 @@
29{31{
30namespace android32namespace android
31{33{
32class RudimentaryInputReaderPolicy : public droidinput::InputReaderPolicyInterface34class MIR_INTERNAL RudimentaryInputReaderPolicy : public droidinput::InputReaderPolicyInterface
33{35{
34 public:36 public:
35 // From InputReaderPolicyInterface37 // From InputReaderPolicyInterface
3638
=== modified file 'src/server/input/cursor_controller.h'
--- src/server/input/cursor_controller.h 2014-06-11 17:42:49 +0000
+++ src/server/input/cursor_controller.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_CURSOR_CONTROLLER_H_19#ifndef MIR_INPUT_CURSOR_CONTROLLER_H_
20#define MIR_INPUT_CURSOR_CONTROLLER_H_20#define MIR_INPUT_CURSOR_CONTROLLER_H_
2121
22#include "mir/visibility.h"
22#include "mir/input/cursor_listener.h"23#include "mir/input/cursor_listener.h"
23#include "mir/geometry/point.h"24#include "mir/geometry/point.h"
2425
@@ -41,7 +42,7 @@
41{42{
42class InputTargets;43class InputTargets;
4344
44class CursorController : public CursorListener45class MIR_INTERNAL CursorController : public CursorListener
45{46{
46public:47public:
47 CursorController(std::shared_ptr<InputTargets> const& input_targets,48 CursorController(std::shared_ptr<InputTargets> const& input_targets,
4849
=== modified file 'src/server/input/default_configuration.cpp'
--- src/server/input/default_configuration.cpp 2014-07-09 10:48:47 +0000
+++ src/server/input/default_configuration.cpp 2014-07-18 06:57:43 +0000
@@ -118,7 +118,7 @@
118 });118 });
119}119}
120120
121std::shared_ptr<mia::InputRegistrar>121MIR_API std::shared_ptr<mia::InputRegistrar>
122mir::DefaultServerConfiguration::the_input_registrar()122mir::DefaultServerConfiguration::the_input_registrar()
123{123{
124 return input_registrar(124 return input_registrar(
125125
=== modified file 'src/server/input/event_filter_chain.h'
--- src/server/input/event_filter_chain.h 2014-03-06 06:05:17 +0000
+++ src/server/input/event_filter_chain.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_EVENT_FILTER_CHAIN_H_19#ifndef MIR_INPUT_EVENT_FILTER_CHAIN_H_
20#define MIR_INPUT_EVENT_FILTER_CHAIN_H_20#define MIR_INPUT_EVENT_FILTER_CHAIN_H_
2121
22#include "mir/visibility.h"
22#include "mir/input/composite_event_filter.h"23#include "mir/input/composite_event_filter.h"
2324
24#include <vector>25#include <vector>
@@ -28,7 +29,7 @@
28namespace input29namespace input
29{30{
3031
31class EventFilterChain : public CompositeEventFilter32class MIR_INTERNAL EventFilterChain : public CompositeEventFilter
32{33{
33public:34public:
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);
3536
=== modified file 'src/server/input/null_input_channel_factory.h'
--- src/server/input/null_input_channel_factory.h 2014-06-24 15:28:09 +0000
+++ src/server/input/null_input_channel_factory.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_NULL_INPUT_CHANNEL_FACTORY_H_19#ifndef MIR_INPUT_NULL_INPUT_CHANNEL_FACTORY_H_
20#define MIR_INPUT_NULL_INPUT_CHANNEL_FACTORY_H_20#define MIR_INPUT_NULL_INPUT_CHANNEL_FACTORY_H_
2121
22#include "mir/visibility.h"
22#include "mir/input/input_channel_factory.h"23#include "mir/input/input_channel_factory.h"
2324
24namespace mir25namespace mir
@@ -27,7 +28,7 @@
27{28{
28class InputChannel;29class InputChannel;
2930
30class NullInputChannelFactory : public mir::input::InputChannelFactory31class MIR_INTERNAL NullInputChannelFactory : public mir::input::InputChannelFactory
31{32{
32 std::shared_ptr<mir::input::InputChannel> make_input_channel() override;33 std::shared_ptr<mir::input::InputChannel> make_input_channel() override;
33};34};
3435
=== modified file 'src/server/input/null_input_dispatcher.h'
--- src/server/input/null_input_dispatcher.h 2014-05-08 15:23:20 +0000
+++ src/server/input/null_input_dispatcher.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_NULL_INPUT_DISPATCHER_H_19#ifndef MIR_INPUT_NULL_INPUT_DISPATCHER_H_
20#define MIR_INPUT_NULL_INPUT_DISPATCHER_H_20#define MIR_INPUT_NULL_INPUT_DISPATCHER_H_
2121
22#include "mir/visibility.h"
22#include "mir/input/input_dispatcher.h"23#include "mir/input/input_dispatcher.h"
2324
24namespace mir25namespace mir
@@ -26,7 +27,7 @@
26namespace input27namespace input
27{28{
2829
29class NullInputDispatcher : public mir::input::InputDispatcher30class MIR_INTERNAL NullInputDispatcher : public mir::input::InputDispatcher
30{31{
31public:32public:
32 void configuration_changed(nsecs_t when) override;33 void configuration_changed(nsecs_t when) override;
3334
=== modified file 'src/server/input/null_input_manager.h'
--- src/server/input/null_input_manager.h 2014-05-07 09:11:52 +0000
+++ src/server/input/null_input_manager.h 2014-07-18 06:57:43 +0000
@@ -19,13 +19,14 @@
19#ifndef MIR_INPUT_NULL_INPUT_MANAGER_H_19#ifndef MIR_INPUT_NULL_INPUT_MANAGER_H_
20#define MIR_INPUT_NULL_INPUT_MANAGER_H_20#define MIR_INPUT_NULL_INPUT_MANAGER_H_
2121
22#include "mir/visibility.h"
22#include "mir/input/input_manager.h"23#include "mir/input/input_manager.h"
2324
24namespace mir25namespace mir
25{26{
26namespace input27namespace input
27{28{
28class NullInputManager : public input::InputManager29class MIR_INTERNAL NullInputManager : public input::InputManager
29{30{
30 void start() override31 void start() override
31 {32 {
3233
=== modified file 'src/server/input/null_input_send_observer.h'
--- src/server/input/null_input_send_observer.h 2014-06-23 17:40:57 +0000
+++ src/server/input/null_input_send_observer.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_INPUT_NULL_INPUT_SEND_OBSERVER_H_19#ifndef MIR_INPUT_NULL_INPUT_SEND_OBSERVER_H_
20#define MIR_INPUT_NULL_INPUT_SEND_OBSERVER_H_20#define MIR_INPUT_NULL_INPUT_SEND_OBSERVER_H_
2121
22#include "mir/visibility.h"
22#include "mir/input/input_send_observer.h"23#include "mir/input/input_send_observer.h"
2324
24namespace mir25namespace mir
@@ -26,7 +27,7 @@
26namespace input27namespace input
27{28{
2829
29class NullInputSendObserver : public InputSendObserver30class MIR_INTERNAL NullInputSendObserver : public InputSendObserver
30{31{
31public:32public:
32 void send_failed(MirEvent const& /*event*/, input::Surface* /*surface*/, FailureReason /*reason*/) override33 void send_failed(MirEvent const& /*event*/, input::Surface* /*surface*/, FailureReason /*reason*/) override
3334
=== modified file 'src/server/report/lttng/compositor_report.h'
--- src/server/report/lttng/compositor_report.h 2014-02-09 16:18:16 +0000
+++ src/server/report/lttng/compositor_report.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_REPORT_LTTNG_COMPOSITOR_REPORT_H_19#ifndef MIR_REPORT_LTTNG_COMPOSITOR_REPORT_H_
20#define MIR_REPORT_LTTNG_COMPOSITOR_REPORT_H_20#define MIR_REPORT_LTTNG_COMPOSITOR_REPORT_H_
2121
22#include "mir/visibility.h"
22#include "server_tracepoint_provider.h"23#include "server_tracepoint_provider.h"
2324
24#include "mir/compositor/compositor_report.h"25#include "mir/compositor/compositor_report.h"
@@ -30,7 +31,7 @@
30namespace lttng31namespace lttng
31{32{
3233
33class CompositorReport : public compositor::CompositorReport34class MIR_INTERNAL CompositorReport : public compositor::CompositorReport
34{35{
35public:36public:
36 CompositorReport() = default;37 CompositorReport() = default;
3738
=== modified file 'src/server/report/lttng/input_report.h'
--- src/server/report/lttng/input_report.h 2014-03-06 06:05:17 +0000
+++ src/server/report/lttng/input_report.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_REPORT_LTTNG_INPUT_REPORT_H_19#ifndef MIR_REPORT_LTTNG_INPUT_REPORT_H_
20#define MIR_REPORT_LTTNG_INPUT_REPORT_H_20#define MIR_REPORT_LTTNG_INPUT_REPORT_H_
2121
22#include "mir/visibility.h"
22#include "server_tracepoint_provider.h"23#include "server_tracepoint_provider.h"
2324
24#include "mir/input/input_report.h"25#include "mir/input/input_report.h"
@@ -30,7 +31,7 @@
30namespace lttng31namespace lttng
31{32{
3233
33class InputReport : public input::InputReport34class MIR_INTERNAL InputReport : public input::InputReport
34{35{
35public:36public:
36 InputReport() = default;37 InputReport() = default;
3738
=== modified file 'src/server/report/lttng/message_processor_report.h'
--- src/server/report/lttng/message_processor_report.h 2014-03-06 06:05:17 +0000
+++ src/server/report/lttng/message_processor_report.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_REPORT_LTTNG_MESSAGE_PROCESSOR_REPORT_H_19#ifndef MIR_REPORT_LTTNG_MESSAGE_PROCESSOR_REPORT_H_
20#define MIR_REPORT_LTTNG_MESSAGE_PROCESSOR_REPORT_H_20#define MIR_REPORT_LTTNG_MESSAGE_PROCESSOR_REPORT_H_
2121
22#include "mir/visibility.h"
22#include "server_tracepoint_provider.h"23#include "server_tracepoint_provider.h"
2324
24#include "mir/frontend/message_processor_report.h"25#include "mir/frontend/message_processor_report.h"
@@ -30,7 +31,7 @@
30namespace lttng31namespace lttng
31{32{
3233
33class MessageProcessorReport : public mir::frontend::MessageProcessorReport34class MIR_INTERNAL MessageProcessorReport : public mir::frontend::MessageProcessorReport
34{35{
35public:36public:
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);
3738
=== modified file 'src/server/report/lttng/scene_report.h'
--- src/server/report/lttng/scene_report.h 2014-02-09 16:18:16 +0000
+++ src/server/report/lttng/scene_report.h 2014-07-18 06:57:43 +0000
@@ -20,6 +20,7 @@
20#ifndef MIR_REPORT_LTTNG_SCENE_REPORT_H_20#ifndef MIR_REPORT_LTTNG_SCENE_REPORT_H_
21#define MIR_REPORT_LTTNG_SCENE_REPORT_H_21#define MIR_REPORT_LTTNG_SCENE_REPORT_H_
2222
23#include "mir/visibility.h"
23#include "server_tracepoint_provider.h"24#include "server_tracepoint_provider.h"
2425
25#include "mir/scene/scene_report.h"26#include "mir/scene/scene_report.h"
@@ -31,7 +32,7 @@
31namespace lttng32namespace lttng
32{33{
3334
34class SceneReport : public scene::SceneReport35class MIR_INTERNAL SceneReport : public scene::SceneReport
35{36{
36public:37public:
37 void surface_created(BasicSurfaceId id, std::string const& name) override;38 void surface_created(BasicSurfaceId id, std::string const& name) override;
3839
=== modified file 'src/server/report/lttng_report_factory.h'
--- src/server/report/lttng_report_factory.h 2014-02-11 15:18:07 +0000
+++ src/server/report/lttng_report_factory.h 2014-07-18 06:57:43 +0000
@@ -19,13 +19,14 @@
19#ifndef MIR_REPORT_LTTNG_REPORT_FACTORY_H_19#ifndef MIR_REPORT_LTTNG_REPORT_FACTORY_H_
20#define MIR_REPORT_LTTNG_REPORT_FACTORY_H_20#define MIR_REPORT_LTTNG_REPORT_FACTORY_H_
2121
22#include "mir/visibility.h"
22#include "report_factory.h"23#include "report_factory.h"
2324
24namespace mir25namespace mir
25{26{
26namespace report27namespace report
27{28{
28class LttngReportFactory : public report::ReportFactory29class MIR_INTERNAL LttngReportFactory : public report::ReportFactory
29{30{
30public:31public:
31 std::shared_ptr<compositor::CompositorReport> create_compositor_report() override;32 std::shared_ptr<compositor::CompositorReport> create_compositor_report() override;
3233
=== modified file 'src/server/report/null/input_report.h'
--- src/server/report/null/input_report.h 2014-03-06 06:05:17 +0000
+++ src/server/report/null/input_report.h 2014-07-18 06:57:43 +0000
@@ -20,6 +20,7 @@
20#ifndef MIR_REPORT_NULL_INPUT_REPORT_H_20#ifndef MIR_REPORT_NULL_INPUT_REPORT_H_
21#define MIR_REPORT_NULL_INPUT_REPORT_H_21#define MIR_REPORT_NULL_INPUT_REPORT_H_
2222
23#include "mir/visibility.h"
23#include "mir/input/input_report.h"24#include "mir/input/input_report.h"
2425
25namespace mir26namespace mir
@@ -29,7 +30,7 @@
29namespace null30namespace null
30{31{
3132
32class InputReport : public input::InputReport33class MIR_INTERNAL InputReport : public input::InputReport
33{34{
34public:35public:
35 InputReport() = default;36 InputReport() = default;
3637
=== modified file 'src/server/report/null/scene_report.h'
--- src/server/report/null/scene_report.h 2014-02-09 16:18:16 +0000
+++ src/server/report/null/scene_report.h 2014-07-18 06:57:43 +0000
@@ -21,6 +21,7 @@
21#ifndef MIR_REPORT_NULL_SCENE_REPORT_H_21#ifndef MIR_REPORT_NULL_SCENE_REPORT_H_
22#define MIR_REPORT_NULL_SCENE_REPORT_H_22#define MIR_REPORT_NULL_SCENE_REPORT_H_
2323
24#include "mir/visibility.h"
24#include "mir/scene/scene_report.h"25#include "mir/scene/scene_report.h"
2526
26namespace mir27namespace mir
@@ -30,7 +31,7 @@
30namespace null31namespace null
31{32{
3233
33class SceneReport : public scene::SceneReport34class MIR_INTERNAL SceneReport : public scene::SceneReport
34{35{
35public:36public:
36 virtual void surface_created(BasicSurfaceId /*id*/, std::string const& /*name*/) override;37 virtual void surface_created(BasicSurfaceId /*id*/, std::string const& /*name*/) override;
3738
=== modified file 'src/server/report/null_report_factory.h'
--- src/server/report/null_report_factory.h 2014-02-17 22:35:23 +0000
+++ src/server/report/null_report_factory.h 2014-07-18 06:57:43 +0000
@@ -19,13 +19,14 @@
19#ifndef MIR_REPORT_NULL_REPORT_FACTORY_H_19#ifndef MIR_REPORT_NULL_REPORT_FACTORY_H_
20#define MIR_REPORT_NULL_REPORT_FACTORY_H_20#define MIR_REPORT_NULL_REPORT_FACTORY_H_
2121
22#include "mir/visibility.h"
22#include "report_factory.h"23#include "report_factory.h"
2324
24namespace mir25namespace mir
25{26{
26namespace report27namespace report
27{28{
28class NullReportFactory : public mir::report::ReportFactory29class MIR_INTERNAL NullReportFactory : public mir::report::ReportFactory
29{30{
30public:31public:
31 std::shared_ptr<compositor::CompositorReport> create_compositor_report() override;32 std::shared_ptr<compositor::CompositorReport> create_compositor_report() override;
@@ -37,13 +38,13 @@
37 std::shared_ptr<input::InputReport> create_input_report() override;38 std::shared_ptr<input::InputReport> create_input_report() override;
38};39};
3940
40std::shared_ptr<compositor::CompositorReport> null_compositor_report();41MIR_INTERNAL std::shared_ptr<compositor::CompositorReport> null_compositor_report();
41std::shared_ptr<graphics::DisplayReport> null_display_report();42MIR_INTERNAL std::shared_ptr<graphics::DisplayReport> null_display_report();
42std::shared_ptr<scene::SceneReport> null_scene_report();43MIR_INTERNAL std::shared_ptr<scene::SceneReport> null_scene_report();
43std::shared_ptr<frontend::ConnectorReport> null_connector_report();44MIR_INTERNAL std::shared_ptr<frontend::ConnectorReport> null_connector_report();
44std::shared_ptr<frontend::SessionMediatorReport> null_session_mediator_report();45MIR_INTERNAL std::shared_ptr<frontend::SessionMediatorReport> null_session_mediator_report();
45std::shared_ptr<frontend::MessageProcessorReport> null_message_processor_report();46MIR_INTERNAL std::shared_ptr<frontend::MessageProcessorReport> null_message_processor_report();
46std::shared_ptr<input::InputReport> null_input_report();47MIR_INTERNAL std::shared_ptr<input::InputReport> null_input_report();
4748
48}49}
49}50}
5051
=== modified file 'src/server/scene/broadcasting_session_event_sink.h'
--- src/server/scene/broadcasting_session_event_sink.h 2014-04-15 05:31:19 +0000
+++ src/server/scene/broadcasting_session_event_sink.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_SCENE_BROADCASTING_SESSION_EVENT_SINK_H_19#ifndef MIR_SCENE_BROADCASTING_SESSION_EVENT_SINK_H_
20#define MIR_SCENE_BROADCASTING_SESSION_EVENT_SINK_H_20#define MIR_SCENE_BROADCASTING_SESSION_EVENT_SINK_H_
2121
22#include "mir/visibility.h"
22#include "session_event_sink.h"23#include "session_event_sink.h"
23#include "session_event_handler_register.h"24#include "session_event_handler_register.h"
2425
@@ -29,8 +30,8 @@
29{30{
30namespace scene31namespace scene
31{32{
32class BroadcastingSessionEventSink : public SessionEventSink,33class MIR_INTERNAL BroadcastingSessionEventSink : public SessionEventSink,
33 public SessionEventHandlerRegister34 public SessionEventHandlerRegister
34{35{
35public:36public:
36 void handle_focus_change(std::shared_ptr<Session> const& session);37 void handle_focus_change(std::shared_ptr<Session> const& session);
3738
=== modified file 'src/server/scene/default_configuration.cpp'
--- src/server/scene/default_configuration.cpp 2014-07-08 06:42:38 +0000
+++ src/server/scene/default_configuration.cpp 2014-07-18 06:57:43 +0000
@@ -100,7 +100,7 @@
100 return wrapped;100 return wrapped;
101}101}
102102
103std::shared_ptr<ms::BroadcastingSessionEventSink>103MIR_API std::shared_ptr<ms::BroadcastingSessionEventSink>
104mir::DefaultServerConfiguration::the_broadcasting_session_event_sink()104mir::DefaultServerConfiguration::the_broadcasting_session_event_sink()
105{105{
106 return broadcasting_session_event_sink(106 return broadcasting_session_event_sink(
@@ -116,7 +116,7 @@
116 return the_broadcasting_session_event_sink();116 return the_broadcasting_session_event_sink();
117}117}
118118
119std::shared_ptr<ms::SessionEventHandlerRegister>119MIR_API std::shared_ptr<ms::SessionEventHandlerRegister>
120mir::DefaultServerConfiguration::the_session_event_handler_register()120mir::DefaultServerConfiguration::the_session_event_handler_register()
121{121{
122 return the_broadcasting_session_event_sink();122 return the_broadcasting_session_event_sink();
@@ -129,7 +129,7 @@
129 []{ return std::make_shared<ms::DefaultSessionContainer>(); });129 []{ return std::make_shared<ms::DefaultSessionContainer>(); });
130}130}
131131
132std::shared_ptr<ms::MediatingDisplayChanger>132MIR_API std::shared_ptr<ms::MediatingDisplayChanger>
133mir::DefaultServerConfiguration::the_mediating_display_changer()133mir::DefaultServerConfiguration::the_mediating_display_changer()
134{134{
135 return mediating_display_changer(135 return mediating_display_changer(
136136
=== modified file 'src/server/scene/default_session_container.h'
--- src/server/scene/default_session_container.h 2014-04-24 11:24:51 +0000
+++ src/server/scene/default_session_container.h 2014-07-18 06:57:43 +0000
@@ -23,13 +23,14 @@
23#include <memory>23#include <memory>
24#include <mutex>24#include <mutex>
2525
26#include "mir/visibility.h"
26#include "session_container.h"27#include "session_container.h"
2728
28namespace mir29namespace mir
29{30{
30namespace scene31namespace scene
31{32{
32class DefaultSessionContainer : public SessionContainer33class MIR_INTERNAL DefaultSessionContainer : public SessionContainer
33{34{
34public:35public:
35 void insert_session(std::shared_ptr<Session> const& session) override;36 void insert_session(std::shared_ptr<Session> const& session) override;
3637
=== modified file 'src/server/scene/gl_pixel_buffer.h'
--- src/server/scene/gl_pixel_buffer.h 2014-03-06 06:05:17 +0000
+++ src/server/scene/gl_pixel_buffer.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_SCENE_GL_PIXEL_BUFFER_H_19#ifndef MIR_SCENE_GL_PIXEL_BUFFER_H_
20#define MIR_SCENE_GL_PIXEL_BUFFER_H_20#define MIR_SCENE_GL_PIXEL_BUFFER_H_
2121
22#include "mir/visibility.h"
22#include "pixel_buffer.h"23#include "pixel_buffer.h"
2324
24#include <memory>25#include <memory>
@@ -37,7 +38,7 @@
37namespace scene38namespace scene
38{39{
39/** Extracts the pixels from a graphics::Buffer using GL facilities. */40/** Extracts the pixels from a graphics::Buffer using GL facilities. */
40class GLPixelBuffer : public PixelBuffer41class MIR_INTERNAL GLPixelBuffer : public PixelBuffer
41{42{
42public:43public:
43 GLPixelBuffer(std::unique_ptr<graphics::GLContext> gl_context);44 GLPixelBuffer(std::unique_ptr<graphics::GLContext> gl_context);
4445
=== modified file 'src/server/scene/global_event_sender.h'
--- src/server/scene/global_event_sender.h 2014-03-18 09:24:36 +0000
+++ src/server/scene/global_event_sender.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_SCENE_GLOBAL_EVENT_SENDER_H_19#ifndef MIR_SCENE_GLOBAL_EVENT_SENDER_H_
20#define MIR_SCENE_GLOBAL_EVENT_SENDER_H_20#define MIR_SCENE_GLOBAL_EVENT_SENDER_H_
2121
22#include "mir/visibility.h"
22#include "mir/frontend/event_sink.h"23#include "mir/frontend/event_sink.h"
23#include <memory>24#include <memory>
2425
@@ -28,7 +29,7 @@
28{29{
29class SessionContainer;30class SessionContainer;
3031
31class GlobalEventSender : public frontend::EventSink32class MIR_INTERNAL GlobalEventSender : public frontend::EventSink
32{33{
33public:34public:
34 GlobalEventSender(std::shared_ptr<SessionContainer> const&);35 GlobalEventSender(std::shared_ptr<SessionContainer> const&);
3536
=== modified file 'src/server/scene/mediating_display_changer.h'
--- src/server/scene/mediating_display_changer.h 2014-05-21 02:24:48 +0000
+++ src/server/scene/mediating_display_changer.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_SCENE_MEDIATING_DISPLAY_CHANGER_H_19#ifndef MIR_SCENE_MEDIATING_DISPLAY_CHANGER_H_
20#define MIR_SCENE_MEDIATING_DISPLAY_CHANGER_H_20#define MIR_SCENE_MEDIATING_DISPLAY_CHANGER_H_
2121
22#include "mir/visibility.h"
22#include "mir/frontend/display_changer.h"23#include "mir/frontend/display_changer.h"
23#include "mir/display_changer.h"24#include "mir/display_changer.h"
2425
@@ -41,8 +42,8 @@
41class SessionContainer;42class SessionContainer;
42class Session;43class Session;
4344
44class MediatingDisplayChanger : public frontend::DisplayChanger,45class MIR_INTERNAL MediatingDisplayChanger : public frontend::DisplayChanger,
45 public mir::DisplayChanger46 public mir::DisplayChanger
46{47{
47public:48public:
48 MediatingDisplayChanger(49 MediatingDisplayChanger(
4950
=== modified file 'src/server/scene/prompt_session_manager_impl.h'
--- src/server/scene/prompt_session_manager_impl.h 2014-07-09 17:04:55 +0000
+++ src/server/scene/prompt_session_manager_impl.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_SCENE_PROMPT_SESSION_MANAGERIMPL_H_19#ifndef MIR_SCENE_PROMPT_SESSION_MANAGERIMPL_H_
20#define MIR_SCENE_PROMPT_SESSION_MANAGERIMPL_H_20#define MIR_SCENE_PROMPT_SESSION_MANAGERIMPL_H_
2121
22#include "mir/visibility.h"
22#include "mir/scene/prompt_session_manager.h"23#include "mir/scene/prompt_session_manager.h"
23#include "mir_toolkit/common.h"24#include "mir_toolkit/common.h"
2425
@@ -36,7 +37,7 @@
36class PromptSessionCreationParameters;37class PromptSessionCreationParameters;
37class PromptSessionListener;38class PromptSessionListener;
3839
39class PromptSessionManagerImpl : public scene::PromptSessionManager40class MIR_INTERNAL PromptSessionManagerImpl : public scene::PromptSessionManager
40{41{
41public:42public:
42 explicit PromptSessionManagerImpl(43 explicit PromptSessionManagerImpl(
4344
=== modified file 'src/server/scene/session_container.h'
--- src/server/scene/session_container.h 2014-04-24 11:24:51 +0000
+++ src/server/scene/session_container.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_SCENE_SESSION_CONTAINER_H_19#ifndef MIR_SCENE_SESSION_CONTAINER_H_
20#define MIR_SCENE_SESSION_CONTAINER_H_20#define MIR_SCENE_SESSION_CONTAINER_H_
2121
22#include "mir/visibility.h"
22#include <vector>23#include <vector>
23#include <memory>24#include <memory>
24#include <mutex>25#include <mutex>
2526
=== modified file 'src/server/scene/session_event_handler_register.h'
--- src/server/scene/session_event_handler_register.h 2014-04-15 05:31:19 +0000
+++ src/server/scene/session_event_handler_register.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_SCENE_SESSION_EVENT_HANDLER_REGISTER_H_19#ifndef MIR_SCENE_SESSION_EVENT_HANDLER_REGISTER_H_
20#define MIR_SCENE_SESSION_EVENT_HANDLER_REGISTER_H_20#define MIR_SCENE_SESSION_EVENT_HANDLER_REGISTER_H_
2121
22#include "mir/visibility.h"
22#include <functional>23#include <functional>
23#include <memory>24#include <memory>
2425
@@ -28,7 +29,7 @@
28{29{
29class Session;30class Session;
3031
31class SessionEventHandlerRegister32class MIR_INTERNAL SessionEventHandlerRegister
32{33{
33public:34public:
34 virtual ~SessionEventHandlerRegister() = default;35 virtual ~SessionEventHandlerRegister() = default;
3536
=== modified file 'src/server/scene/session_manager.h'
--- src/server/scene/session_manager.h 2014-07-09 17:04:55 +0000
+++ src/server/scene/session_manager.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_SCENE_APPLICATION_MANAGER_H_19#ifndef MIR_SCENE_APPLICATION_MANAGER_H_
20#define MIR_SCENE_APPLICATION_MANAGER_H_20#define MIR_SCENE_APPLICATION_MANAGER_H_
2121
22#include "mir/visibility.h"
22#include "mir/scene/session_coordinator.h"23#include "mir/scene/session_coordinator.h"
2324
24#include <mutex>25#include <mutex>
@@ -43,7 +44,7 @@
43class PromptSessionManager;44class PromptSessionManager;
4445
4546
46class SessionManager : public SessionCoordinator47class MIR_INTERNAL SessionManager : public SessionCoordinator
47{48{
48public:49public:
49 explicit SessionManager(std::shared_ptr<SurfaceCoordinator> const& surface_coordinator,50 explicit SessionManager(std::shared_ptr<SurfaceCoordinator> const& surface_coordinator,
5051
=== modified file 'src/server/scene/snapshot_strategy.h'
--- src/server/scene/snapshot_strategy.h 2014-04-15 05:31:19 +0000
+++ src/server/scene/snapshot_strategy.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_SCENE_SNAPSHOT_STRATEGY_H_19#ifndef MIR_SCENE_SNAPSHOT_STRATEGY_H_
20#define MIR_SCENE_SNAPSHOT_STRATEGY_H_20#define MIR_SCENE_SNAPSHOT_STRATEGY_H_
2121
22#include "mir/visibility.h"
22#include "mir/scene/snapshot.h"23#include "mir/scene/snapshot.h"
2324
24#include <memory>25#include <memory>
@@ -29,7 +30,7 @@
29{30{
30class SurfaceBufferAccess;31class SurfaceBufferAccess;
3132
32class SnapshotStrategy33class MIR_INTERNAL SnapshotStrategy
33{34{
34public:35public:
35 virtual ~SnapshotStrategy() = default;36 virtual ~SnapshotStrategy() = default;
3637
=== modified file 'src/server/scene/surface_controller.h'
--- src/server/scene/surface_controller.h 2014-04-15 10:19:19 +0000
+++ src/server/scene/surface_controller.h 2014-07-18 06:57:43 +0000
@@ -20,6 +20,7 @@
20#ifndef MIR_SCENE_SURFACE_CONTROLLER_H_20#ifndef MIR_SCENE_SURFACE_CONTROLLER_H_
21#define MIR_SCENE_SURFACE_CONTROLLER_H_21#define MIR_SCENE_SURFACE_CONTROLLER_H_
2222
23#include "mir/visibility.h"
23#include "mir/scene/surface_coordinator.h"24#include "mir/scene/surface_coordinator.h"
2425
25namespace mir26namespace mir
@@ -31,7 +32,7 @@
31class SurfaceFactory;32class SurfaceFactory;
3233
33/// Will grow up to provide synchronization of model updates34/// Will grow up to provide synchronization of model updates
34class SurfaceController : public SurfaceCoordinator35class MIR_INTERNAL SurfaceController : public SurfaceCoordinator
35{36{
36public:37public:
37 SurfaceController(38 SurfaceController(
3839
=== modified file 'src/server/scene/surface_stack.h'
--- src/server/scene/surface_stack.h 2014-07-11 03:33:03 +0000
+++ src/server/scene/surface_stack.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,8 @@
19#ifndef MIR_SCENE_SURFACE_STACK_H_19#ifndef MIR_SCENE_SURFACE_STACK_H_
20#define MIR_SCENE_SURFACE_STACK_H_20#define MIR_SCENE_SURFACE_STACK_H_
2121
22#include "mir/visibility.h"
23
22#include "surface_stack_model.h"24#include "surface_stack_model.h"
2325
24#include "mir/compositor/scene.h"26#include "mir/compositor/scene.h"
@@ -45,7 +47,7 @@
45class SceneReport;47class SceneReport;
46class RenderingTracker;48class RenderingTracker;
4749
48class Observers : public Observer, BasicObservers<Observer>50class MIR_INTERNAL Observers : public Observer, BasicObservers<Observer>
49{51{
50public:52public:
51 // ms::Observer53 // ms::Observer
@@ -59,7 +61,7 @@
59 using BasicObservers<Observer>::remove;61 using BasicObservers<Observer>::remove;
60};62};
6163
62class SurfaceStack : public compositor::Scene, public input::InputTargets, public SurfaceStackModel64class MIR_INTERNAL SurfaceStack : public compositor::Scene, public input::InputTargets, public SurfaceStackModel
63{65{
64public:66public:
65 explicit SurfaceStack(67 explicit SurfaceStack(
6668
=== modified file 'src/server/scene/threaded_snapshot_strategy.h'
--- src/server/scene/threaded_snapshot_strategy.h 2014-04-15 05:31:19 +0000
+++ src/server/scene/threaded_snapshot_strategy.h 2014-07-18 06:57:43 +0000
@@ -32,7 +32,7 @@
32class PixelBuffer;32class PixelBuffer;
33class SnapshottingFunctor;33class SnapshottingFunctor;
3434
35class ThreadedSnapshotStrategy : public SnapshotStrategy35class MIR_INTERNAL ThreadedSnapshotStrategy : public SnapshotStrategy
36{36{
37public:37public:
38 ThreadedSnapshotStrategy(std::shared_ptr<PixelBuffer> const& pixels);38 ThreadedSnapshotStrategy(std::shared_ptr<PixelBuffer> const& pixels);
3939
=== modified file 'src/server/shell/consuming_placement_strategy.h'
--- src/server/shell/consuming_placement_strategy.h 2014-04-15 05:31:19 +0000
+++ src/server/shell/consuming_placement_strategy.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_SHELL_CONSUMING_PLACEMENT_STRATEGY_H_19#ifndef MIR_SHELL_CONSUMING_PLACEMENT_STRATEGY_H_
20#define MIR_SHELL_CONSUMING_PLACEMENT_STRATEGY_H_20#define MIR_SHELL_CONSUMING_PLACEMENT_STRATEGY_H_
2121
22#include "mir/visibility.h"
22#include "mir/scene/placement_strategy.h"23#include "mir/scene/placement_strategy.h"
2324
24#include <memory>25#include <memory>
@@ -29,7 +30,7 @@
29{30{
30class DisplayLayout;31class DisplayLayout;
3132
32class ConsumingPlacementStrategy : public scene::PlacementStrategy33class MIR_INTERNAL ConsumingPlacementStrategy : public scene::PlacementStrategy
33{34{
34public:35public:
35 explicit ConsumingPlacementStrategy(36 explicit ConsumingPlacementStrategy(
3637
=== modified file 'src/server/shell/default_focus_mechanism.h'
--- src/server/shell/default_focus_mechanism.h 2014-04-15 05:31:19 +0000
+++ src/server/shell/default_focus_mechanism.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_SHELL_SINGLE_VISIBILITY_FOCUS_MECHANISM_H_19#ifndef MIR_SHELL_SINGLE_VISIBILITY_FOCUS_MECHANISM_H_
20#define MIR_SHELL_SINGLE_VISIBILITY_FOCUS_MECHANISM_H_20#define MIR_SHELL_SINGLE_VISIBILITY_FOCUS_MECHANISM_H_
2121
22#include "mir/visibility.h"
22#include "mir/shell/focus_setter.h"23#include "mir/shell/focus_setter.h"
2324
24#include <memory>25#include <memory>
@@ -32,7 +33,7 @@
32{33{
33class InputTargeter;34class InputTargeter;
3435
35class DefaultFocusMechanism : public FocusSetter36class MIR_INTERNAL DefaultFocusMechanism : public FocusSetter
36{37{
37public:38public:
38 explicit DefaultFocusMechanism(std::shared_ptr<InputTargeter> const& input_targeter,39 explicit DefaultFocusMechanism(std::shared_ptr<InputTargeter> const& input_targeter,
3940
=== modified file 'src/server/shell/null_host_lifecycle_event_listener.h'
--- src/server/shell/null_host_lifecycle_event_listener.h 2014-07-14 12:06:02 +0000
+++ src/server/shell/null_host_lifecycle_event_listener.h 2014-07-18 06:57:43 +0000
@@ -19,6 +19,7 @@
19#ifndef MIR_NULL_HOST_LIFECYCLE_EVENT_LISTENER_H_19#ifndef MIR_NULL_HOST_LIFECYCLE_EVENT_LISTENER_H_
20#define MIR_NULL_HOST_LIFECYCLE_EVENT_LISTENER_H_20#define MIR_NULL_HOST_LIFECYCLE_EVENT_LISTENER_H_
2121
22#include "mir/visibility.h"
22#include "mir/shell/host_lifecycle_event_listener.h"23#include "mir/shell/host_lifecycle_event_listener.h"
2324
24namespace mir25namespace mir
@@ -26,7 +27,7 @@
26namespace shell27namespace shell
27{28{
2829
29class NullHostLifecycleEventListener : public HostLifecycleEventListener30class MIR_INTERNAL NullHostLifecycleEventListener : public HostLifecycleEventListener
30{31{
31public:32public:
32 virtual void lifecycle_event_occurred(MirLifecycleState /*state*/) override {}33 virtual void lifecycle_event_occurred(MirLifecycleState /*state*/) override {}
3334
=== modified file 'tests/CMakeLists.txt'
--- tests/CMakeLists.txt 2014-05-16 06:02:30 +0000
+++ tests/CMakeLists.txt 2014-07-18 06:57:43 +0000
@@ -6,6 +6,8 @@
6include_directories(${MIR_3RD_PARTY_INCLUDE_DIRECTORIES})6include_directories(${MIR_3RD_PARTY_INCLUDE_DIRECTORIES})
7include_directories(${MIR_ANDROID_INCLUDE_DIRECTORIES})7include_directories(${MIR_ANDROID_INCLUDE_DIRECTORIES})
88
9set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
10
9if ("${CMAKE_CXX_COMPILER}" MATCHES "clang")11if ("${CMAKE_CXX_COMPILER}" MATCHES "clang")
10 # Avoid clang complaints about poor quality gmock/gtest headers12 # Avoid clang complaints about poor quality gmock/gtest headers
11 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=null-dereference")13 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=null-dereference")
1214
=== modified file 'tests/acceptance-tests/CMakeLists.txt'
--- tests/acceptance-tests/CMakeLists.txt 2014-07-11 14:04:15 +0000
+++ tests/acceptance-tests/CMakeLists.txt 2014-07-18 06:57:43 +0000
@@ -61,7 +61,7 @@
61target_link_libraries(61target_link_libraries(
62 mir_acceptance_tests62 mir_acceptance_tests
6363
64 mirserver64 mirserver-static
65 mirclient65 mirclient
66 mirplatform66 mirplatform
6767
6868
=== modified file 'tests/integration-tests/CMakeLists.txt'
--- tests/integration-tests/CMakeLists.txt 2014-04-17 01:34:35 +0000
+++ tests/integration-tests/CMakeLists.txt 2014-07-18 06:57:43 +0000
@@ -53,7 +53,7 @@
53 mir-test-framework53 mir-test-framework
54 mir-test-doubles54 mir-test-doubles
5555
56 mirserver56 mirserver-static
57 mirplatformgraphics57 mirplatformgraphics
58 mirclient58 mirclient
59 mirdraw59 mirdraw
6060
=== modified file 'tests/unit-tests/CMakeLists.txt'
--- tests/unit-tests/CMakeLists.txt 2014-07-11 21:53:44 +0000
+++ tests/unit-tests/CMakeLists.txt 2014-07-18 06:57:43 +0000
@@ -44,7 +44,7 @@
44 mir_unit_tests44 mir_unit_tests
4545
46 mirclient46 mirclient
47 mirserver47 mirserver-static
48 mirplatformgraphics48 mirplatformgraphics
49 mirclientplatform49 mirclientplatform
50 mirdraw50 mirdraw

Subscribers

People subscribed via source and target branches