#include "door.hpp" #include #include #include "../mwworld/ptr.hpp" namespace MWClass { std::string Door::getName (const MWWorld::Ptr& ptr) const { ESMS::LiveCellRef *ref = ptr.get(); return ref->base->name; } void Door::registerSelf() { boost::shared_ptr instance (new Door); registerClass (typeid (ESM::Door).name(), instance); } }