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