1 | // Aseprite |
2 | // Copyright (C) 2001-2015 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_CEL_H_INCLUDED |
8 | #define APP_CMD_WITH_CEL_H_INCLUDED |
9 | #pragma once |
10 | |
11 | #include "doc/object_id.h" |
12 | |
13 | namespace doc { |
14 | class Cel; |
15 | } |
16 | |
17 | namespace app { |
18 | namespace cmd { |
19 | using namespace doc; |
20 | |
21 | class WithCel { |
22 | public: |
23 | WithCel(Cel* cel); |
24 | Cel* cel(); |
25 | |
26 | private: |
27 | ObjectId m_celId; |
28 | }; |
29 | |
30 | } // namespace cmd |
31 | } // namespace app |
32 | |
33 | #endif |
34 | |