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_REMOVE_TILESET_H_INCLUDED
8#define APP_CMD_REMOVE_TILESET_H_INCLUDED
9#pragma once
10
11#include "app/cmd/add_tileset.h"
12
13namespace app {
14namespace cmd {
15 using namespace doc;
16
17 class RemoveTileset : public AddTileset {
18 public:
19 RemoveTileset(Sprite* sprite,
20 const tileset_index si);
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