spine-runtimes/spine-cpp/includes/spine/BaseAttachmentLoader.h
NathanSweet a1ad55f8a1 Documented memory ownership.
Clean up and minor improvements.
2013-03-15 01:41:24 +01:00

22 lines
400 B
C++

#ifndef SPINE_BASEATTACHMENTLOADER_H_
#define SPINE_BASEATTACHMENTLOADER_H_
namespace spine {
class Attachment;
enum AttachmentType {
region, regionSequence
};
class BaseAttachmentLoader {
public:
virtual ~BaseAttachmentLoader () {
}
virtual Attachment* newAttachment (AttachmentType type, const std::string &name) = 0;
};
} /* namespace spine */
#endif /* SPINE_BASEATTACHMENTLOADER_H_ */