Пример #1
0
 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
Пример #2
0
# The contents of this file are subject to the Mozilla Public License Version