| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "core/exportable.h" |
| 7 | #include "core/item.h" |
| 8 | |
| 9 | class ISensor |
| 10 | : public Item |
| 11 | , public Exportable |
| 12 | { |
| 13 | public: |
| 14 | virtual void update() = 0; |
| 15 | |
| 16 | virtual ~ISensor() = default; |
| 17 | }; |