rem: Module module;
add: ModuleAddOn addon;
context: ModuleManager::_FindModules(BDirectory &dir, module_name_list *list){	BEntry entry;	while (dir.GetNextEntry(&entry) == B_OK) {		if (entry.IsFile()) {			Module module;			BPath path;			if (entry.GetPath(&path) == B_OK				&& module.Load(path.Path(), true, false) == B_OK) {				list->names.insert(module.Info()->name);			}		} else if (entry.IsDirectory()) {			BDirectory subdir;			if (subdir.SetTo(&entry) == B_OK)				_FindModules(subdir, list);		}	}}