2 * Copyright (C) 2016 Simon Fels <morphis@gravedo.de>
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, as published
6 * by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranties of
10 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
11 * PURPOSE. See the GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License along
14 * with this program. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef ANBOX_PLATFORM_NULL_PLATFORM_H_
19 #define ANBOX_PLATFORM_NULL_PLATFORM_H_
21 #include "anbox/platform/base_platform.h"
25 class NullPlatform : public BasePlatform {
28 std::shared_ptr<wm::Window> create_window(
29 const anbox::wm::Task::Id &task,
30 const anbox::graphics::Rect &frame,
31 const std::string &title) override;
32 void set_clipboard_data(const ClipboardData &data) override;
33 ClipboardData get_clipboard_data() override;
34 std::shared_ptr<audio::Sink> create_audio_sink() override;
35 std::shared_ptr<audio::Source> create_audio_source() override;
36 void set_renderer(const std::shared_ptr<Renderer> &renderer) override;
37 void set_window_manager(const std::shared_ptr<wm::Manager> &window_manager) override;
38 bool supports_multi_window() const override;