// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Platform module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_PLATFORM_CURSORCONTROLLER_HPP #define NAZARA_PLATFORM_CURSORCONTROLLER_HPP #include #include #include #include #include #include namespace Nz { class CursorController; using CursorControllerHandle = ObjectHandle; class CursorController : public HandledObject { public: CursorController() = default; CursorController(const CursorController&) = delete; CursorController(CursorController&&) noexcept = default; ~CursorController() = default; inline void UpdateCursor(const std::shared_ptr& cursor); CursorController& operator=(const CursorController&) = delete; CursorController& operator=(CursorController&&) noexcept = default; NazaraSignal(OnCursorUpdated, const CursorController* /*cursorController*/, const std::shared_ptr& /*cursor*/); }; } #include #endif // NAZARA_PLATFORM_CURSORCONTROLLER_HPP