24ad341e22884f627b43516fb4b708a20d1f622c
[iec.git] / src / type3_AndroidCloud / anbox-master / src / anbox / platform / null / platform.h
1 /*
2  * Copyright (C) 2016 Simon Fels <morphis@gravedo.de>
3  *
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.
7  *
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.
12  *
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/>.
15  *
16  */
17
18 #ifndef ANBOX_PLATFORM_NULL_PLATFORM_H_
19 #define ANBOX_PLATFORM_NULL_PLATFORM_H_
20
21 #include "anbox/platform/base_platform.h"
22
23 namespace anbox {
24 namespace platform {
25 class NullPlatform : public BasePlatform {
26  public:
27   NullPlatform();
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;
39 };
40 }  // namespace wm
41 }  // namespace anbox
42
43 #endif