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