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_DOCUMENT_H_INCLUDED
8#define APP_CMD_WITH_DOCUMENT_H_INCLUDED
9#pragma once
10
11#include "doc/object_id.h"
12
13namespace app {
14class Doc;
15namespace cmd {
16
17 class WithDocument {
18 public:
19 WithDocument(Doc* doc);
20 Doc* document();
21
22 private:
23 doc::ObjectId m_docId;
24 };
25
26} // namespace cmd
27} // namespace app
28
29#endif
30