24
24
namespace mg = mir::graphics;
25
25
namespace mgn = mir::graphics::nested;
26
26
namespace mo = mir::options;
28
std::shared_ptr<mg::Platform> mg::create_nested_platform(std::shared_ptr<mo::Option> const& /*options*/, std::shared_ptr<mg::NativePlatform> const& /*native_platform*/)
30
BOOST_THROW_EXCEPTION(std::runtime_error("Mir method create_nested_platform is not implemented yet!"));
27
namespace mc = mir::compositor;
29
mgn::NestedPlatform::NestedPlatform(std::shared_ptr<mg::DisplayReport> const& display_report,
30
std::shared_ptr<mg::NativePlatform> const& native_platform) :
31
native_platform{native_platform},
32
display_report{display_report}
34
BOOST_THROW_EXCEPTION(std::runtime_error("Mir NestedPlatform constructor is not implemented yet!"));
37
std::shared_ptr<mc::GraphicBufferAllocator> mgn::NestedPlatform::create_buffer_allocator(
38
std::shared_ptr<mg::BufferInitializer> const& /*buffer_initializer*/)
40
BOOST_THROW_EXCEPTION(std::runtime_error("Mir mgn::NestedPlatform::create_buffer_allocator is not implemented yet!"));
44
std::shared_ptr<mg::Display> mgn::NestedPlatform::create_display(std::shared_ptr<mg::DisplayConfigurationPolicy> const& /*initial_conf_policy*/)
46
BOOST_THROW_EXCEPTION(std::runtime_error("Mir mgn::NestedPlatform::create_display is not implemented yet!"));
50
std::shared_ptr<mg::PlatformIPCPackage> mgn::NestedPlatform::get_ipc_package()
52
BOOST_THROW_EXCEPTION(std::runtime_error("Mir mgn::NestedPlatform::get_ipc_package is not implemented yet!"));
56
std::shared_ptr<mg::InternalClient> mgn::NestedPlatform::create_internal_client()
58
BOOST_THROW_EXCEPTION(std::runtime_error("Mir mgn::NestedPlatform::create_internal_client is not implemented yet!"));
63
void mgn::NestedPlatform::fill_ipc_package(std::shared_ptr<compositor::BufferIPCPacker> const& /*packer*/,
64
std::shared_ptr<Buffer> const& /*buffer*/) const
66
BOOST_THROW_EXCEPTION(std::runtime_error("Mir method mgn::NestedPlatform::fill_ipc_package is not implemented yet!"));