2014-03-13 06:25:09 +08:00
|
|
|
// Aseprite Document Library
|
|
|
|
|
// Copyright (c) 2014 David Capello
|
|
|
|
|
//
|
2014-03-30 07:08:05 +08:00
|
|
|
// This file is released under the terms of the MIT license.
|
|
|
|
|
// Read LICENSE.txt for more information.
|
2014-03-13 06:25:09 +08:00
|
|
|
|
|
|
|
|
#ifndef DOC_OBJECT_H_INCLUDED
|
|
|
|
|
#define DOC_OBJECT_H_INCLUDED
|
2014-03-30 06:40:17 +08:00
|
|
|
#pragma once
|
2014-03-13 06:25:09 +08:00
|
|
|
|
|
|
|
|
#include "doc/object_id.h"
|
|
|
|
|
|
|
|
|
|
namespace doc {
|
|
|
|
|
|
|
|
|
|
class Object {
|
|
|
|
|
public:
|
|
|
|
|
Object();
|
|
|
|
|
|
|
|
|
|
const ObjectId id() const { return m_id; }
|
|
|
|
|
|
|
|
|
|
void setId(ObjectId id) { m_id = id; }
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
// Unique identifier for this object (it is assigned by
|
|
|
|
|
// Objects class).
|
|
|
|
|
ObjectId m_id;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace doc
|
|
|
|
|
|
|
|
|
|
#endif
|