| 1 | // Aseprite |
| 2 | // Copyright (C) 2019 Igara Studio S.A. |
| 3 | // |
| 4 | // This program is distributed under the terms of |
| 5 | // the End-User License Agreement for Aseprite. |
| 6 | |
| 7 | #ifndef APP_CMD_WITH_TILESET_H_INCLUDED |
| 8 | #define APP_CMD_WITH_TILESET_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | #include "doc/object_id.h" |
| 12 | |
| 13 | namespace doc { |
| 14 | class Tileset; |
| 15 | } |
| 16 | |
| 17 | namespace app { |
| 18 | namespace cmd { |
| 19 | |
| 20 | class WithTileset { |
| 21 | public: |
| 22 | WithTileset(doc::Tileset* tileset); |
| 23 | doc::Tileset* tileset(); |
| 24 | |
| 25 | private: |
| 26 | doc::ObjectId m_tilesetId; |
| 27 | }; |
| 28 | |
| 29 | } // namespace cmd |
| 30 | } // namespace app |
| 31 | |
| 32 | #endif |
| 33 | |