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_IMAGE_H_INCLUDED |
8 | #define APP_CMD_WITH_IMAGE_H_INCLUDED |
9 | #pragma once |
10 | |
11 | #include "doc/object_id.h" |
12 | |
13 | namespace doc { |
14 | class Image; |
15 | } |
16 | |
17 | namespace app { |
18 | namespace cmd { |
19 | using namespace doc; |
20 | |
21 | class WithImage { |
22 | public: |
23 | WithImage(Image* image); |
24 | Image* image(); |
25 | |
26 | private: |
27 | ObjectId m_imageId; |
28 | }; |
29 | |
30 | } // namespace cmd |
31 | } // namespace app |
32 | |
33 | #endif |
34 | |