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