mirror of https://github.com/aseprite/aseprite.git
31 lines
575 B
C
31 lines
575 B
C
|
|
// Aseprite Document Library
|
||
|
|
// Copyright (c) 2014 David Capello
|
||
|
|
//
|
||
|
|
// This source file is distributed under the terms of the MIT license,
|
||
|
|
// please read LICENSE.txt for more information.
|
||
|
|
|
||
|
|
#ifndef DOC_OBJECT_H_INCLUDED
|
||
|
|
#define DOC_OBJECT_H_INCLUDED
|
||
|
|
|
||
|
|
#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
|