~ci-train-bot/mir/mir-ubuntu-yakkety-2783

« back to all changes in this revision

Viewing changes to tests/include/mir/test/doubles/stub_host_connection.h

Publish new apis

- Renamed mir_surface_spec_add_render_surface() to mir_window_spec_add_render_surface()
- Deleted forgotten mir_surface_spec_set_cursor_name from symbols.map
- Renamed mir_surface_spec_set_cursor_render_surface() to mir_window_spec_set_cursor_render_surface()
- Fixed build failure I noticed in gbm_buffer.h (and included extension headers in c99 test)
- Fixed licensing on headers (GPL->LGPL)
- Included new APIs in mir_client_library.h
- Deprecated the RS API/types
- Left RS API in the original symbols.map stanza.
- Created a new stanza for the rest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
    {
111
111
        struct NullStream : graphics::nested::HostStream
112
112
        {
 
113
#pragma GCC diagnostic push
 
114
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
113
115
            MirRenderSurface* rs() const override { return nullptr; }
 
116
#pragma GCC diagnostic pop
114
117
            MirBufferStream* handle() const override { return nullptr; }
115
118
            EGLNativeWindowType egl_native_window() const override { return 0; }
116
119
        };
121
124
    {
122
125
        struct NullHostChain : graphics::nested::HostChain
123
126
        {
 
127
#pragma GCC diagnostic push
 
128
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
124
129
            MirRenderSurface* rs() const override { return nullptr; }
 
130
#pragma GCC diagnostic pop
125
131
            void submit_buffer(graphics::nested::NativeBuffer&) override {}
126
132
            MirPresentationChain* handle() override { return nullptr; }
127
133
            void set_submission_mode(graphics::nested::SubmissionMode) override {}