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