2 #include "resourcemanager.h"
10 manager->remove_resource(*this);
13 void Resource::set_manager(ResourceManager *m)
16 manager->remove_resource(*this);
20 manager->add_resource(*this);
21 manager_data = manager->get_data_for_resource(*this);
27 bool Resource::is_loaded() const
29 return manager ? manager->is_resource_loaded(*this) : true;