mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-22 10:40:00 +08:00
8a2a9b0799
Fix all the diagnostics reported. Bug: https://github.com/ArthurSonzogni/FTXUI/issues/828
23 lines
812 B
C++
23 lines
812 B
C++
// 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.
|
|
#ifndef FTXUI_CAPTURED_MOUSE_HPP
|
|
#define FTXUI_CAPTURED_MOUSE_HPP
|
|
|
|
#include <memory>
|
|
|
|
namespace ftxui {
|
|
class CapturedMouseInterface {
|
|
public:
|
|
CapturedMouseInterface() = default;
|
|
CapturedMouseInterface(const CapturedMouseInterface&) = default;
|
|
CapturedMouseInterface(CapturedMouseInterface&&) = delete;
|
|
CapturedMouseInterface& operator=(const CapturedMouseInterface&) = default;
|
|
CapturedMouseInterface& operator=(CapturedMouseInterface&&) = delete;
|
|
virtual ~CapturedMouseInterface() = default;
|
|
};
|
|
using CapturedMouse = std::unique_ptr<CapturedMouseInterface>;
|
|
} // namespace ftxui
|
|
|
|
#endif /* end of include guard: FTXUI_CAPTURED_MOUSE_HPP */
|