| 1 | // LAF OS Library |
|---|---|
| 2 | // Copyright (C) 2021 Igara Studio S.A. |
| 3 | // |
| 4 | // This file is released under the terms of the MIT license. |
| 5 | // Read LICENSE.txt for more information. |
| 6 | |
| 7 | #ifndef OS_CURSOR_H_INCLUDED |
| 8 | #define OS_CURSOR_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | #include "os/ref.h" |
| 12 | |
| 13 | namespace os { |
| 14 | class Cursor; |
| 15 | using CursorRef = Ref<Cursor>; |
| 16 | |
| 17 | class Cursor : public RefCount { |
| 18 | public: |
| 19 | virtual ~Cursor() { } |
| 20 | virtual void* nativeHandle() = 0; |
| 21 | }; |
| 22 | |
| 23 | } // namespace os |
| 24 | |
| 25 | #endif |
| 26 |