Lines Matching refs:iid
139 def __init__(self, instance, iid):
142 self._iid_ = iid
147 if iid != IID_nsISupports and iid not in ni:
152 if delegate_qi is None or not delegate_qi(iid):
158 def _QueryInterface_(self, com_object, iid):
161 if iid in self._nominated_interfaces_:
170 return xpcom.server.WrapObject(self._obj_, iid, bWrapClient = 0)
173 if iid == _xpcom.IID_nsIClassInfo:
185 return delegate(iid)
192 attr, cvt = _supports_primitives_map_.get(iid, (None,None))
194 return xpcom.server.WrapObject(SupportsPrimitive(iid, self._obj_, attr, cvt), iid, bWrapClient = 0)
198 def _MakeInterfaceParam_(self, interface, iid, method_index, mi, param_index):
201 if iid is None:
206 iid = self._interface_iid_map_.get( (method_index, param_index))
207 if iid is None:
208 iid = self._interface_info_.GetIIDForParam(method_index, param_index)
209 self._interface_iid_map_[(method_index, param_index)] = iid
211 if iid == IID_nsIVariant:
212 interface = interface.QueryInterface(iid)
246 return client.Component(interface, iid)
349 def __init__(self, iid, base_ob, attr_name, converter):
350 self.iid = iid
354 def _query_interface_(self, iid):
355 if iid == self.iid: