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