Allow the IID for services to not be specified, to better support flattening.

Not part of the build.
This commit is contained in:
markh@activestate.com
2001-08-05 08:24:43 +00:00
parent 9e0b4c72bd
commit 124d121762

View File

@@ -152,7 +152,7 @@ class _Class:
def createInstance(self, iid = None):
import xpcom.client
return xpcom.client.Component(self.contractid, _get_good_iid(iid))
def getService(self, iid):
def getService(self, iid = None):
return _xpcom.GetGlobalServiceManager().getService(self.contractid, _get_good_iid(iid))
class _Classes(_ComponentCollection):