def __init__(self, comps): # Build a map of classes we can provide factories for. c = self.components = {} for klass in comps: c[components.ID(klass._reg_clsid_)] = klass self.klassFactory = factory.Factory
# The contents of this file are subject to the Mozilla Public License Version