1 | // Aseprite |
2 | // Copyright (C) 2017 David Capello |
3 | // |
4 | // This program is distributed under the terms of |
5 | // the End-User License Agreement for Aseprite. |
6 | |
7 | #ifndef APP_CMD_WITH_SLICE_H_INCLUDED |
8 | #define APP_CMD_WITH_SLICE_H_INCLUDED |
9 | #pragma once |
10 | |
11 | #include "doc/object_id.h" |
12 | |
13 | namespace doc { |
14 | class Slice; |
15 | } |
16 | |
17 | namespace app { |
18 | namespace cmd { |
19 | using namespace doc; |
20 | |
21 | class WithSlice { |
22 | public: |
23 | WithSlice(Slice* slice); |
24 | Slice* slice(); |
25 | |
26 | private: |
27 | ObjectId m_sliceId; |
28 | }; |
29 | |
30 | } // namespace cmd |
31 | } // namespace app |
32 | |
33 | #endif |
34 | |