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