1 | // Aseprite |
2 | // Copyright (C) 2019 Igara Studio S.A. |
3 | // Copyright (C) 2001-2015 David Capello |
4 | // |
5 | // This program is distributed under the terms of |
6 | // the End-User License Agreement for Aseprite. |
7 | |
8 | #ifndef APP_CMD_REMOVE_TAG_H_INCLUDED |
9 | #define APP_CMD_REMOVE_TAG_H_INCLUDED |
10 | #pragma once |
11 | |
12 | #include "app/cmd/add_tag.h" |
13 | |
14 | namespace app { |
15 | namespace cmd { |
16 | using namespace doc; |
17 | |
18 | class RemoveTag : public AddTag { |
19 | public: |
20 | RemoveTag(Sprite* sprite, Tag* tag); |
21 | |
22 | protected: |
23 | void onExecute() override; |
24 | void onUndo() override; |
25 | void onRedo() override; |
26 | }; |
27 | |
28 | } // namespace cmd |
29 | } // namespace app |
30 | |
31 | #endif |
32 | |