2
* Copyright © 2014 Canonical Ltd.
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License version 3,
6
* as published by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
* Authored by: Andreas Pokorny <andreas.pokorny@canonical.com>
19
#include "../lttng_report_factory.h"
21
#include "compositor_report.h"
22
#include "connector_report.h"
23
#include "display_report.h"
24
#include "input_report.h"
25
#include "message_processor_report.h"
26
#include "scene_report.h"
27
#include "session_mediator_report.h"
29
std::shared_ptr<mir::compositor::CompositorReport> mir::report::LttngReportFactory::create_compositor_report()
31
return std::make_shared<lttng::CompositorReport>();
34
std::shared_ptr<mir::graphics::DisplayReport> mir::report::LttngReportFactory::create_display_report()
36
return std::make_shared<lttng::DisplayReport>();
39
std::shared_ptr<mir::scene::SceneReport> mir::report::LttngReportFactory::create_scene_report()
41
return std::make_shared<lttng::SceneReport>();
44
std::shared_ptr<mir::frontend::ConnectorReport> mir::report::LttngReportFactory::create_connector_report()
46
return std::make_shared<lttng::ConnectorReport>();
49
std::shared_ptr<mir::frontend::SessionMediatorReport> mir::report::LttngReportFactory::create_session_mediator_report()
51
return std::make_shared<lttng::SessionMediatorReport>();
54
std::shared_ptr<mir::frontend::MessageProcessorReport> mir::report::LttngReportFactory::create_message_processor_report()
56
return std::make_shared<lttng::MessageProcessorReport>();
59
std::shared_ptr<mir::input::InputReport> mir::report::LttngReportFactory::create_input_report()
61
return std::make_shared<lttng::InputReport>();