Allow the IID for services to not be specified, to better support flattening.
Not part of the build. git-svn-id: svn://10.0.0.236/trunk@100367 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user