Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
xpcom.components Namespace Reference

Classes

class  _ComponentCollection
class  _Interface
class  _Interfaces
class  _Class
class  _Classes
class  _ShutdownObserver

Functions

def _get_good_iid

Variables

list StringTypes = [types.StringType, types.UnicodeType]
tuple manager = xpcom.client.Component(_xpcom.GetComponentManager(), _xpcom.IID_nsIComponentManager)
tuple registrar = xpcom.client.Component(_xpcom.GetComponentManager(), _xpcom.IID_nsIComponentRegistrar)
tuple interfaceInfoManager = _xpcom.XPTI_GetInterfaceInfoManager()
tuple serviceManager = _xpcom.GetServiceManager()
 Exception = xpcom.COMException
dictionary _constants_by_iid_map = {}
tuple interfaces = _Interfaces()
tuple classes = _Classes()
 ID = _xpcom.IID
tuple svc = _xpcom.GetServiceManager()
tuple _shutdownObserver = xpcom.server.WrapObject(_ShutdownObserver(), interfaces.nsIObserver)

Function Documentation

def xpcom.components._get_good_iid (   iid) [private]

Definition at line 47 of file components.py.

00047 
00048 def _get_good_iid(iid):
00049     if iid is None:
00050         iid = _xpcom.IID_nsISupports
00051     elif type(iid) in StringTypes and len(iid)>0 and iid[0] != "{":
00052         iid = getattr(interfaces, iid)
00053     return iid
00054 
# The "manager" object.

Here is the caller graph for this function:


Variable Documentation

Definition at line 109 of file components.py.

Definition at line 236 of file components.py.

Definition at line 214 of file components.py.

Definition at line 67 of file components.py.

xpcom.components.ID = _xpcom.IID

Definition at line 221 of file components.py.

Definition at line 61 of file components.py.

Definition at line 168 of file components.py.

tuple xpcom.components.manager = xpcom.client.Component(_xpcom.GetComponentManager(), _xpcom.IID_nsIComponentManager)

Definition at line 55 of file components.py.

tuple xpcom.components.registrar = xpcom.client.Component(_xpcom.GetComponentManager(), _xpcom.IID_nsIComponentRegistrar)

Definition at line 58 of file components.py.

tuple xpcom.components.serviceManager = _xpcom.GetServiceManager()

Definition at line 64 of file components.py.

list xpcom.components.StringTypes = [types.StringType, types.UnicodeType]

Definition at line 45 of file components.py.

tuple xpcom.components.svc = _xpcom.GetServiceManager()

Definition at line 232 of file components.py.