2023-08-19 19:56:36 +08:00
|
|
|
// Copyright 2020 Arthur Sonzogni. All rights reserved.
|
|
|
|
// Use of this source code is governed by the MIT license that can be found in
|
|
|
|
// the LICENSE file.
|
2021-05-02 00:13:56 +08:00
|
|
|
#ifndef FTXUI_CAPTURED_MOUSE_HPP
|
|
|
|
#define FTXUI_CAPTURED_MOUSE_HPP
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
namespace ftxui {
|
|
|
|
class CapturedMouseInterface {
|
|
|
|
public:
|
2024-05-01 17:40:49 +08:00
|
|
|
CapturedMouseInterface() = default;
|
|
|
|
CapturedMouseInterface(const CapturedMouseInterface&) = default;
|
|
|
|
CapturedMouseInterface(CapturedMouseInterface&&) = delete;
|
|
|
|
CapturedMouseInterface& operator=(const CapturedMouseInterface&) = default;
|
|
|
|
CapturedMouseInterface& operator=(CapturedMouseInterface&&) = delete;
|
2021-07-17 18:02:08 +08:00
|
|
|
virtual ~CapturedMouseInterface() = default;
|
2021-05-02 00:13:56 +08:00
|
|
|
};
|
|
|
|
using CapturedMouse = std::unique_ptr<CapturedMouseInterface>;
|
|
|
|
} // namespace ftxui
|
|
|
|
|
|
|
|
#endif /* end of include guard: FTXUI_CAPTURED_MOUSE_HPP */
|