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